parent
5230730941
commit
4a50e35262
@ -164,12 +164,6 @@ class Conduit(CMakePackage):
|
||||
###################################
|
||||
phases = ['hostconfig', 'cmake', 'build', 'install']
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
if name in ('cflags', 'cxxflags', 'fflags'):
|
||||
# the package manages these flags in another way
|
||||
return (None, None, None)
|
||||
return (flags, None, None)
|
||||
|
||||
def setup_build_environment(self, env):
|
||||
env.set('CTEST_OUTPUT_ON_FAILURE', '1')
|
||||
|
||||
@ -354,6 +348,8 @@ def hostconfig(self, spec, prefix):
|
||||
if cxxflags:
|
||||
cfg.write(cmake_cache_entry("CMAKE_CXX_FLAGS", cxxflags))
|
||||
fflags = ' '.join(spec.compiler_flags['fflags'])
|
||||
if self.spec.satisfies('%cce'):
|
||||
fflags += " -ef"
|
||||
if fflags:
|
||||
cfg.write(cmake_cache_entry("CMAKE_Fortran_FLAGS", fflags))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user