mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 16:29:07 +08:00
38260a7936
* [xsimd][xtensor][xtl] Update to lastest * [xtensor-io] Disable parallel config * [xsimd][xtensor][xtensor-blas][xtensor-io][xtl] Update to 2019-12-06 * [xsimd][xtensor-blas][xtensor][xtl] Update to lastest * [xsimd][xtensor-blas][xtensor-io][xtensor][xtl] Update to lastest
33 lines
1.0 KiB
CMake
33 lines
1.0 KiB
CMake
# header-only library
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO xtensor-stack/xtensor-blas
|
|
REF 0b23657413bb4380014b82c4dd45821f04a4adad # 0.17.1
|
|
SHA512 d155d9fdad2e2d1851657953544e9ef3e3c1b203a1cb4e092d0f5bab8bad27bcf3a21a0ae3be0c06a7b8a3fa8b41f244da45690d39ee6c9794ac4fcabc4de35f
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
DISABLE_PARALLEL_CONFIGURE
|
|
OPTIONS_RELEASE -DCXXBLAS_DEBUG=OFF
|
|
OPTIONS_DEBUG -DCXXBLAS_DEBUG=ON
|
|
OPTIONS
|
|
-DXTENSOR_USE_FLENS_BLAS=OFF
|
|
-DBUILD_TESTS=OFF
|
|
-DBUILD_BENCHMARK=OFF
|
|
-DDOWNLOAD_GTEST=OFF
|
|
-DDOWNLOAD_GBENCHMARK=OFF
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/xflens/cxxblas/netlib)
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|