diff options
author | yuri <yuri@FreeBSD.org> | 2018-03-14 10:14:19 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2018-03-14 10:14:19 +0800 |
commit | ed11f128df4cea9dece81349e43ee4bdfc9c6c6b (patch) | |
tree | 2e9c44803d126a737a63b047187b457b76381046 /math | |
parent | 13719653288942f95a727367e92a5ccde4384bd9 (diff) | |
download | freebsd-ports-gnome-ed11f128df4cea9dece81349e43ee4bdfc9c6c6b.tar.gz freebsd-ports-gnome-ed11f128df4cea9dece81349e43ee4bdfc9c6c6b.tar.zst freebsd-ports-gnome-ed11f128df4cea9dece81349e43ee4bdfc9c6c6b.zip |
math/xtensor: Update to 0.15.5
Testcases all pass now.
Added ${MAKE_ENV}/${MAKE_ARGS}.
Diffstat (limited to 'math')
-rw-r--r-- | math/xtensor/Makefile | 8 | ||||
-rw-r--r-- | math/xtensor/distinfo | 6 | ||||
-rw-r--r-- | math/xtensor/files/patch-CMakeLists.txt | 9 | ||||
-rw-r--r-- | math/xtensor/files/patch-test_CMakeLists.txt | 18 |
4 files changed, 26 insertions, 15 deletions
diff --git a/math/xtensor/Makefile b/math/xtensor/Makefile index e0e00db06db1..2c51001a9710 100644 --- a/math/xtensor/Makefile +++ b/math/xtensor/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= xtensor -DISTVERSION= 0.15.4 +DISTVERSION= 0.15.5 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -22,11 +22,11 @@ NO_ARCH= yes post-install: cd ${WRKSRC}/xtl/include && ${COPYTREE_SHARE} xtl ${STAGEDIR}${PREFIX}/include -do-test: # 1 test is known to fail: https://github.com/QuantStack/xtensor/issues/674 +do-test: @${RLN} ${STAGEDIR}${PREFIX}/include ${WRKSRC}/test/staged-include @cd ${WRKSRC}/test && \ ${CMAKE_BIN} ${CMAKE_ARGS} . && \ - ${MAKE_CMD} && \ - ${MAKE_CMD} xtest + ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} && \ + ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} xtest .include <bsd.port.mk> diff --git a/math/xtensor/distinfo b/math/xtensor/distinfo index 456b7fd642ed..74e77f9c105f 100644 --- a/math/xtensor/distinfo +++ b/math/xtensor/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1520842745 -SHA256 (QuantStack-xtensor-0.15.4_GH0.tar.gz) = 1383d34d79c4c579d577a502b145b458f74e1d76749d31a893beec5c6799098c -SIZE (QuantStack-xtensor-0.15.4_GH0.tar.gz) = 702792 +TIMESTAMP = 1520992858 +SHA256 (QuantStack-xtensor-0.15.5_GH0.tar.gz) = 1618ed8d6a4627323408115a9d85ad91390bb7fc1ee2299da84f28f9786214cf +SIZE (QuantStack-xtensor-0.15.5_GH0.tar.gz) = 706459 SHA256 (QuantStack-xtl-0.4.4_GH0.tar.gz) = 2e24ae1e990b36c21134ee8b2017e4d8f1aa760ba0e62e57c9de8f6339052f7f SIZE (QuantStack-xtl-0.4.4_GH0.tar.gz) = 80592 diff --git a/math/xtensor/files/patch-CMakeLists.txt b/math/xtensor/files/patch-CMakeLists.txt index e700e86e57ff..efb712341035 100644 --- a/math/xtensor/files/patch-CMakeLists.txt +++ b/math/xtensor/files/patch-CMakeLists.txt @@ -1,13 +1,14 @@ ---- CMakeLists.txt.orig 2018-03-12 08:10:41 UTC +--- CMakeLists.txt.orig 2018-03-13 17:28:19 UTC +++ CMakeLists.txt -@@ -28,8 +28,8 @@ message(STATUS "Building xtensor v${${PR +@@ -28,8 +28,9 @@ message(STATUS "Building xtensor v${${PR # Dependencies # ============ --find_package(xtl 0.4 REQUIRED) +-find_package(xtl 0.4.1 REQUIRED) -message(STATUS "Found xtl: ${xtl_INCLUDE_DIRS}/xtl") -+#find_package(xtl 0.4 REQUIRED) ++#find_package(xtl 0.4.1 REQUIRED) +message(STATUS "Found xtl: xtl/include") ++ # Build # ===== diff --git a/math/xtensor/files/patch-test_CMakeLists.txt b/math/xtensor/files/patch-test_CMakeLists.txt index 0246b525bc41..a70d3504c1d1 100644 --- a/math/xtensor/files/patch-test_CMakeLists.txt +++ b/math/xtensor/files/patch-test_CMakeLists.txt @@ -1,6 +1,6 @@ ---- test/CMakeLists.txt.orig 2018-02-16 23:52:29 UTC +--- test/CMakeLists.txt.orig 2018-03-13 17:07:19 UTC +++ test/CMakeLists.txt -@@ -8,12 +8,12 @@ +@@ -8,12 +8,13 @@ cmake_minimum_required(VERSION 3.1) @@ -13,17 +13,27 @@ - set(XTENSOR_INCLUDE_DIR ${xtensor_INCLUDE_DIRS}) -endif () + #find_package(xtensor REQUIRED CONFIG) ++ #set(XTENSOR_INCLUDE_DIR ${xtensor_INCLUDE_DIRS}) + include_directories(staged-include) +#endif () message(STATUS "Forcing tests build type to Release") set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE) -@@ -156,7 +156,7 @@ add_executable(${XTENSOR_TARGET} ${XTENS +@@ -158,7 +158,7 @@ endforeach() + foreach(filename IN LISTS XTENSOR_TESTS) + string(REPLACE ".cpp" "" targetname ${filename}) + add_executable(${targetname} ${COMMON_BASE} ${filename} ${XTENSOR_HEADERS}) +- target_link_libraries(${targetname} xtensor ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) ++ target_link_libraries(${targetname} ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) + if(DOWNLOAD_GTEST OR GTEST_SRC_DIR) + add_dependencies(${targetname} gtest_main) + endif() +@@ -169,7 +169,7 @@ add_executable(${XTENSOR_TARGET} ${COMMO if(DOWNLOAD_GTEST OR GTEST_SRC_DIR) add_dependencies(${XTENSOR_TARGET} gtest_main) endif() -target_link_libraries(${XTENSOR_TARGET} xtensor ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) +target_link_libraries(${XTENSOR_TARGET} ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) - add_custom_target(xtest COMMAND test_xtensor DEPENDS ${XTENSOR_TARGET}) + add_custom_target(xtest COMMAND ${XTENSOR_TARGET} DEPENDS ${XTENSOR_TARGET}) |