diff --git a/math/clad/Makefile b/math/clad/Makefile index 018a2b30221d..d1bb69f19057 100644 --- a/math/clad/Makefile +++ b/math/clad/Makefile @@ -1,45 +1,45 @@ PORTNAME= clad DISTVERSIONPREFIX= v -DISTVERSION= 1.8 +DISTVERSION= 2.2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Automatic differentiation for C/C++ WWW= https://github.com/vgvassilev/clad LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/License.txt .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif TEST_DEPENDS= kokkos>0:devel/kokkos USES= cmake:testing llvm:16,build,run localbase USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= vgvassilev CMAKE_ARGS= -DClang_DIR=${LLVM_PREFIX}/lib/cmake/clang \ -DLLVM_DIR=${LLVM_PREFIX}/lib/cmake/llvm \ -DLLVM_EXTERNAL_LIT=${LLVM_PREFIX}/bin/llvm-lit CMAKE_ON= BUILD_SHARED_LIBS CMAKE_TESTING_ON= FREEBSD_BUILD_TESTS FREEBSD_BUILD_DEMOS CMAKE_TESTING_TARGET= check-clad #CXXFLAGS+= -D_OPENMP CXXFLAGS+= -fopenmp post-patch: @${REINPLACE_CMD} \ -e ' \ s|import lit|&${LLVM_VERSION}|; \ s|lit\.|lit${LLVM_VERSION}.| \ ' \ ${WRKSRC}/test/lit.cfg # tests fail to compile: https://github.com/vgvassilev/clad/issues/993, https://github.com/vgvassilev/clad/issues/1181 .include diff --git a/math/clad/distinfo b/math/clad/distinfo index 2bd181fecc5a..7090ea2705e5 100644 --- a/math/clad/distinfo +++ b/math/clad/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1734672509 -SHA256 (vgvassilev-clad-v1.8_GH0.tar.gz) = 1dcff3cab33417c8b8595e9bdb139a2cd1ec9c15eb013a275ab4e004c5b65812 -SIZE (vgvassilev-clad-v1.8_GH0.tar.gz) = 1240960 +TIMESTAMP = 1762232638 +SHA256 (vgvassilev-clad-v2.2_GH0.tar.gz) = 9bcfae0931849658443deecae4f13ff23e9b79de60632c318efa059f9fd2dc6d +SIZE (vgvassilev-clad-v2.2_GH0.tar.gz) = 1327715 diff --git a/math/clad/pkg-plist b/math/clad/pkg-plist index 18346c99cc0f..fe06b56e3445 100644 --- a/math/clad/pkg-plist +++ b/math/clad/pkg-plist @@ -1,41 +1,46 @@ include/clad/Differentiator/Array.h include/clad/Differentiator/ArrayExpression.h include/clad/Differentiator/ArrayRef.h include/clad/Differentiator/BaseForwardModeVisitor.h include/clad/Differentiator/BuiltinDerivatives.h include/clad/Differentiator/CladConfig.h include/clad/Differentiator/CladUtils.h include/clad/Differentiator/Compatibility.h include/clad/Differentiator/DerivativeBuilder.h include/clad/Differentiator/DerivedFnCollector.h include/clad/Differentiator/DerivedFnInfo.h include/clad/Differentiator/DiffMode.h include/clad/Differentiator/DiffPlanner.h include/clad/Differentiator/Differentiator.h include/clad/Differentiator/DynamicGraph.h include/clad/Differentiator/ErrorEstimator.h include/clad/Differentiator/EstimationModel.h include/clad/Differentiator/ExternalRMVSource.h include/clad/Differentiator/FunctionTraits.h include/clad/Differentiator/HessianModeVisitor.h include/clad/Differentiator/KokkosBuiltins.h include/clad/Differentiator/Matrix.h include/clad/Differentiator/MultiplexExternalRMVSource.h include/clad/Differentiator/NumericalDiff.h include/clad/Differentiator/ParseDiffArgsTypes.h include/clad/Differentiator/PushForwardModeVisitor.h +include/clad/Differentiator/RestoreTracker.h include/clad/Differentiator/ReverseModeForwPassVisitor.h include/clad/Differentiator/ReverseModeVisitor.h include/clad/Differentiator/ReverseModeVisitorDirectionKinds.h include/clad/Differentiator/STLBuiltins.h include/clad/Differentiator/Sins.h include/clad/Differentiator/StmtClone.h include/clad/Differentiator/Tape.h +include/clad/Differentiator/ThrustBuiltins.h +include/clad/Differentiator/ThrustDerivatives.h +include/clad/Differentiator/Timers.h include/clad/Differentiator/VectorForwardModeVisitor.h include/clad/Differentiator/VectorPushForwardModeVisitor.h include/clad/Differentiator/Version.h +include/clad/Differentiator/Version.inc include/clad/Differentiator/VisitorBase.h include/clad/tools/ClangBackendPlugin.h include/clad/tools/ClangPlugin.h lib/clad.so lib/cmake/clad/AddClad.cmake