diff options
author | Rene Ladan <rene@FreeBSD.org> | 2020-01-01 11:46:08 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2020-01-01 11:46:08 +0000 |
commit | 12f974ad28b37b69ae565644784623a4a49b1d32 (patch) | |
tree | e1de30302164fba037edd51962e8f336730aa5ed /science/py-PyFR/files | |
parent | f2aea6bcb5e33f3312681450946471970022a977 (diff) |
Notes
Diffstat (limited to 'science/py-PyFR/files')
-rw-r--r-- | science/py-PyFR/files/patch-pyfr_backends_openmp_compiler.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/science/py-PyFR/files/patch-pyfr_backends_openmp_compiler.py b/science/py-PyFR/files/patch-pyfr_backends_openmp_compiler.py new file mode 100644 index 000000000000..f77a4b146f77 --- /dev/null +++ b/science/py-PyFR/files/patch-pyfr_backends_openmp_compiler.py @@ -0,0 +1,11 @@ +--- 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 |