diff --git a/devel/lace/Makefile b/devel/lace/Makefile index 772b085c5419..4b72735fe1b1 100644 --- a/devel/lace/Makefile +++ b/devel/lace/Makefile @@ -1,37 +1,34 @@ PORTNAME= lace DISTVERSIONPREFIX= v -DISTVERSION= 2.2.2 +DISTVERSION= 2.2.3 CATEGORIES= devel PKGNAMESUFFIX= -work-stealing MAINTAINER= yuri@FreeBSD.org COMMENT= Implementation of work-stealing in C WWW= https://github.com/trolando/lace LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_armv7= compilation fails: error: static assertion failed due to requirement '(sizeof(struct _lace_task) % 64) == 0': lace_task size should be a multiple of LACE_CACHE_LINE_SIZE -BROKEN_i386= compilation fails: error: static assertion failed due to requirement '(sizeof(struct _lace_task) % 64) == 0': lace_task size should be a multiple of LACE_CACHE_LINE_SIZE - USES= cmake:testing USE_GITHUB= yes GH_ACCOUNT= trolando CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= LACE_BUILD_TESTS \ LACE_NATIVE_OPT CMAKE_TESTING_ON= LACE_BUILD_TESTS CFLAGS+= -fPIC PORTSCOUT= limit:^.*[0-9]+\.[0-9]+\.[0-9]+$$ # prevent tags like mucocos_2014_ri pre-configure: # see discussion in https://github.com/trolando/lace/issues/16 @${REINPLACE_CMD} -e 's,memory_order_[[:alnum:]_]*,memory_order_seq_cst,g' \ ${WRKSRC}/src/*.[ch] ${WRKSRC}/src/lace.sh # tests as of 2.2.2: 100% tests passed, 0 tests failed out of 3 .include diff --git a/devel/lace/distinfo b/devel/lace/distinfo index 348ca108a884..603d835fef0c 100644 --- a/devel/lace/distinfo +++ b/devel/lace/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1774371892 -SHA256 (trolando-lace-v2.2.2_GH0.tar.gz) = 73a4dcad8eb3145fae843b8eb766f7f84992292955272ea351c9ba53c128eb4c -SIZE (trolando-lace-v2.2.2_GH0.tar.gz) = 206306 +TIMESTAMP = 1774392122 +SHA256 (trolando-lace-v2.2.3_GH0.tar.gz) = 72fea4d61d333655ac02531b134800cf75888f3ed370d63b2e862e695cc32a6d +SIZE (trolando-lace-v2.2.3_GH0.tar.gz) = 206676 diff --git a/devel/lace/files/patch-CMakeLists.txt b/devel/lace/files/patch-CMakeLists.txt index 680572b933a0..a70f913e01fa 100644 --- a/devel/lace/files/patch-CMakeLists.txt +++ b/devel/lace/files/patch-CMakeLists.txt @@ -1,42 +1,11 @@ --- CMakeLists.txt.orig 2026-03-24 09:36:43 UTC +++ CMakeLists.txt @@ -95,7 +95,7 @@ foreach(_target lace lace32 lace128) set(_src ${CMAKE_CURRENT_SOURCE_DIR}/src/lace128.c ${CMAKE_CURRENT_SOURCE_DIR}/src/lace128.h) endif() - add_library(${_target} STATIC ${_src}) + add_library(${_target} ${_src}) add_library(lace::${_target} ALIAS ${_target}) target_compile_features(${_target} PUBLIC c_std_11) -@@ -115,7 +115,7 @@ foreach(_target lace lace32 lace128) - if(CMAKE_C_COMPILER_ID MATCHES "GNU") - target_compile_options(${_target} PRIVATE - -pipe -- -Wall -Wextra -Wpedantic -Werror -+ -Wall -Wextra -Wpedantic - -Wshadow # avoid potential shadowing bugs - -Wnull-dereference # warn when we could null dereference - -Wformat=2 # improve format string checking for logging -@@ -124,12 +124,11 @@ foreach(_target lace lace32 lace128) - -Wconversion # catch implicit narrowing conversions - -Wsign-conversion # catch implicit changes to signed/unsigned - $<$:-O0> -- $<$:-march=native> - ) - elseif(CMAKE_C_COMPILER_ID MATCHES "Clang") - target_compile_options(${_target} PRIVATE - -pipe -- -Wall -Wextra -Wpedantic -Werror -+ -Wall -Wextra -Wpedantic - -Wshadow # avoid potential shadowing bugs - -Wnull-dereference # warn when we could null dereference - -Wformat=2 # improve format string checking for logging -@@ -139,7 +138,6 @@ foreach(_target lace lace32 lace128) - -Wsign-conversion # catch implicit changes to signed/unsigned - -Watomic-implicit-seq-cst # ensure all atomic load/store are explicit - $<$:-O0> -- $<$:-march=native> - ) - elseif(MSVC) - target_compile_options(${_target} PUBLIC diff --git a/devel/lace/files/patch-benchmarks_CMakeLists.txt b/devel/lace/files/patch-benchmarks_CMakeLists.txt deleted file mode 100644 index 13c15d3a2ce7..000000000000 --- a/devel/lace/files/patch-benchmarks_CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ ---- benchmarks/CMakeLists.txt.orig 2026-03-06 23:32:42 UTC -+++ benchmarks/CMakeLists.txt -@@ -7,7 +7,6 @@ macro(set_compilation_settings NAME) - if(CMAKE_C_COMPILER_ID MATCHES "Clang|GNU") - target_compile_options(${NAME} PRIVATE - -pipe -Wall -Wextra -Wpedantic -Wno-deprecated -- $<$:-march=native> - ) - endif() -