diff --git a/math/clblast/Makefile b/math/clblast/Makefile index a93745ba0b12..cfb56b27aeb6 100644 --- a/math/clblast/Makefile +++ b/math/clblast/Makefile @@ -1,30 +1,32 @@ PORTNAME= clblast -PORTVERSION= 1.6.3 +PORTVERSION= 1.7.0 CATEGORIES= math MAINTAINER= ports@FreeBSD.org COMMENT= Modern, lightweight, performant and tunable OpenCL BLAS library WWW= https://github.com/CNugteren/CLBlast LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= opencl>=0:devel/opencl LIB_DEPENDS= libOpenCL.so:devel/ocl-icd RUN_DEPENDS= opencl>=0:devel/opencl USE_GITHUB= yes GH_ACCOUNT= CNugteren GH_PROJECT= CLBlast USES= cmake USE_LDCONFIG= yes PLIST_SUB= VER=${PORTVERSION} +LDFLAGS+= -pthread + OPTIONS_DEFINE= TEST OPTIONS_SUB= yes TEST_CMAKE_BOOL= TESTS TEST_LIB_DEPENDS= libcblas.so:math/cblas \ libclBLAS.so:math/clblas .include diff --git a/math/clblast/distinfo b/math/clblast/distinfo index 9894346df93c..e19adaef270d 100644 --- a/math/clblast/distinfo +++ b/math/clblast/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1718481578 -SHA256 (CNugteren-CLBlast-1.6.3_GH0.tar.gz) = c05668c7461e8440fce48c9f7a8966a6f9e0923421acd7c0357ece9b1d83f20e -SIZE (CNugteren-CLBlast-1.6.3_GH0.tar.gz) = 464039 +TIMESTAMP = 1776162605 +SHA256 (CNugteren-CLBlast-1.7.0_GH0.tar.gz) = cac83330a6110214f2b7efc8e46062536f40ba96122f3b2a074a51497d8ca9e7 +SIZE (CNugteren-CLBlast-1.7.0_GH0.tar.gz) = 483936 diff --git a/math/clblast/files/patch-test_wrapper__clblas.hpp b/math/clblast/files/patch-test_wrapper__clblas.hpp new file mode 100644 index 000000000000..90e24930d8ba --- /dev/null +++ b/math/clblast/files/patch-test_wrapper__clblas.hpp @@ -0,0 +1,12 @@ +--- test/wrapper_clblas.hpp.orig 2026-03-30 17:50:42 UTC ++++ test/wrapper_clblas.hpp +@@ -16,6 +16,9 @@ + #include + + #include "clblast.h" ++// Patch from https://github.com/CNugteren/CLBlast/commit/eeff251463434753470bccc16f2879437c220808 ++#include "clblast_half.h" ++#include "test/test_utilities.hpp" + #include "utilities/backend.hpp" + #include "utilities/utilities.hpp" +