37139b91e8
- update to 2.16: Too many changes to list, a full list of changes is available in the included LOGFILE. (boo#1146243). - Examples/tests are now packages in the ccx-examples package - Move docs to separate source package - Update patches: * Drop (not applied) ccx-2.8-no-local-compare.patch * Drop ccx-1.2-doc-Makefile.patch * ccx-2.8-build.patch -> ccx-2.16-build.patch, foo.patch * ccx-2.5-abaqus-shell-heat-transfer-elements-read.patch -> ccx-2.16-abaqus-shell-heat-transfer-elements-read.patch * ccx-2.8-spooles-dynamic.patch -> ccx-2.16-spooles-dynamic.patch OBS-URL: https://build.opensuse.org/request/show/751703 OBS-URL: https://build.opensuse.org/package/show/science/ccx?expand=0&rev=10
25 lines
703 B
Diff
25 lines
703 B
Diff
Index: ccx-2.12/CalculiX/ccx_2.12/src/Makefile
|
|
===================================================================
|
|
--- 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.16: $(OCCXMAIN) ccx_2.16.a $(LIBS)
|