mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
New port: devel/xtl-quant-stack: Template library that supports other quantstack projects
This commit is contained in:
parent
04a718bfd6
commit
2b57fdabb5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=476997
@ -6304,6 +6304,7 @@
|
||||
SUBDIR += xsd
|
||||
SUBDIR += xtensa-esp32-elf
|
||||
SUBDIR += xtl
|
||||
SUBDIR += xtl-quant-stack
|
||||
SUBDIR += xtoolchain-llvm-devel
|
||||
SUBDIR += xtoolchain-llvm40
|
||||
SUBDIR += xtoolchain-llvm50
|
||||
|
31
devel/xtl-quant-stack/Makefile
Normal file
31
devel/xtl-quant-stack/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= xtl
|
||||
DISTVERSION= 0.4.14
|
||||
CATEGORIES= devel
|
||||
PKGNAMESUFFIX= -quant-stack
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Template library that supports other quantstack projects
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json
|
||||
RUN_DEPENDS= nlohmann-json>0:devel/nlohmann-json
|
||||
TEST_DEPENDS= nlohmann-json>0:devel/nlohmann-json \
|
||||
googletest>0:devel/googletest
|
||||
|
||||
USES= cmake
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= QuantStack
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC}/test && \
|
||||
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Dxtl_DIR:STRING=${STAGEDIR}${PREFIX}/lib/cmake/xtl && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} xtest
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/xtl-quant-stack/distinfo
Normal file
3
devel/xtl-quant-stack/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1533935117
|
||||
SHA256 (QuantStack-xtl-0.4.14_GH0.tar.gz) = f32390060315a7a941d9601ea1f0200c723e21313bd034f36dd5aae52b7a58c8
|
||||
SIZE (QuantStack-xtl-0.4.14_GH0.tar.gz) = 88878
|
11
devel/xtl-quant-stack/files/patch-test_CMakeLists.txt
Normal file
11
devel/xtl-quant-stack/files/patch-test_CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
Temporary workaround suggested by the upstream.
|
||||
--- test/CMakeLists.txt.orig 2018-08-12 16:02:18 UTC
|
||||
+++ test/CMakeLists.txt
|
||||
@@ -12,6 +12,7 @@ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CM
|
||||
project(xtl-test)
|
||||
|
||||
find_package(xtl REQUIRED CONFIG)
|
||||
+ find_package(nlohmann_json QUIET)
|
||||
set(XTL_INCLUDE_DIR ${xtl_INCLUDE_DIRS})
|
||||
endif ()
|
||||
|
5
devel/xtl-quant-stack/pkg-descr
Normal file
5
devel/xtl-quant-stack/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Basic tools (containers, algorithms) used by other quantstack packages.
|
||||
|
||||
xtl is a header-only library.
|
||||
|
||||
WWW: https://github.com/QuantStack/xtl
|
25
devel/xtl-quant-stack/pkg-plist
Normal file
25
devel/xtl-quant-stack/pkg-plist
Normal file
@ -0,0 +1,25 @@
|
||||
include/xtl/xany.hpp
|
||||
include/xtl/xbase64.hpp
|
||||
include/xtl/xbasic_fixed_string.hpp
|
||||
include/xtl/xclosure.hpp
|
||||
include/xtl/xcomplex.hpp
|
||||
include/xtl/xcomplex_sequence.hpp
|
||||
include/xtl/xdynamic_bitset.hpp
|
||||
include/xtl/xfunctional.hpp
|
||||
include/xtl/xhash.hpp
|
||||
include/xtl/xhierarchy_generator.hpp
|
||||
include/xtl/xiterator_base.hpp
|
||||
include/xtl/xjson.hpp
|
||||
include/xtl/xmeta_utils.hpp
|
||||
include/xtl/xoptional.hpp
|
||||
include/xtl/xoptional_sequence.hpp
|
||||
include/xtl/xproxy_wrapper.hpp
|
||||
include/xtl/xsequence.hpp
|
||||
include/xtl/xtl_config.hpp
|
||||
include/xtl/xtype_traits.hpp
|
||||
include/xtl/xvariant.hpp
|
||||
include/xtl/xvariant_impl.hpp
|
||||
lib/cmake/xtl/xtlConfig.cmake
|
||||
lib/cmake/xtl/xtlConfigVersion.cmake
|
||||
lib/cmake/xtl/xtlTargets.cmake
|
||||
libdata/pkgconfig/xtl.pc
|
Loading…
Reference in New Issue
Block a user