Date: Sat, 9 Nov 2024 06:06:21 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 95c31f529135 - main - devel/stringzilla: update 3.10.6 =?utf-8?Q?=E2=86=92?= 3.10.8 Message-ID: <202411090606.4A966LEw057850@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=95c31f529135769b16a069f458fb2df1ba39bf3c commit 95c31f529135769b16a069f458fb2df1ba39bf3c Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-11-09 05:03:39 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-11-09 06:06:09 +0000 devel/stringzilla: update 3.10.6 → 3.10.8 --- devel/stringzilla/Makefile | 18 +++++++----------- devel/stringzilla/distinfo | 6 +++--- devel/stringzilla/files/patch-CMakeLists.txt | 17 +++++++++++++++++ devel/stringzilla/pkg-plist | 4 ++-- 4 files changed, 29 insertions(+), 16 deletions(-) diff --git a/devel/stringzilla/Makefile b/devel/stringzilla/Makefile index 5969fe551815..5c6bc366a25c 100644 --- a/devel/stringzilla/Makefile +++ b/devel/stringzilla/Makefile @@ -1,6 +1,6 @@ PORTNAME= stringzilla DISTVERSIONPREFIX= v -DISTVERSION= 3.10.6 +DISTVERSION= 3.10.8 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 -USES= cmake +USES= cmake:testing USE_LDCONFIG= yes USE_GITHUB= yes @@ -22,16 +22,12 @@ GH_ACCOUNT= ashvardanian GH_PROJECT= StringZilla CMAKE_ON= STRINGZILLA_INSTALL +CMAKE_OFF= STRINGZILLA_BUILD_TEST +CMAKE_TESTING_ON= STRINGZILLA_BUILD_TEST CMAKE_ARGS= -DSTRINGZILLA_INCLUDE_INSTALL_DIR=include -post-install: # https://github.com/ashvardanian/StringZilla/issues/188 - ${INSTALL_LIB} ${BUILD_WRKSRC}/libstringzilla_shared.so.3.10.6 ${STAGEDIR}${PREFIX}/lib - ${INSTALL_LIB} ${BUILD_WRKSRC}/libstringzillite.so.3.10.6 ${STAGEDIR}${PREFIX}/lib - @cd ${STAGEDIR}${PREFIX}/lib && \ - ${LN} -s libstringzilla_shared.so.3.10.6 libstringzilla_shared.so.1 && \ - ${LN} -s libstringzilla_shared.so.1 libstringzilla_shared.so - @cd ${STAGEDIR}${PREFIX}/lib && \ - ${LN} -s libstringzillite.so.3.10.6 libstringzillite.so.1 && \ - ${LN} -s libstringzillite.so.1 libstringzillite.so +post-install: + # workaround for https://github.com/ashvardanian/StringZilla/issues/194 + @${RM} -r ${STAGEDIR}/usr/src .include <bsd.port.mk> diff --git a/devel/stringzilla/distinfo b/devel/stringzilla/distinfo index d8871fc38102..867510a71adb 100644 --- a/devel/stringzilla/distinfo +++ b/devel/stringzilla/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1730266009 -SHA256 (ashvardanian-StringZilla-v3.10.6_GH0.tar.gz) = 041d122d4defc79b0d007ceb136ac3c72c9eb8797b28487b446e9710bd836e78 -SIZE (ashvardanian-StringZilla-v3.10.6_GH0.tar.gz) = 255125 +TIMESTAMP = 1731127800 +SHA256 (ashvardanian-StringZilla-v3.10.8_GH0.tar.gz) = cafa29d22866e4c7242aee4a00efa41748c10d872c6eda3ae96ad118ccf63377 +SIZE (ashvardanian-StringZilla-v3.10.8_GH0.tar.gz) = 255260 diff --git a/devel/stringzilla/files/patch-CMakeLists.txt b/devel/stringzilla/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..435e93de13ca --- /dev/null +++ b/devel/stringzilla/files/patch-CMakeLists.txt @@ -0,0 +1,17 @@ +--- CMakeLists.txt.orig 2024-11-09 04:57:16 UTC ++++ CMakeLists.txt +@@ -137,14 +137,6 @@ function(set_compiler_flags target cpp_standard target + # > 4068 for "unknown pragmas". + # > 4146 for "unary minus operator applied to unsigned type, result still unsigned". + # We also specify /utf-8 to properly UTF-8 symbols in tests. +- target_compile_options( +- ${target} +- PRIVATE +- "$<$<CXX_COMPILER_ID:MSVC>:/Bt;/wd4068;/wd4146;/utf-8;/WX>" +- "$<$<CXX_COMPILER_ID:GNU>:-Wall;-Wextra;-pedantic;-Werror;-Wfatal-errors;-Wno-unknown-pragmas;-Wno-cast-function-type;-Wno-unused-function>" +- "$<$<CXX_COMPILER_ID:Clang>:-Wall;-Wextra;-pedantic;-Werror;-Wfatal-errors;-Wno-unknown-pragmas>" +- "$<$<CXX_COMPILER_ID:AppleClang>:-Wall;-Wextra;-pedantic;-Werror;-Wfatal-errors;-Wno-unknown-pragmas>" +- ) + + # Set optimization options for different compilers differently + target_compile_options( diff --git a/devel/stringzilla/pkg-plist b/devel/stringzilla/pkg-plist index 0a0a09fe14ef..37dc1279194a 100644 --- a/devel/stringzilla/pkg-plist +++ b/devel/stringzilla/pkg-plist @@ -4,7 +4,7 @@ include/stringzilla/stringzilla.h include/stringzilla/stringzilla.hpp lib/libstringzilla_shared.so lib/libstringzilla_shared.so.1 -lib/libstringzilla_shared.so.3.10.6 +lib/libstringzilla_shared.so.3.10.8 lib/libstringzillite.so lib/libstringzillite.so.1 -lib/libstringzillite.so.3.10.6 +lib/libstringzillite.so.3.10.8
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411090606.4A966LEw057850>