[simd] update to 5.2.123 (#29272)

* update to 5.2.121

* update to 5.2.121

* remove useless patch

* update to 5.2.123

* update
This commit is contained in:
Mengna Li 2023-03-11 04:32:44 +08:00 committed by GitHub
parent fb67304110
commit 89562cbf9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 41 deletions

View File

@ -1,32 +0,0 @@
diff --git "a/prj/cmake/arm.cmake" "b/prj/cmake/arm.cmake"
index 7589930..b92b9d0 100644
--- "a/prj/cmake/arm.cmake"
+++ "b/prj/cmake/arm.cmake"
@@ -27,6 +27,11 @@ file(GLOB_RECURSE SIMD_LIB_SRC ${SIMD_ROOT}/src/Simd/SimdLib.cpp)
set_source_files_properties(${SIMD_LIB_SRC} PROPERTIES COMPILE_FLAGS "${COMMON_CXX_FLAGS} ${CXX_NEON_FLAG}")
add_library(Simd ${SIMD_LIB_TYPE} ${SIMD_LIB_SRC} ${SIMD_BASE_SRC} ${SIMD_NEON_SRC})
+file(GLOB SIMD_HEADERS "${SIMD_ROOT}/src/Simd/*.hpp" "${SIMD_ROOT}/src/Simd/*.h")
+set_target_properties(Simd PROPERTIES PUBLIC_HEADER "${SIMD_HEADERS}")
+install(TARGETS Simd EXPORT simdtargets LIBRARY DESTINATION "lib" PUBLIC_HEADER DESTINATION "include/Simd")
+install(EXPORT simdtargets DESTINATION share/simd)
+
if(SIMD_TEST)
file(GLOB_RECURSE TEST_SRC_C ${SIMD_ROOT}/src/Test/*.c)
file(GLOB_RECURSE TEST_SRC_CPP ${SIMD_ROOT}/src/Test/*.cpp)
diff --git "a/prj/cmake/x86.cmake" "b/prj/cmake/x86.cmake"
index 944bd5c..9b5180f 100644
--- "a/prj/cmake/x86.cmake"
+++ "b/prj/cmake/x86.cmake"
@@ -83,6 +83,11 @@ file(GLOB_RECURSE SIMD_LIB_SRC ${SIMD_ROOT}/src/Simd/SimdLib.cpp)
set_source_files_properties(${SIMD_LIB_SRC} PROPERTIES COMPILE_FLAGS "${SIMD_LIB_FLAGS}")
add_library(Simd ${SIMD_LIB_TYPE} ${SIMD_LIB_SRC} ${SIMD_ALG_SRC})
+file(GLOB SIMD_HEADERS "${SIMD_ROOT}/src/Simd/*.hpp" "${SIMD_ROOT}/src/Simd/*.h")
+set_target_properties(Simd PROPERTIES PUBLIC_HEADER "${SIMD_HEADERS}")
+install(TARGETS Simd EXPORT simdtargets LIBRARY DESTINATION "lib" PUBLIC_HEADER DESTINATION "include/Simd")
+install(EXPORT simdtargets DESTINATION share/simd)
+
if(SIMD_TEST)
file(GLOB_RECURSE TEST_SRC_C ${SIMD_ROOT}/src/Test/*.c)
if((CMAKE_CXX_COMPILER MATCHES "clang") OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))

View File

@ -1,11 +1,9 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ermig1979/Simd
REF e61df320747449322767e67534bd7bb6a9a6d2c8 # v5.1.119
SHA512 9dfce424af8600aaa2c0eac8bbb8f20b12cbd086d495c7e9e1ce2a45ae60242ee893608fc41c88ff6caa960821188e4cffd586b416ab891ee86d6e28aad54726
REF "v${VERSION}"
SHA512 d9351a6b67b8c1f38f70d252bcbaf3271f4242c1bbe453ffa1cd5281de4b78fb697f6741bccc0ddbe73bf5d9b79fd1d1ecf64a0ddfb288c67cc1077194603b2e
HEAD_REF master
PATCHES
fix-CMakeLists-install.patch
)
if(VCPKG_TARGET_IS_WINDOWS AND (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "x64"))
@ -80,4 +78,4 @@ else()
endif()
# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,7 +1,6 @@
{
"name": "simd",
"version": "5.1.119",
"port-version": 2,
"version": "5.2.123",
"description": "Simd image processing and machine learning library, designed for C and C++ programmers",
"homepage": "https://github.com/ermig1979/Simd",
"license": "MIT",

View File

@ -7261,8 +7261,8 @@
"port-version": 0
},
"simd": {
"baseline": "5.1.119",
"port-version": 2
"baseline": "5.2.123",
"port-version": 0
},
"simde": {
"baseline": "0.7.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "64cfb73836acffe8ff38e25477e0e8332707b4fc",
"version": "5.2.123",
"port-version": 0
},
{
"git-tree": "ac8b6441609b8504f6e26937d2c1a3e08a20d451",
"version": "5.1.119",