mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 00:01:52 -04:00
These ports will transition transparantly to openmp from base once FreeBSD 12.0 reaches end-of-life. Reported by: jbeich [1] [2] [1] https://lists.freebsd.org/pipermail/svn-ports-head/2019-May/210482.html [2] https://lists.freebsd.org/pipermail/svn-ports-head/2019-December/229648.html
11 lines
680 B
Python
11 lines
680 B
Python
--- pyfr/backends/openmp/compiler.py.orig 2018-03-19 21:34:24 UTC
|
|
+++ pyfr/backends/openmp/compiler.py
|
|
@@ -76,6 +76,8 @@ class SourceModule(object):
|
|
'-Ofast', # Optimise, incl. -ffast-math
|
|
'-march=native', # Use CPU-specific instructions
|
|
'-fopenmp', # Enable OpenMP support
|
|
+ '-I%%LOCALBASE%%/include', # Add the include directory
|
|
+ '-L%%LOCALBASE%%/lib', # Add the library directory
|
|
'-fPIC', # Generate position-independent code
|
|
'-o', libname, srcname, # Library and source file names
|
|
'-lm' # Link against libm
|