From 397b0a230ec449766b33df2a44de7d13c687b165 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 24 Aug 2007 22:10:14 +0000 Subject: [PATCH] Serialize creation of static PETSc libs. git-svn-id: https://svn.dealii.org/trunk@15040 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lib/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deal.II/lib/Makefile b/deal.II/lib/Makefile index 46986b96a8..31b758e251 100644 --- a/deal.II/lib/Makefile +++ b/deal.II/lib/Makefile @@ -71,7 +71,11 @@ ifeq ($(enable-shared),yes) else - external-links-petsc: libpetscall.g$(static-lib-suffix) libpetscall$(static-lib-suffix) + # make static libraries. ensure that they are built one after the other because + # both create temporary files with the same name + external-links-petsc: + @$(MAKE) libpetscall.g$(static-lib-suffix) + @$(MAKE) libpetscall$(static-lib-suffix) # As I don't know how to merge archives, here's a workaround: Extract each of # the archives and append the object files to the libpetsc archive. Do the -- 2.39.5