ccx/ccx-2.16-build.patch
Stefan Brüns e32fc955f9 Accepting request 1000689 from home:StefanBruens:branches:science
- update to 2.20:
  Too many changes to list, a full list of changes is available in
  available in the included LOGFILE.
- Drop upstream patches:
  * ccx-2.16-abaqus-shell-heat-transfer-elements-read.patch
  * 0001-Add-missing-argument-for-inputerror-function-call.patch
  * 0001-Fix-wrong-parameter-passed-to-us3_materialdata_me.patch
  * 0001-Fix-wrong-scalar-declaration-for-2x2-inverse-Jacobia.patch
  * 0001-Pass-rank-1-dummy-for-auxiliary-array-in-isortii.patch

OBS-URL: https://build.opensuse.org/request/show/1000689
OBS-URL: https://build.opensuse.org/package/show/science/ccx?expand=0&rev=15
2022-09-03 15:02:27 +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.20: $(OCCXMAIN) ccx_2.20.a $(LIBS)