SHA256
1
0
forked from pool/ccx
ccx/ccx-2.16-build.patch
Stefan Brüns f0ec7d5218 Accepting request 874675 from home:StefanBruens:branches:science
- update to 2.17:
  Too many changes to list, a full list of changes is
  available in the included LOGFILE.
- Rebase patches, renamed ccx-2.16-spooles-dynamic.patch
  -> 0001-Fixup-spooles-include-dir.patch
- Add 0001-Add-missing-argument-for-inputerror-function-call.patch
- Add 0001-Use-interface-for-cubtri-callback-function.patch
- Enable check section

OBS-URL: https://build.opensuse.org/request/show/874675
OBS-URL: https://build.opensuse.org/package/show/science/ccx?expand=0&rev=11
2021-02-23 19:02:53 +00:00

34 lines
950 B
Diff

From 8a96d2e5de44a7ed1fcaa5b6c283aefe4b866cc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Thu, 12 Nov 2020 03:54:54 +0100
Subject: [PATCH] Fixup Makefile
---
src/Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/Makefile b/src/Makefile
index 97ce9d1..c785f62 100755
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,6 @@
-CFLAGS = -Wall -O2 -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT
-FFLAGS = -Wall -O2
+CFLAGS += -DARCH="Linux" -DUSE_MT -DSPOOLES -DARPACK -DMATRIXSTORAGE -Wno-unused
+FFLAGS += -Wno-unused
CC=cc
FC=gfortran
@@ -21,8 +21,8 @@ OCCXMAIN = $(SCCXMAIN:.c=.o)
DIR=../../../SPOOLES.2.2
LIBS = \
- $(DIR)/spooles.a \
- ../../../ARPACK/libarpack_INTEL.a \
+ -lspooles \
+ -larpack -llapack -lblas \
-lpthread -lm -lc
ccx_2.17: $(OCCXMAIN) ccx_2.17.a $(LIBS)