diff options
author | Chris White <white238@llnl.gov> | 2021-07-09 09:20:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-09 09:20:54 -0700 |
commit | 4037a94d1e974d4f79a148a8ec44e9622e81ffdc (patch) | |
tree | 70bd178d64aaf79806f679aeb0e257ff5cf4b66e /lib | |
parent | b4e757dc35e1e1b0c19bf1feb93b95a61b76b888 (diff) | |
download | spack-4037a94d1e974d4f79a148a8ec44e9622e81ffdc.tar.gz spack-4037a94d1e974d4f79a148a8ec44e9622e81ffdc.tar.bz2 spack-4037a94d1e974d4f79a148a8ec44e9622e81ffdc.tar.xz spack-4037a94d1e974d4f79a148a8ec44e9622e81ffdc.zip |
Remove unnecessary compiler id override for XL (#24799)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_systems/cached_cmake.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/spack/spack/build_systems/cached_cmake.py b/lib/spack/spack/build_systems/cached_cmake.py index c143c824de..faaabb184f 100644 --- a/lib/spack/spack/build_systems/cached_cmake.py +++ b/lib/spack/spack/build_systems/cached_cmake.py @@ -108,21 +108,6 @@ class CachedCMakePackage(CMakePackage): if fflags: entries.append(cmake_cache_string("CMAKE_Fortran_FLAGS", fflags)) - # Override XL compiler family - familymsg = ("Override to proper compiler family for XL") - if "xlf" in (self.compiler.fc or ''): # noqa: F821 - entries.append(cmake_cache_string( - "CMAKE_Fortran_COMPILER_ID", "XL", - familymsg)) - if "xlc" in self.compiler.cc: # noqa: F821 - entries.append(cmake_cache_string( - "CMAKE_C_COMPILER_ID", "XL", - familymsg)) - if "xlC" in self.compiler.cxx: # noqa: F821 - entries.append(cmake_cache_string( - "CMAKE_CXX_COMPILER_ID", "XL", - familymsg)) - return entries def initconfig_mpi_entries(self): |