message: Fix compiler checks that were mistakenly removed
diff: @@ -95,7 +95,9 @@ class Axom(CachedCMakePackage, CudaPackage):
  depends_on("conduit~hdf5", when="~hdf5")
  # HDF5 needs to be the same as Conduit's
  - depends_on("hdf5@1.8.19:1.8.999~cxx~fortran", when="+hdf5")
  + # FIXME: remove these hardcoded variants when we move to the new concretizer
  + # DO NOT PUSH UP TO SPACK PROPER
  + depends_on("hdf5@1.8.19:1.8.999~shared~cxx~fortran", when="+hdf5")
  depends_on("lua", when="+lua")
  @@ -246,6 +248,7 @@ class Axom(CachedCMakePackage, CudaPackage):
  not spec.satisfies('+cuda target=ppc64le:')
  ))
  + if (self.compiler.fc is not None) and ("xlf" in self.compiler.fc):
  # Grab lib directory for the current fortran compiler
  libdir = pjoin(os.path.dirname(
  os.path.dirname(self.compiler.fc)),
  @@ -265,8 +268,6 @@ class Axom(CachedCMakePackage, CudaPackage):
  "CMAKE_SHARED_LINKER_FLAGS",
  linker_flags, description))
  - if spec.satisfies('target=ppc64le:'):
  - if (self.compiler.fc is not None) and ("xlf" in self.compiler.fc):
  description = ("Converts C-style comments to Fortran style "
  "in preprocessed files")
  entries.append(cmake_cache_string(
  @@ -274,6 +275,7 @@ class Axom(CachedCMakePackage, CudaPackage):
  "-WF,-C! -qxlf2003=polymorphic",
  description))
  + if spec.satisfies('target=ppc64le:'):
  # Fix for working around CMake adding implicit link directories
  # returned by the BlueOS compilers to link executables with
  # non-system default stdlib
  @@ -284,7 +286,8 @@ class Axom(CachedCMakePackage, CudaPackage):
  "gcc/powerpc64le-unknown-linux-gnu/4.9.3")
  _link_dirs = "{0};{1}".format(_gcc_prefix, _gcc_prefix2)
  entries.append(cmake_cache_string(
  - "BLT_CMAKE_IMPLICIT_LINK_DIRECTORIES_EXCLUDE", _link_dirs))
  + "BLT_CMAKE_IMPLICIT_LINK_DIRECTORIES_EXCLUDE",
  + _link_dirs))
  return entries
  