git: dd69e8cd4248 - main - devel/lace: Broken on i386; Remove -march=native
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Apr 2025 01:27:09 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=dd69e8cd4248d381ee924d0602a5034b6549c14a commit dd69e8cd4248d381ee924d0602a5034b6549c14a Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2025-04-27 19:51:44 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2025-04-28 01:27:06 +0000 devel/lace: Broken on i386; Remove -march=native Reported by: fallout --- devel/lace/Makefile | 3 +++ devel/lace/files/patch-CMakeLists.txt | 20 +++++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/devel/lace/Makefile b/devel/lace/Makefile index 6fccbcba1f8b..cd7b162a3520 100644 --- a/devel/lace/Makefile +++ b/devel/lace/Makefile @@ -1,6 +1,7 @@ PORTNAME= lace DISTVERSIONPREFIX= v DISTVERSION= 1.4.2 +PORTREVISION= 1 CATEGORIES= devel PKGNAMESUFFIX= -work-stealing @@ -8,6 +9,8 @@ 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 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,4 +1,4 @@ ---- 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() @@ -14,3 +14,21 @@ ${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 + $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:GNU>>: +- -pipe -march=native ++ -pipe + $<$<CONFIG:Debug>:-O0 -Wall -Wextra -Wpedantic>> + $<$<CXX_COMPILER_ID:MSVC>: + $<$<CONFIG:Debug>:/Od /Wall /Zi>> +@@ -64,7 +64,7 @@ target_compile_options(lace14 PRIVATE + + target_compile_options(lace14 PRIVATE + $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:GNU>>: +- -pipe -march=native ++ -pipe + $<$<CONFIG:Debug>:-O0 -Wall -Wextra -Wpedantic>> + $<$<CXX_COMPILER_ID:MSVC>: + $<$<CONFIG:Debug>:/Od /Wall /Zi>>