diff --git a/devel/lace/Makefile b/devel/lace/Makefile index 6fccbcba1f8b..cd7b162a3520 100644 --- a/devel/lace/Makefile +++ b/devel/lace/Makefile @@ -1,29 +1,32 @@ PORTNAME= lace DISTVERSIONPREFIX= v DISTVERSION= 1.4.2 +PORTREVISION= 1 CATEGORIES= devel PKGNAMESUFFIX= -work-stealing MAINTAINER= yuri@FreeBSD.org COMMENT= Implementation of work-stealing in C WWW= https://github.com/trolando/lace +BROKEN_i386= compilation fails: static assertion failed due to requirement '(sizeof(struct _Task) % 64) == 0': Task size should be a multiple of LINE_SIZE + LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= compilation fails: static assertion failed due to requirement '(sizeof(struct _Task) % 64) == 0': Task size should be a multiple of LINE_SIZE USES= cmake:testing USE_GITHUB= yes GH_ACCOUNT= trolando CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= LACE_BUILD_TESTS CMAKE_TESTING_ON= LACE_BUILD_TESTS PORTSCOUT= limit:^.*[0-9]+\.[0-9]+\.[0-9]+$$ # prevent tags like mucocos_2014_ri # tests as of 1.4.2: 100% tests passed, 0 tests failed out of 2 .include diff --git a/devel/lace/files/patch-CMakeLists.txt b/devel/lace/files/patch-CMakeLists.txt index f573ad70588d..0df89b0ef40c 100644 --- a/devel/lace/files/patch-CMakeLists.txt +++ b/devel/lace/files/patch-CMakeLists.txt @@ -1,16 +1,34 @@ ---- CMakeLists.txt.orig 2025-03-28 04:04:41 UTC +--- CMakeLists.txt.orig 2023-11-18 14:52:47 UTC +++ CMakeLists.txt @@ -25,11 +25,11 @@ endif() endif() endif() -add_library(lace STATIC +add_library(lace ${CMAKE_CURRENT_SOURCE_DIR}/src/lace.c ${CMAKE_CURRENT_SOURCE_DIR}/src/lace.h ) -add_library(lace14 STATIC +add_library(lace14 ${CMAKE_CURRENT_SOURCE_DIR}/src/lace14.c ${CMAKE_CURRENT_SOURCE_DIR}/src/lace14.h ) +@@ -56,7 +56,7 @@ target_compile_options(lace PRIVATE + + target_compile_options(lace PRIVATE + $<$,$>: +- -pipe -march=native ++ -pipe + $<$:-O0 -Wall -Wextra -Wpedantic>> + $<$: + $<$:/Od /Wall /Zi>> +@@ -64,7 +64,7 @@ target_compile_options(lace14 PRIVATE + + target_compile_options(lace14 PRIVATE + $<$,$>: +- -pipe -march=native ++ -pipe + $<$:-O0 -Wall -Wextra -Wpedantic>> + $<$: + $<$:/Od /Wall /Zi>>