From 64123e563647498d159c395e938dcdd27f62c2c3 Mon Sep 17 00:00:00 2001 From: jim wang <122244446+jimwang118@users.noreply.github.com> Date: Fri, 20 Sep 2024 21:26:57 +0000 Subject: [PATCH] [xsimd] Fix build error under windows (#41081) --- ports/xsimd/portfile.cmake | 8 ++++++++ ports/xsimd/vcpkg.json | 1 + versions/baseline.json | 2 +- versions/x-/xsimd.json | 5 +++++ 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ports/xsimd/portfile.cmake b/ports/xsimd/portfile.cmake index 289ca90f26..49d637d0c4 100644 --- a/ports/xsimd/portfile.cmake +++ b/ports/xsimd/portfile.cmake @@ -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( OUT_SOURCE_PATH SOURCE_PATH REPO xtensor-stack/xsimd REF "${VERSION}" SHA512 cdc42ddad3353297cf25ea2b6b3f09967f5f388efc26241f2997979fdbbac072819ff771145bc5bfa86cb326cca84b4119e8e6e3f658407961cf203a40603a7f HEAD_REF master + PATCHES + "${WIN_PATCHES}" ) vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS diff --git a/ports/xsimd/vcpkg.json b/ports/xsimd/vcpkg.json index 304c01f0a0..2c6b88c574 100644 --- a/ports/xsimd/vcpkg.json +++ b/ports/xsimd/vcpkg.json @@ -1,6 +1,7 @@ { "name": "xsimd", "version": "13.0.0", + "port-version": 1, "description": "Modern, portable C++ wrappers for SIMD intrinsics", "homepage": "https://github.com/xtensor-stack/xsimd", "license": "BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index 7ef7240a88..0d7ece2b04 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -9758,7 +9758,7 @@ }, "xsimd": { "baseline": "13.0.0", - "port-version": 0 + "port-version": 1 }, "xtensor": { "baseline": "0.25.0", diff --git a/versions/x-/xsimd.json b/versions/x-/xsimd.json index 3bb34aed7c..30d31b2fc5 100644 --- a/versions/x-/xsimd.json +++ b/versions/x-/xsimd.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "f32923512f532dd165f1379bdb3c810b9d31d7d3", + "version": "13.0.0", + "port-version": 1 + }, { "git-tree": "b79289e60e4e2319af838958ca258ea6dbbffb14", "version": "13.0.0",