builds on OSX again (modulo CC wrappers are solved)
This commit is contained in:
parent
26a72619ae
commit
5172f09b9f
@ -113,15 +113,15 @@ def install(self, spec, prefix):
|
|||||||
# FIXME:
|
# FIXME:
|
||||||
# VerifyFortranC test of CMake does not contain -lgfortran and thus fails.
|
# VerifyFortranC test of CMake does not contain -lgfortran and thus fails.
|
||||||
# This could be GCC/CMake related, but appears at least on OSX with Clang@7.0.2 and GNU Fortran@5.3.0
|
# This could be GCC/CMake related, but appears at least on OSX with Clang@7.0.2 and GNU Fortran@5.3.0
|
||||||
if sys.platform == 'darwin':
|
#if sys.platform == 'darwin':
|
||||||
options.extend([
|
# options.extend([
|
||||||
'-DTrilinos_SKIP_FORTRANCINTERFACE_VERIFY_TEST:BOOL=TRUE'
|
# '-DTrilinos_SKIP_FORTRANCINTERFACE_VERIFY_TEST:BOOL=TRUE'
|
||||||
])
|
# ])
|
||||||
|
|
||||||
# for build-debug only:
|
# for build-debug only:
|
||||||
options.extend([
|
#options.extend([
|
||||||
'-DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE'
|
# '-DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE'
|
||||||
])
|
#])
|
||||||
|
|
||||||
# suite-sparse related
|
# suite-sparse related
|
||||||
if '+suite-sparse' in spec:
|
if '+suite-sparse' in spec:
|
||||||
@ -194,6 +194,11 @@ def install(self, spec, prefix):
|
|||||||
'-DTrilinos_ENABLE_Pike=OFF',
|
'-DTrilinos_ENABLE_Pike=OFF',
|
||||||
'-DTrilinos_ENABLE_STK=OFF'
|
'-DTrilinos_ENABLE_STK=OFF'
|
||||||
])
|
])
|
||||||
|
if sys.platform == 'darwin':
|
||||||
|
options.extend([
|
||||||
|
'-DTrilinos_ENABLE_FEI=OFF'
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
with working_dir('spack-build', create=True):
|
with working_dir('spack-build', create=True):
|
||||||
cmake('..', *options)
|
cmake('..', *options)
|
||||||
|
Loading…
Reference in New Issue
Block a user