Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hdf5: Disable new float16 support for now. #23796

Merged
merged 1 commit into from
May 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions science/hdf5/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -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] .]

Expand Down Expand Up @@ -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 \
Expand All @@ -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
Expand Down