mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 06:49:00 +08:00
[Vc] Update to 1.4.3 (#24880)
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
This commit is contained in:
parent
d953973cfb
commit
8f77dbb04f
16
ports/vc/Fix-internal-func-export.patch
Normal file
16
ports/vc/Fix-internal-func-export.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff --git a/src/support_x86.cpp b/src/support_x86.cpp
|
||||
index 0ab9669..d5c17ba 100644
|
||||
--- a/src/support_x86.cpp
|
||||
+++ b/src/support_x86.cpp
|
||||
@@ -58,8 +58,9 @@ static inline bool xgetbvCheck(unsigned int bits)
|
||||
#endif
|
||||
}
|
||||
|
||||
-Vc_TARGET_NO_SIMD
|
||||
-bool isImplementationSupported(Implementation impl)
|
||||
+
|
||||
+Vc_TARGET_NO_SIMD
|
||||
+bool Vc_VDECL isImplementationSupported(Vc::Implementation impl)
|
||||
{
|
||||
CpuId::init();
|
||||
|
@ -1,17 +0,0 @@
|
||||
--- a/Vc/avx/const.h
|
||||
+++ b/Vc/avx/const.h
|
||||
@@ -131,13 +131,13 @@
|
||||
#endif
|
||||
}
|
||||
template <> Vc_ALWAYS_INLINE Vc_CONST Vector<double> Const<double>::highMask(int bits)
|
||||
{
|
||||
#ifdef Vc_IMPL_AVX2
|
||||
#if defined Vc_ICC || defined Vc_MSVC
|
||||
- __m256i allone;
|
||||
+ auto allone = __m256i();
|
||||
allone = _mm256_cmpeq_epi8(allone, allone);
|
||||
#else
|
||||
auto allone = ~__m256i();
|
||||
#endif
|
||||
return _mm256_castsi256_pd(_mm256_slli_epi64(allone, bits));
|
||||
#else
|
@ -1,24 +1,25 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO VcDevel/Vc
|
||||
REF 1.4.2
|
||||
SHA512 9a929cd48bdf6b8e94765bd649e7ec42b10dea28e36eff288223d72cffa5f4fc8693e942aa3f780b42d8a0c1824fcabff22ec0622aa8ea5232c9123858b8bbbf
|
||||
REF 1.4.3
|
||||
SHA512 7c0c4ccf8c7c4585334482135f2daf1a5bc088114b880093893583bdcea1fbfcec02485da6059304c510c8b1bb1b768ef04fd7ac8ccb21b9ebbad5d0d5babaef
|
||||
HEAD_REF 1.4
|
||||
PATCHES
|
||||
correct_cmake_config_path.patch
|
||||
dont-use-uninit-var.patch
|
||||
PATCHES
|
||||
correct_cmake_config_path.patch
|
||||
Fix-internal-func-export.patch #remove it in next version
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=OFF
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
)
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Vc/)
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/Vc/")
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,8 +1,18 @@
|
||||
{
|
||||
"name": "vc",
|
||||
"version": "1.4.2",
|
||||
"port-version": 3,
|
||||
"version": "1.4.3",
|
||||
"description": "SIMD Vector Classes for C++ .",
|
||||
"homepage": "https://github.com/VcDevel/Vc",
|
||||
"supports": "!arm64"
|
||||
"license": "BSD-3-Clause",
|
||||
"supports": "!arm64",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -7329,8 +7329,8 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"vc": {
|
||||
"baseline": "1.4.2",
|
||||
"port-version": 3
|
||||
"baseline": "1.4.3",
|
||||
"port-version": 0
|
||||
},
|
||||
"vcglib": {
|
||||
"baseline": "1.0.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "933ac99201b15104edd8037e8bcc7959d36a6d67",
|
||||
"version": "1.4.3",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "98b96fa582424d700421161838544f1daf738467",
|
||||
"version": "1.4.2",
|
||||
|
Loading…
Reference in New Issue
Block a user