conduit: remove no longer needed blueos logic (#38698)

This commit is contained in:
Chris White 2023-07-04 04:52:59 -07:00 committed by GitHub
parent b537fad37a
commit 32d0b5ca97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))