diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2019-12-22 00:55:53 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2019-12-22 00:55:53 +0000 |
commit | c4081f1fe7793f6acadf53a376a2f999f63911cc (patch) | |
tree | 69fa33540161553f26317750fe8718b927c8579f /math/csdp/files | |
parent | - Update to 8.0.9 (diff) |
New port: math/csdp: Solver for semidefinite programming problems
Notes
Notes:
svn path=/head/; revision=520600
Diffstat (limited to 'math/csdp/files')
-rw-r--r-- | math/csdp/files/patch-Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/math/csdp/files/patch-Makefile b/math/csdp/files/patch-Makefile new file mode 100644 index 000000000000..edb5223924a4 --- /dev/null +++ b/math/csdp/files/patch-Makefile @@ -0,0 +1,33 @@ +--- Makefile.orig 2017-07-25 18:44:57 UTC ++++ Makefile +@@ -11,11 +11,11 @@ + # + # CFLAGS settings for 64 bit Linux/unix systems. + # +-export CFLAGS=-m64 -march=native -mtune=native -Ofast -fopenmp -ansi -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include ++CFLAGS=$(FREEBSD_CFLAGS) -fopenmp -ansi -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include + # + # LIBS settings for 64 bit Linux/unix systems. + # +-export LIBS=-static -L../lib -lsdp -llapack -lblas -lm ++LIBS=$(FREEBSD_LIBS) -L../lib -lsdp -llapack -lblas -lm + # + # + # On most systems, this should handle everything. +@@ -38,11 +38,11 @@ unitTest: + # + + install: +- cp -f solver/csdp /usr/local/bin +- cp -f theta/theta /usr/local/bin +- cp -f theta/graphtoprob /usr/local/bin +- cp -f theta/complement /usr/local/bin +- cp -f theta/rand_graph /usr/local/bin ++ cp -f solver/csdp $(DESTDIR)$(PREFIX)/bin ++ cp -f theta/theta $(DESTDIR)$(PREFIX)/bin ++ cp -f theta/graphtoprob $(DESTDIR)$(PREFIX)/bin ++ cp -f theta/complement $(DESTDIR)$(PREFIX)/bin ++ cp -f theta/rand_graph $(DESTDIR)$(PREFIX)/bin + + # + # Clean out all of the directories. |