aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-SQNomad/files/patch-setup.py
blob: b053c7d06f67e7ffbd1760b4da61615fdbf4f98b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- setup.py.orig	2023-11-12 00:10:52 UTC
+++ setup.py
@@ -55,7 +55,7 @@ class my_build_extension(_build_ext):
         ext.extra_compile_args += ['-I'+os.path.join(numpy.__path__[0], 'core/include/numpy')]
 
         # force C++14
-        if 'linux' in sys.platform or 'darwin' in sys.platform:
+        if 'linux' in sys.platform or 'freebsd' in sys.platform or 'darwin' in sys.platform:
             ext.extra_compile_args += ['-std=c++14']
         elif 'win32' in sys.platform:
           # also define DLL_EXPORTS for sgtelib and NOMAD::Clock