diff --git a/math/spfft/Makefile b/math/spfft/Makefile index e475928de7d7..7bad4ac283f6 100644 --- a/math/spfft/Makefile +++ b/math/spfft/Makefile @@ -1,51 +1,59 @@ PORTNAME= spfft DISTVERSIONPREFIX= v -DISTVERSION= 1.0.6 -PORTREVISION= 2 +DISTVERSION= 1.1.0 CATEGORIES= math +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= c91e7ec9f420d477a8144dee2bc36cd8dde434c4.patch:-p1 # https://github.com/eth-cscs/SpFFT/pull/57 + MAINTAINER= yuri@FreeBSD.org COMMENT= Sparse 3D FFT library WWW= https://github.com/eth-cscs/SpFFT LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfftw3.so:math/fftw3 +TEST_DEPENDS= cli11>0:devel/cli11 \ + googletest>0:devel/googletest \ + nlohmann-json>0:devel/nlohmann-json USES= cmake:testing compiler:c++11-lang USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= eth-cscs GH_PROJECT= SpFFT CMAKE_TESTING_ON= SPFFT_BUILD_TESTS +CMAKE_TESTING_ARGS= -DSPFFT_BUNDLED_CLI11=OFF \ + -DSPFFT_BUNDLED_GOOGLETEST=OFF \ + -DSPFFT_BUNDLED_JSON=OFF CMAKE_TESTING_TARGET= ${ALL_TARGET} OPTIONS_DEFINE= FORTRAN OPENMP OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI OPTIONS_DEFAULT= FORTRAN MPICH OPENMP OPTIONS_SUB= yes FORTRAN_USES= fortran FORTRAN_CMAKE_BOOL= SPFFT_FORTRAN NOMPI_DESC= Build without parallel processing support NOMPI_CMAKE_ON= -DSPFFT_MPI=OFF MPICH_USES= mpi:mpich MPICH_CMAKE_ON= -DSPFFT_MPI=ON OPENMPI_USES= mpi:openmpi OPENMPI_CMAKE_ON= -DSPFFT_MPI=ON OPENMP_CMAKE_BOOL= SPFFT_OMP post-test: @cd ${BUILD_WRKSRC}/tests && \ ./run_local_tests && \ ./run_mpi_tests .include diff --git a/math/spfft/distinfo b/math/spfft/distinfo index d8a73a3d50d6..de07c982f6fd 100644 --- a/math/spfft/distinfo +++ b/math/spfft/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1661499073 -SHA256 (eth-cscs-SpFFT-v1.0.6_GH0.tar.gz) = d179ccdce65890587d0cbf72dc2e5ec0b200ffc56e723ed01a2f5063de6a8630 -SIZE (eth-cscs-SpFFT-v1.0.6_GH0.tar.gz) = 372347 +TIMESTAMP = 1711106034 +SHA256 (eth-cscs-SpFFT-v1.1.0_GH0.tar.gz) = d4673b3135aebfa1c440723226fe976d518ff881285b3d4787f1aa8210eac81e +SIZE (eth-cscs-SpFFT-v1.1.0_GH0.tar.gz) = 364222 +SHA256 (c91e7ec9f420d477a8144dee2bc36cd8dde434c4.patch) = ef24018e565693e805cccb56f36aa0ed2dc9a31b3d6bf26a5aaceeb5f15f253b +SIZE (c91e7ec9f420d477a8144dee2bc36cd8dde434c4.patch) = 1657 diff --git a/math/spfft/pkg-plist b/math/spfft/pkg-plist index e94027231b25..2bb8ab4fb313 100644 --- a/math/spfft/pkg-plist +++ b/math/spfft/pkg-plist @@ -1,39 +1,36 @@ include/spfft/config.h include/spfft/errors.h include/spfft/exceptions.hpp include/spfft/grid.h include/spfft/grid.hpp include/spfft/grid_float.h include/spfft/grid_float.hpp include/spfft/multi_transform.h include/spfft/multi_transform.hpp include/spfft/multi_transform_float.h include/spfft/multi_transform_float.hpp include/spfft/spfft.f90 include/spfft/spfft.h include/spfft/spfft.hpp %%FORTRAN%%include/spfft/spfft.mod include/spfft/spfft_export.h include/spfft/transform.h include/spfft/transform.hpp include/spfft/transform_float.h include/spfft/transform_float.hpp include/spfft/types.h lib/cmake/SpFFT/SpFFTConfig.cmake lib/cmake/SpFFT/SpFFTConfigVersion.cmake lib/cmake/SpFFT/SpFFTSharedConfig.cmake lib/cmake/SpFFT/SpFFTSharedConfigVersion.cmake lib/cmake/SpFFT/SpFFTSharedTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/SpFFT/SpFFTSharedTargets.cmake lib/cmake/SpFFT/SpFFTTargets.cmake lib/cmake/SpFFT/modules/FindARMPL.cmake lib/cmake/SpFFT/modules/FindFFTW.cmake lib/cmake/SpFFT/modules/FindFFTWF.cmake -lib/cmake/SpFFT/modules/FindHIP.cmake -lib/cmake/SpFFT/modules/FindHIP/run_hipcc.cmake -lib/cmake/SpFFT/modules/FindHIP/run_make2cmake.cmake lib/cmake/SpFFT/modules/FindMKLSequential.cmake lib/libspfft.so lib/libspfft.so.1 -lib/libspfft.so.1.0.6 +lib/libspfft.so.1.1.0 libdata/pkgconfig/SpFFT.pc