conduit: remove no longer needed blueos logic (#38698)
This commit is contained in:
parent
b537fad37a
commit
32d0b5ca97
1 changed files with 12 additions and 24 deletions
|
@ -410,19 +410,7 @@ def hostconfig(self):
|
|||
cfg.write(cmake_cache_entry("ENABLE_TESTS", "OFF"))
|
||||
|
||||
# extra fun for blueos
|
||||
if on_blueos:
|
||||
# All of BlueOS compilers report clang due to nvcc,
|
||||
# override to proper compiler family
|
||||
if "xlc" in c_compiler:
|
||||
cfg.write(cmake_cache_entry("CMAKE_C_COMPILER_ID", "XL"))
|
||||
if "xlC" in cpp_compiler:
|
||||
cfg.write(cmake_cache_entry("CMAKE_CXX_COMPILER_ID", "XL"))
|
||||
|
||||
if "+fortran" in spec:
|
||||
if "xlf" in f_compiler:
|
||||
cfg.write(cmake_cache_entry("CMAKE_Fortran_COMPILER_ID", "XL"))
|
||||
|
||||
if (f_compiler is not None) and ("xlf" in f_compiler):
|
||||
if on_blueos and "+fortran" in spec and (f_compiler is not None) and ("xlf" in f_compiler):
|
||||
# Fix missing std linker flag in xlc compiler
|
||||
flags = "-WF,-C! -qxlf2003=polymorphic"
|
||||
cfg.write(cmake_cache_entry("BLT_FORTRAN_FLAGS", flags))
|
||||
|
|
Loading…
Reference in a new issue