git: e6f347954812 - main - math/clad: update 1.2 → 1.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Feb 2024 07:56:38 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e6f347954812fa66e2c42f826f0a312fb39c590f commit e6f347954812fa66e2c42f826f0a312fb39c590f Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-02-12 07:55:43 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-02-12 07:56:28 +0000 math/clad: update 1.2 → 1.3 Reported by: portscout --- math/clad/Makefile | 6 +++++- math/clad/distinfo | 6 +++--- math/clad/files/patch-CMakeLists.txt | 18 ++++++++---------- math/clad/pkg-plist | 6 +++++- 4 files changed, 21 insertions(+), 15 deletions(-) diff --git a/math/clad/Makefile b/math/clad/Makefile index 523b321ac885..c42ad7901ffc 100644 --- a/math/clad/Makefile +++ b/math/clad/Makefile @@ -1,6 +1,6 @@ PORTNAME= clad DISTVERSIONPREFIX= v -DISTVERSION= 1.2 +DISTVERSION= 1.3 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -10,6 +10,8 @@ WWW= https://github.com/vgvassilev/clad LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/License.txt +TEST_DEPENDS= kokkos>0:devel/kokkos + USES= cmake:testing compiler:c++14-lang llvm:15,build,run USE_LDCONFIG= yes @@ -31,4 +33,6 @@ post-patch: ' \ ${WRKSRC}/test/lit.cfg +# tests fail to compile: https://github.com/vgvassilev/clad/issues/753 + .include <bsd.port.mk> diff --git a/math/clad/distinfo b/math/clad/distinfo index b2b8e00aab64..feb48912508f 100644 --- a/math/clad/distinfo +++ b/math/clad/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1689756219 -SHA256 (vgvassilev-clad-v1.2_GH0.tar.gz) = 35dd72349553acfe7cd66938bdd097cf86c6dc3ac71b1379ec6d0908a4fae08f -SIZE (vgvassilev-clad-v1.2_GH0.tar.gz) = 918593 +TIMESTAMP = 1707720216 +SHA256 (vgvassilev-clad-v1.3_GH0.tar.gz) = 8a2dddef4339639e0e9cbe9ec89a0a2c57e98380e8c1072475d7f1a3551fba3a +SIZE (vgvassilev-clad-v1.3_GH0.tar.gz) = 961786 diff --git a/math/clad/files/patch-CMakeLists.txt b/math/clad/files/patch-CMakeLists.txt index 5bd87e30404d..de5157e27767 100644 --- a/math/clad/files/patch-CMakeLists.txt +++ b/math/clad/files/patch-CMakeLists.txt @@ -1,18 +1,16 @@ ---- CMakeLists.txt.orig 2023-07-19 08:50:39 UTC +--- CMakeLists.txt.orig 2024-02-11 18:10:50 UTC +++ CMakeLists.txt -@@ -299,9 +299,13 @@ if (CLAD_INCLUDE_DOCS) - endif() +@@ -313,10 +313,14 @@ if (NOT CLAD_BUILD_STATIC_ONLY) + # Filter some unsupported flags by clang. + string(REPLACE "-fno-lifetime-dse" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") - if (NOT CLAD_BUILD_STATIC_ONLY) -- add_subdirectory(test) -- add_subdirectory(demos/ErrorEstimation/CustomModel) -- add_subdirectory(demos/ErrorEstimation/PrintModel) + if (FREEBSD_BUILD_TESTS) -+ add_subdirectory(test) + add_subdirectory(unittests) + add_subdirectory(test) + endif() + if (FREEBSD_BUILD_DEMOS) -+ add_subdirectory(demos/ErrorEstimation/CustomModel) -+ add_subdirectory(demos/ErrorEstimation/PrintModel) + add_subdirectory(demos/ErrorEstimation/CustomModel) + add_subdirectory(demos/ErrorEstimation/PrintModel) + endif() # Add benchmarking infrastructure. diff --git a/math/clad/pkg-plist b/math/clad/pkg-plist index 1363f7b4609a..bdbe0e3a8b2f 100644 --- a/math/clad/pkg-plist +++ b/math/clad/pkg-plist @@ -1,4 +1,5 @@ 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 @@ -12,19 +13,22 @@ include/clad/Differentiator/Differentiator.h include/clad/Differentiator/ErrorEstimator.h include/clad/Differentiator/EstimationModel.h include/clad/Differentiator/ExternalRMVSource.h -include/clad/Differentiator/ForwardModeVisitor.h include/clad/Differentiator/FunctionTraits.h include/clad/Differentiator/HessianModeVisitor.h include/clad/Differentiator/JacobianModeVisitor.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/ReverseModeForwPassVisitor.h include/clad/Differentiator/ReverseModeVisitor.h include/clad/Differentiator/ReverseModeVisitorDirectionKinds.h include/clad/Differentiator/STLBuiltins.h include/clad/Differentiator/StmtClone.h include/clad/Differentiator/Tape.h include/clad/Differentiator/VectorForwardModeVisitor.h +include/clad/Differentiator/VectorPushForwardModeVisitor.h include/clad/Differentiator/Version.h include/clad/Differentiator/VisitorBase.h include/clad/tools/ClangBackendPlugin.h