Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Perkins
ducc
Commits
9caff429
Commit
9caff429
authored
May 10, 2020
by
Martin Reinecke
Browse files
no -ffast-math during linking
parent
1b51a9ec
Changes
5
Hide whitespace changes
Inline
Side-by-side
nifty_gridder/setup.py
View file @
9caff429
...
@@ -25,7 +25,7 @@ if sys.platform == 'darwin':
...
@@ -25,7 +25,7 @@ if sys.platform == 'darwin':
python_module_link_args
+=
[
'-bundle'
]
python_module_link_args
+=
[
'-bundle'
]
else
:
else
:
extra_compile_args
+=
[
'--std=c++17'
,
'-march=native'
,
'-O3'
,
'-ffast-math'
]
extra_compile_args
+=
[
'--std=c++17'
,
'-march=native'
,
'-O3'
,
'-ffast-math'
]
python_module_link_args
+=
[
'-march=native'
,
'-Wl,-rpath,$ORIGIN'
,
'-ffast-math'
]
python_module_link_args
+=
[
'-march=native'
,
'-Wl,-rpath,$ORIGIN'
]
# if you don't want debugging info, add "-s" to python_module_link_args
# if you don't want debugging info, add "-s" to python_module_link_args
...
...
pyHealpix/setup.py
View file @
9caff429
...
@@ -27,7 +27,7 @@ elif sys.platform == 'win32':
...
@@ -27,7 +27,7 @@ elif sys.platform == 'win32':
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
,
'/std:c++17'
]
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
,
'/std:c++17'
]
else
:
else
:
extra_compile_args
+=
[
'-Wfatal-errors'
,
'-Wfloat-conversion'
,
'-W'
,
'-Wall'
,
'-Wstrict-aliasing=2'
,
'-Wwrite-strings'
,
'-Wredundant-decls'
,
'-Woverloaded-virtual'
,
'-Wcast-qual'
,
'-Wcast-align'
,
'-Wpointer-arith'
]
extra_compile_args
+=
[
'-Wfatal-errors'
,
'-Wfloat-conversion'
,
'-W'
,
'-Wall'
,
'-Wstrict-aliasing=2'
,
'-Wwrite-strings'
,
'-Wredundant-decls'
,
'-Woverloaded-virtual'
,
'-Wcast-qual'
,
'-Wcast-align'
,
'-Wpointer-arith'
]
python_module_link_args
+=
[
'-march=native'
,
'-ffast-math'
,
'-Wl,-rpath,$ORIGIN'
]
python_module_link_args
+=
[
'-march=native'
,
'-Wl,-rpath,$ORIGIN'
]
# if you don't want debugging info, add "-s" to python_module_link_args
# if you don't want debugging info, add "-s" to python_module_link_args
...
...
pyinterpol_ng/setup.py
View file @
9caff429
...
@@ -27,7 +27,7 @@ elif sys.platform == 'win32':
...
@@ -27,7 +27,7 @@ elif sys.platform == 'win32':
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
,
'/std:c++17'
]
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
,
'/std:c++17'
]
else
:
else
:
extra_compile_args
+=
[
'-Wfatal-errors'
,
'-Wfloat-conversion'
,
'-W'
,
'-Wall'
,
'-Wstrict-aliasing=2'
,
'-Wwrite-strings'
,
'-Wredundant-decls'
,
'-Woverloaded-virtual'
,
'-Wcast-qual'
,
'-Wcast-align'
,
'-Wpointer-arith'
]
extra_compile_args
+=
[
'-Wfatal-errors'
,
'-Wfloat-conversion'
,
'-W'
,
'-Wall'
,
'-Wstrict-aliasing=2'
,
'-Wwrite-strings'
,
'-Wredundant-decls'
,
'-Woverloaded-virtual'
,
'-Wcast-qual'
,
'-Wcast-align'
,
'-Wpointer-arith'
]
python_module_link_args
+=
[
'-march=native'
,
'-ffast-math'
,
'-Wl,-rpath,$ORIGIN'
]
python_module_link_args
+=
[
'-march=native'
,
'-Wl,-rpath,$ORIGIN'
]
# if you don't want debugging info, add "-s" to python_module_link_args
# if you don't want debugging info, add "-s" to python_module_link_args
...
...
pypocketfft/setup.py
View file @
9caff429
...
@@ -28,7 +28,7 @@ elif sys.platform == 'win32':
...
@@ -28,7 +28,7 @@ elif sys.platform == 'win32':
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
,
'/std:c++17'
]
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
,
'/std:c++17'
]
else
:
else
:
extra_compile_args
+=
[
'-Wfatal-errors'
,
'-Wfloat-conversion'
,
'-Wsign-conversion'
,
'-Wconversion'
,
'-W'
,
'-Wall'
,
'-Wstrict-aliasing=2'
,
'-Wwrite-strings'
,
'-Wredundant-decls'
,
'-Woverloaded-virtual'
,
'-Wcast-qual'
,
'-Wcast-align'
,
'-Wpointer-arith'
]
extra_compile_args
+=
[
'-Wfatal-errors'
,
'-Wfloat-conversion'
,
'-Wsign-conversion'
,
'-Wconversion'
,
'-W'
,
'-Wall'
,
'-Wstrict-aliasing=2'
,
'-Wwrite-strings'
,
'-Wredundant-decls'
,
'-Woverloaded-virtual'
,
'-Wcast-qual'
,
'-Wcast-align'
,
'-Wpointer-arith'
]
python_module_link_args
+=
[
'-march=native'
,
'-ffast-math'
,
'-Wl,-rpath,$ORIGIN'
]
python_module_link_args
+=
[
'-Wl,-rpath,$ORIGIN'
]
# if you don't want debugging info, add "-s" to python_module_link_args
# if you don't want debugging info, add "-s" to python_module_link_args
...
...
pysharp/setup.py
View file @
9caff429
...
@@ -27,7 +27,7 @@ elif sys.platform == 'win32':
...
@@ -27,7 +27,7 @@ elif sys.platform == 'win32':
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
,
'/std:c++17'
]
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
,
'/std:c++17'
]
else
:
else
:
extra_compile_args
+=
[
'-Wfatal-errors'
,
'-Wfloat-conversion'
,
'-W'
,
'-Wall'
,
'-Wstrict-aliasing=2'
,
'-Wwrite-strings'
,
'-Wredundant-decls'
,
'-Woverloaded-virtual'
,
'-Wcast-qual'
,
'-Wcast-align'
,
'-Wpointer-arith'
]
extra_compile_args
+=
[
'-Wfatal-errors'
,
'-Wfloat-conversion'
,
'-W'
,
'-Wall'
,
'-Wstrict-aliasing=2'
,
'-Wwrite-strings'
,
'-Wredundant-decls'
,
'-Woverloaded-virtual'
,
'-Wcast-qual'
,
'-Wcast-align'
,
'-Wpointer-arith'
]
python_module_link_args
+=
[
'-march=native'
,
'-ffast-math'
,
'-Wl,-rpath,$ORIGIN'
]
python_module_link_args
+=
[
'-march=native'
,
'-Wl,-rpath,$ORIGIN'
]
# if you don't want debugging info, add "-s" to python_module_link_args
# if you don't want debugging info, add "-s" to python_module_link_args
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment