mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
Added detection of the support for march=native (solve healpy building issue on old compilers)
This commit is contained in:
parent
537b7c1f43
commit
2b807e26bd
2 changed files with 4 additions and 0 deletions
3
external/python_build.cmake
vendored
3
external/python_build.cmake
vendored
|
@ -7,6 +7,9 @@ SET(ENV{PYTHONPATH} ${PYTHON_LOCAL_SITE_PACKAGE}:$ENV{PYTHONPATH})
|
|||
SET(ENV{CFITSIO_EXT_INC} ${CFITSIO_EXT_INC})
|
||||
SET(ENV{CFITSIO_EXT_LIB} ${CFITSIO_EXT_LIB})
|
||||
SET(ENV{CFITSIO_EXT_PREFIX} ${CFITSIO_EXT_PREFIX})
|
||||
IF (NOT SUPPORT_ARCH_NATIVE)
|
||||
SET(ENV{HEALPY_WITHOUT_NATIVE} 1)
|
||||
ENDIF(NOT SUPPORT_ARCH_NATIVE)
|
||||
|
||||
SET(PYTHON_BUILD_COMMAND ${PYTHON_EXECUTABLE} setup.py build)
|
||||
MESSAGE(STATUS "Running ${PYTHON_BUILD_COMMAND}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue