diff options
author | eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> | 2023-01-18 14:23:00 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 12:23:00 -0800 |
commit | e391edf2f59cb9e67bfded009ac3048674b70b45 (patch) | |
tree | cb1dccb88d57240211494be86edeb1e0e014a952 | |
parent | c9e85ada1542862a2c2919c2c30b63e9d43a0fe9 (diff) | |
download | spack-e391edf2f59cb9e67bfded009ac3048674b70b45.tar.gz spack-e391edf2f59cb9e67bfded009ac3048674b70b45.tar.bz2 spack-e391edf2f59cb9e67bfded009ac3048674b70b45.tar.xz spack-e391edf2f59cb9e67bfded009ac3048674b70b45.zip |
hdf5@1.8.21 %oneapi@2023.0.0: -Wno-error=int-conversion (#34983)
-rw-r--r-- | var/spack/repos/builtin/packages/hdf5/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py index 06b20aa07f..f01585e817 100644 --- a/var/spack/repos/builtin/packages/hdf5/package.py +++ b/var/spack/repos/builtin/packages/hdf5/package.py @@ -341,6 +341,8 @@ class Hdf5(CMakePackage): # More recent versions set CMAKE_POSITION_INDEPENDENT_CODE to # True and build with PIC flags. cmake_flags.append(self.compiler.cc_pic_flag) + if spec.satisfies("@1.8.21 %oneapi@2023.0.0"): + cmake_flags.append("-Wno-error=int-conversion") elif name == "cxxflags": if spec.satisfies("@:1.8.12+cxx~shared"): cmake_flags.append(self.compiler.cxx_pic_flag) |