minor
This commit is contained in:
parent
7e4e2c988a
commit
50e4b609c6
1 changed files with 4 additions and 1 deletions
|
@ -52,6 +52,7 @@ def install(self, spec, prefix):
|
|||
mpi_bin = spec['mpi'].prefix.bin
|
||||
options.extend(['-DTrilinos_ENABLE_ALL_PACKAGES:BOOL=ON',
|
||||
'-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON',
|
||||
'-DTrilinos_VERBOSE_CONFIGURE:BOOL=OFF',
|
||||
'-DTrilinos_ENABLE_TESTS:BOOL=OFF',
|
||||
'-DTrilinos_ENABLE_EXAMPLES:BOOL=OFF',
|
||||
'-DCMAKE_BUILD_TYPE:STRING=%s' % ('Debug' if '+debug' in spec else 'Release'),
|
||||
|
@ -145,7 +146,9 @@ def install(self, spec, prefix):
|
|||
])
|
||||
|
||||
if self.compiler.name == "clang":
|
||||
os.environ['CPPFLAGS']="-Qunused-arguments"
|
||||
options.extend([
|
||||
'-DCMAKE_EXE_LINKER_FLAGS:STRING=-Qunused-arguments'
|
||||
])
|
||||
|
||||
with working_dir('spack-build', create=True):
|
||||
cmake('..', *options)
|
||||
|
|
Loading…
Reference in a new issue