early-access version 2853
This commit is contained in:
30
externals/vcpkg/ports/xsimd/portfile.cmake
vendored
Executable file
30
externals/vcpkg/ports/xsimd/portfile.cmake
vendored
Executable file
@@ -0,0 +1,30 @@
|
||||
# header-only library
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO xtensor-stack/xsimd
|
||||
REF 8.1.0
|
||||
SHA512 539f7b565b45e8225c6476ca1becc8243a84ae7fb51b45a584231e7d36aee10a09d7d30fb87d89cb77813fb063a7b7617bcf01fdf996f59d99e8d474d2a044ee
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
xcomplex ENABLE_XTL_COMPLEX
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DENABLE_FALLBACK=OFF
|
||||
-DBUILD_TESTS=OFF
|
||||
-DDOWNLOAD_GTEST=OFF
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
25
externals/vcpkg/ports/xsimd/vcpkg.json
vendored
Executable file
25
externals/vcpkg/ports/xsimd/vcpkg.json
vendored
Executable file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "xsimd",
|
||||
"version": "8.1.0",
|
||||
"description": "Modern, portable C++ wrappers for SIMD intrinsics",
|
||||
"homepage": "https://github.com/xtensor-stack/xsimd",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"xcomplex": {
|
||||
"description": "xtl complex support",
|
||||
"dependencies": [
|
||||
"xtl"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user