From d1837f98eba969fb8270d87466f0444803df4d8e Mon Sep 17 00:00:00 2001 From: "Eric A. Borisch" Date: Thu, 2 May 2024 15:49:23 -0500 Subject: [PATCH] hdf5: Disable new float16 support for now. --- science/hdf5/Portfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/science/hdf5/Portfile b/science/hdf5/Portfile index c5c65111f7fa5..e5f5c37e4a18b 100644 --- a/science/hdf5/Portfile +++ b/science/hdf5/Portfile @@ -9,7 +9,7 @@ PortGroup github 1.0 github.setup HDFGroup hdf5 1.14.4.2 hdf5_ set distversion 1.14.4-2 -revision 0 +revision 1 #set mainversion [lrange [split ${version} -] 0 0] #set shortversion [join [lrange [split ${mainversion} .] 0 1] .] @@ -70,6 +70,8 @@ compiler.c_standard 1999 # Avoid duplicate LC_RPATH's in dylibs, satisfy Xcode 15 linker. compilers.add_gcc_rpath_support no +# Disabling float16 for now: https://github.com/HDFGroup/hdf5/issues/4310, +# MacPorts #69861 # Use lib/hdf5 rather than hdf5/lib plugin directory configure.args \ --disable-cxx \ @@ -83,7 +85,8 @@ configure.args \ --enable-static \ --with-default-plugindir=${prefix}/lib/hdf5 \ --with-szlib=${prefix}/lib/libaec \ - --with-zlib=yes + --with-zlib=yes \ + --disable-nonstandard-feature-float16 # Actively checks how to get clang to warn on implicit functions with this. configure.checks.implicit_function_declaration.whitelist-append strchr