[xsimd] Fix build error under windows (#41081)

This commit is contained in:
jim wang 2024-09-20 21:26:57 +00:00 committed by GitHub
parent 35afd117ef
commit 64123e5636
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 15 additions and 1 deletions

View File

@ -1,9 +1,17 @@
vcpkg_download_distfile(
WIN_PATCHES
URLS "https://github.com/xtensor-stack/xsimd/pull/1040/commits/e8cb862e434eb1e367afb83e1a3685bccff3e566.diff?full_index=1"
FILENAME "xsimd-e8cb862e434eb1e367afb83e1a3685bccff3e566.patch"
SHA512 e584033fb79c602a19222c177d5db28f9887dd17e741844d57f2236a5749ac4c02cc0740f8011ca990602887a6ee3dd21ae0b695455c447686b1a6c8bda2e092
)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO xtensor-stack/xsimd REPO xtensor-stack/xsimd
REF "${VERSION}" REF "${VERSION}"
SHA512 cdc42ddad3353297cf25ea2b6b3f09967f5f388efc26241f2997979fdbbac072819ff771145bc5bfa86cb326cca84b4119e8e6e3f658407961cf203a40603a7f SHA512 cdc42ddad3353297cf25ea2b6b3f09967f5f388efc26241f2997979fdbbac072819ff771145bc5bfa86cb326cca84b4119e8e6e3f658407961cf203a40603a7f
HEAD_REF master HEAD_REF master
PATCHES
"${WIN_PATCHES}"
) )
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,6 +1,7 @@
{ {
"name": "xsimd", "name": "xsimd",
"version": "13.0.0", "version": "13.0.0",
"port-version": 1,
"description": "Modern, portable C++ wrappers for SIMD intrinsics", "description": "Modern, portable C++ wrappers for SIMD intrinsics",
"homepage": "https://github.com/xtensor-stack/xsimd", "homepage": "https://github.com/xtensor-stack/xsimd",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",

View File

@ -9758,7 +9758,7 @@
}, },
"xsimd": { "xsimd": {
"baseline": "13.0.0", "baseline": "13.0.0",
"port-version": 0 "port-version": 1
}, },
"xtensor": { "xtensor": {
"baseline": "0.25.0", "baseline": "0.25.0",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "f32923512f532dd165f1379bdb3c810b9d31d7d3",
"version": "13.0.0",
"port-version": 1
},
{ {
"git-tree": "b79289e60e4e2319af838958ca258ea6dbbffb14", "git-tree": "b79289e60e4e2319af838958ca258ea6dbbffb14",
"version": "13.0.0", "version": "13.0.0",