diff --git a/science/highfive/Makefile b/science/highfive/Makefile index 5fdfd006f074..154ad36cc7a1 100644 --- a/science/highfive/Makefile +++ b/science/highfive/Makefile @@ -1,35 +1,34 @@ PORTNAME= highfive DISTVERSIONPREFIX= v -DISTVERSION= 2.4.1 -PORTREVISION= 1 +DISTVERSION= 2.5.0 CATEGORIES= science devel MAINTAINER= yuri@FreeBSD.org COMMENT= Header-only C++ HDF5 interface WWW= https://github.com/BlueBrain/HighFive LICENSE= BSL LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libhdf5.so:science/hdf5 RUN_DEPENDS= ${LOCALBASE}/include/boost/multi_array.hpp:devel/boost-libs \ ${LOCALBASE}/include/xtensor/xtensor.hpp:math/xtensor TEST_DEPENDS= catch>0:devel/catch USES= cmake eigen:3,run USE_GITHUB= yes GH_ACCOUNT= BlueBrain GH_PROJECT= HighFive CMAKE_OFF= HIGHFIVE_USE_BOOST HIGHFIVE_UNIT_TESTS HIGHFIVE_EXAMPLES NO_BUILD= yes NO_ARCH= yes -do-test: +do-test: # one test fails, see https://github.com/BlueBrain/HighFive/issues/634 @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DHIGHFIVE_UNIT_TESTS:BOOL=ON -DHIGHFIVE_USE_BOOST=ON -DHIGHFIVE_USE_EIGEN:BOOL=ON -DHIGHFIVE_USE_XTENSOR=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include diff --git a/science/highfive/distinfo b/science/highfive/distinfo index 550c9f3c482d..4afadfb4fde8 100644 --- a/science/highfive/distinfo +++ b/science/highfive/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1652376532 -SHA256 (BlueBrain-HighFive-v2.4.1_GH0.tar.gz) = 6826471ef5c645ebf947d29574b302991525a8a8ff1ef687aba7311d9a0ea36f -SIZE (BlueBrain-HighFive-v2.4.1_GH0.tar.gz) = 146051 +TIMESTAMP = 1667543124 +SHA256 (BlueBrain-HighFive-v2.5.0_GH0.tar.gz) = 27f55596570df3cc8b878a1681a0d4ba0fe2e3da4a0ef8d436722990d77dc93a +SIZE (BlueBrain-HighFive-v2.5.0_GH0.tar.gz) = 505297 diff --git a/science/highfive/files/patch-CMake_HighFiveTargetDeps.cmake b/science/highfive/files/patch-CMake_HighFiveTargetDeps.cmake new file mode 100644 index 000000000000..307f9737c698 --- /dev/null +++ b/science/highfive/files/patch-CMake_HighFiveTargetDeps.cmake @@ -0,0 +1,13 @@ +- workaround for https://github.com/BlueBrain/HighFive/issues/633 + +--- CMake/HighFiveTargetDeps.cmake.orig 2022-11-04 06:45:25 UTC ++++ CMake/HighFiveTargetDeps.cmake +@@ -8,7 +8,7 @@ if(NOT TARGET libdeps) + + # HDF5 + if(NOT DEFINED HDF5_C_LIBRARIES) +- set(HDF5_NO_FIND_PACKAGE_CONFIG_FILE TRUE) # Consistency ++ #set(HDF5_NO_FIND_PACKAGE_CONFIG_FILE TRUE) # Consistency + set(HDF5_PREFER_PARALLEL ${HIGHFIVE_PARALLEL_HDF5}) + find_package(HDF5 REQUIRED) + endif() diff --git a/science/highfive/pkg-plist b/science/highfive/pkg-plist index 4adb61f21d6b..86aa2fd58abc 100644 --- a/science/highfive/pkg-plist +++ b/science/highfive/pkg-plist @@ -1,51 +1,50 @@ include/highfive/H5Attribute.hpp include/highfive/H5DataSet.hpp include/highfive/H5DataSpace.hpp include/highfive/H5DataType.hpp include/highfive/H5Easy.hpp include/highfive/H5Exception.hpp include/highfive/H5File.hpp include/highfive/H5FileDriver.hpp include/highfive/H5Group.hpp include/highfive/H5Object.hpp include/highfive/H5PropertyList.hpp include/highfive/H5Reference.hpp include/highfive/H5Selection.hpp include/highfive/H5Utility.hpp include/highfive/H5Version.hpp include/highfive/bits/H5Annotate_traits.hpp include/highfive/bits/H5Annotate_traits_misc.hpp include/highfive/bits/H5Attribute_misc.hpp -include/highfive/bits/H5ConverterEigen_misc.hpp include/highfive/bits/H5Converter_misc.hpp include/highfive/bits/H5DataSet_misc.hpp include/highfive/bits/H5DataType_misc.hpp include/highfive/bits/H5Dataspace_misc.hpp include/highfive/bits/H5Exception_misc.hpp include/highfive/bits/H5FileDriver_misc.hpp include/highfive/bits/H5File_misc.hpp include/highfive/bits/H5Iterables_misc.hpp include/highfive/bits/H5Node_traits.hpp include/highfive/bits/H5Node_traits_misc.hpp include/highfive/bits/H5Object_misc.hpp include/highfive/bits/H5Path_traits.hpp include/highfive/bits/H5Path_traits_misc.hpp include/highfive/bits/H5PropertyList_misc.hpp include/highfive/bits/H5ReadWrite_misc.hpp include/highfive/bits/H5Reference_misc.hpp include/highfive/bits/H5Selection_misc.hpp include/highfive/bits/H5Slice_traits.hpp include/highfive/bits/H5Slice_traits_misc.hpp include/highfive/bits/H5Utils.hpp include/highfive/bits/H5_definitions.hpp include/highfive/h5easy_bits/H5Easy_Eigen.hpp include/highfive/h5easy_bits/H5Easy_misc.hpp include/highfive/h5easy_bits/H5Easy_opencv.hpp include/highfive/h5easy_bits/H5Easy_public.hpp include/highfive/h5easy_bits/H5Easy_scalar.hpp include/highfive/h5easy_bits/H5Easy_vector.hpp include/highfive/h5easy_bits/H5Easy_xtensor.hpp share/HighFive/CMake/HighFiveConfig.cmake share/HighFive/CMake/HighFiveConfigVersion.cmake share/HighFive/CMake/HighFiveTargetDeps.cmake share/HighFive/CMake/HighFiveTargets.cmake