diff options
Diffstat (limited to 'devel/lace14')
-rw-r--r-- | devel/lace14/Makefile | 27 | ||||
-rw-r--r-- | devel/lace14/distinfo | 3 | ||||
-rw-r--r-- | devel/lace14/files/patch-CMakeLists.txt | 34 | ||||
-rw-r--r-- | devel/lace14/pkg-descr | 2 | ||||
-rw-r--r-- | devel/lace14/pkg-plist | 11 |
5 files changed, 77 insertions, 0 deletions
diff --git a/devel/lace14/Makefile b/devel/lace14/Makefile new file mode 100644 index 000000000000..96bd086947f6 --- /dev/null +++ b/devel/lace14/Makefile @@ -0,0 +1,27 @@ +PORTNAME= lace +DISTVERSIONPREFIX= v +DISTVERSION= 1.5.1 +CATEGORIES= devel +PKGNAMESUFFIX= 14-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 + +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 <bsd.port.mk> diff --git a/devel/lace14/distinfo b/devel/lace14/distinfo new file mode 100644 index 000000000000..e43dcc9039a8 --- /dev/null +++ b/devel/lace14/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1754657253 +SHA256 (trolando-lace-v1.5.1_GH0.tar.gz) = 9aea38c98a059e0ddfb36df09683ea39cf55a66b4da16000532684c28d5fd6d8 +SIZE (trolando-lace-v1.5.1_GH0.tar.gz) = 155792 diff --git a/devel/lace14/files/patch-CMakeLists.txt b/devel/lace14/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..0df89b0ef40c --- /dev/null +++ b/devel/lace14/files/patch-CMakeLists.txt @@ -0,0 +1,34 @@ +--- 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 + $<$<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>> diff --git a/devel/lace14/pkg-descr b/devel/lace14/pkg-descr new file mode 100644 index 000000000000..b0efdd64bc2b --- /dev/null +++ b/devel/lace14/pkg-descr @@ -0,0 +1,2 @@ +Lace is a C framework for fine-grained fork-join parallelism intended for +scientific computations on multi-core computers. diff --git a/devel/lace14/pkg-plist b/devel/lace14/pkg-plist new file mode 100644 index 000000000000..6b1ab64e5d57 --- /dev/null +++ b/devel/lace14/pkg-plist @@ -0,0 +1,11 @@ +include/lace.h +include/lace14.h +include/lace_config.h +lib/cmake/lace/lace-config-version.cmake +lib/cmake/lace/lace-config.cmake +lib/cmake/lace/lace-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/lace/lace-targets.cmake +lib/liblace.so +lib/liblace14.so +libdata/pkgconfig/lace.pc +libdata/pkgconfig/lace14.pc |