diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-05-22 00:10:44 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-05-22 00:10:44 +0000 |
commit | 6311239192f864a0803b3354687d8db8f015fbfe (patch) | |
tree | 61524465fb597c3fed2a505a3f5856d6111f40f3 /science | |
parent | 17cd2716cd27c7b8675f3acc7f6412b69a47ae5b (diff) | |
download | ports-6311239192f864a0803b3354687d8db8f015fbfe.tar.gz ports-6311239192f864a0803b3354687d8db8f015fbfe.zip |
science/tinker: don't set -march=native
Diffstat (limited to 'science')
-rw-r--r-- | science/tinker/Makefile | 1 | ||||
-rw-r--r-- | science/tinker/files/patch-make_Makefile | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/science/tinker/Makefile b/science/tinker/Makefile index 9f8fd995244e..e460802bcbe7 100644 --- a/science/tinker/Makefile +++ b/science/tinker/Makefile @@ -2,6 +2,7 @@ PORTNAME= tinker DISTVERSION= 8.10.2 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= https://dasher.wustl.edu/tinker/downloads/ diff --git a/science/tinker/files/patch-make_Makefile b/science/tinker/files/patch-make_Makefile index 6d1bf05440b7..8e315337a050 100644 --- a/science/tinker/files/patch-make_Makefile +++ b/science/tinker/files/patch-make_Makefile @@ -1,5 +1,14 @@ --- make/Makefile.orig 2022-01-13 23:40:10 UTC +++ make/Makefile +@@ -68,7 +68,7 @@ APBS_LIBS = -lapbsmainroutines -lapbs -lmaloc -lapbsbl + + F77 = gfortran + F77FLAGS = -c +-OPTFLAGS = -Ofast -march=native -fopenmp ++OPTFLAGS = -Ofast -fopenmp + #OPTFLAGS = -Ofast -msse3 -fopenmp + #OPTFLAGS = -Og -fbacktrace -fcheck=bounds -Wunused -Wmaybe-uninitialized + LIBDIR = -L. -L$(TINKER_LIBDIR)/linux -Wl,--no-as-needed -ldl @@ -803,136 +803,136 @@ listing: cat *.f *.c > tinker.txt |