hdf5: disable _Float16 support for aocc (#47123)

This commit is contained in:
AMD Toolchain Support 2024-10-25 02:14:09 +05:30 committed by GitHub
parent 5ac2b8a178
commit 65bb3a12ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -581,6 +581,10 @@ def cmake_args(self):
if spec.satisfies("@1.10.8,1.13.0"):
args.append(self.define("HDF5_INSTALL_CMAKE_DIR", "share/cmake/hdf5"))
# AOCC does not support _Float16
if spec.satisfies("@1.14.4: %aocc"):
args.append(self.define("HDF5_ENABLE_NONSTANDARD_FEATURE_FLOAT16", False))
return args
@run_after("install")