summaryrefslogtreecommitdiff
path: root/math/primme/files/patch-tests_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/primme/files/patch-tests_Makefile')
-rw-r--r--math/primme/files/patch-tests_Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/math/primme/files/patch-tests_Makefile b/math/primme/files/patch-tests_Makefile
index 63f39cf5312d..3cc3f1ce5cc6 100644
--- a/math/primme/files/patch-tests_Makefile
+++ b/math/primme/files/patch-tests_Makefile
@@ -1,11 +1,20 @@
---- tests/Makefile.orig 2018-10-08 19:10:07 UTC
+--- tests/Makefile.orig 2018-10-28 03:25:47 UTC
+++ tests/Makefile
@@ -9,7 +9,7 @@ include ../Link_flags
SOBJS= COMMON/shared_utils.o COMMON/ioandtest.o
COMMON_INCLUDE = -I./COMMON -I../include
override INCLUDE += $(COMMON_INCLUDE)
--LIBDIRS += -L../lib
-+LIBDIRS += ../lib/libprimme.so
+-LIBS := ../lib/libprimme.a $(LIBS)
++LIBS := ../lib/libprimme.so $(LIBS)
USE_NATIVE ?= yes
USE_PETSC ?= $(if $(findstring undefined,$(origin PETSC_DIR)),no,yes)
+@@ -89,7 +89,7 @@ all: drivers
+
+ drivers: primme_double primme_doublecomplex primmesvds_double primmesvds_doublecomplex
+
+-primme_double primme_doublecomplex primmesvds_double primmesvds_doublecomplex: ../lib/libprimme.a
++primme_double primme_doublecomplex primmesvds_double primmesvds_doublecomplex: ../lib/libprimme.so
+
+ ifeq ($(USE_MPI), yes)
+ MPIRUN ?= mpirun -np 4