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
Martin Reinecke
ducc
Commits
af0f935b
Commit
af0f935b
authored
Feb 15, 2020
by
Martin Reinecke
Browse files
fixes for compilation with MSVC by Maurizio Tomasi
parent
4251ce8f
Changes
4
Hide whitespace changes
Inline
Side-by-side
mr_util/simd.h
View file @
af0f935b
...
...
@@ -47,6 +47,8 @@
#include
<x86intrin.h>
#endif
#include
<algorithm>
namespace
mr
{
namespace
detail_simd
{
...
...
pyHealpix/setup.py
View file @
af0f935b
...
...
@@ -24,7 +24,7 @@ if sys.platform == 'darwin':
vars
=
distutils
.
sysconfig
.
get_config_vars
()
vars
[
'LDSHARED'
]
=
vars
[
'LDSHARED'
].
replace
(
'-bundle'
,
''
)
elif
sys
.
platform
==
'win32'
:
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
]
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
,
'/std:c++17'
]
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'
]
python_module_link_args
+=
[
'-march=native'
,
'-ffast-math'
,
'-Wl,-rpath,$ORIGIN'
]
...
...
pypocketfft/setup.py
View file @
af0f935b
...
...
@@ -25,7 +25,7 @@ if sys.platform == 'darwin':
vars
[
'LDSHARED'
]
=
vars
[
'LDSHARED'
].
replace
(
'-bundle'
,
''
)
elif
sys
.
platform
==
'win32'
:
define_macros
=
[]
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
]
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
,
'/std:c++17'
]
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'
]
python_module_link_args
+=
[
'-march=native'
,
'-ffast-math'
,
'-Wl,-rpath,$ORIGIN'
]
...
...
pysharp/setup.py
View file @
af0f935b
...
...
@@ -24,7 +24,7 @@ if sys.platform == 'darwin':
vars
=
distutils
.
sysconfig
.
get_config_vars
()
vars
[
'LDSHARED'
]
=
vars
[
'LDSHARED'
].
replace
(
'-bundle'
,
''
)
elif
sys
.
platform
==
'win32'
:
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
]
extra_compile_args
=
[
'/Ox'
,
'/EHsc'
,
'/std:c++17'
]
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'
]
python_module_link_args
+=
[
'-march=native'
,
'-ffast-math'
,
'-Wl,-rpath,$ORIGIN'
]
...
...
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