aboutsummaryrefslogtreecommitdiff
path: root/ports/xtensor
diff options
context:
space:
mode:
Diffstat (limited to 'ports/xtensor')
-rw-r--r--ports/xtensor/CONTROL4
-rw-r--r--ports/xtensor/portfile.cmake14
2 files changed, 6 insertions, 12 deletions
diff --git a/ports/xtensor/CONTROL b/ports/xtensor/CONTROL
index 3f1a1d5fe..8f0e6fac5 100644
--- a/ports/xtensor/CONTROL
+++ b/ports/xtensor/CONTROL
@@ -1,7 +1,7 @@
Source: xtensor
-Version: 0.20.8
+Version: 0.21.2
Description: C++ tensors with broadcasting and lazy computing
-Homepage: https://quantstack.net/xtensor
+Homepage: https://github.com/xtensor-stack/xtensor
Build-Depends: nlohmann-json, xtl
Feature: xsimd
diff --git a/ports/xtensor/portfile.cmake b/ports/xtensor/portfile.cmake
index b8c28727a..cdbc1f1e1 100644
--- a/ports/xtensor/portfile.cmake
+++ b/ports/xtensor/portfile.cmake
@@ -1,12 +1,10 @@
# header-only library
-include(vcpkg_common_functions)
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
- REPO QuantStack/xtensor
- REF b2d81961ac1b335bf2c362e6b7f792ebacb8abf8
- SHA512 cfa64ae8163ce5cf7be762d5e67f4b2b15721f7d83cebab78ebf4ff1d85825aa3065769644d0314dd583bfb8dce76659c1a5cb95ecd87d00bb2fb8309623d0ae
+ REPO xtensor-stack/xtensor
+ REF 8c77ea7fe479714a297efc0263c933a41fd2fc50 # 0.21.2
+ SHA512 f535e3a5d9325b73af31b64a2c20f504d754202f2d557f63bab280a0b2c7e67d357f9a5c281a2cf73cccf0af129b29e38e218c95ab421c5473a92fe28bd9b2d6
HEAD_REF master
)
@@ -36,8 +34,4 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
-# Handle copyright
-configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
-
-# CMake integration test
-vcpkg_test_cmake(PACKAGE_NAME ${PORT})
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)