From e71ce102945eb6541f8b7f96007bdb2ee5651c67 Mon Sep 17 00:00:00 2001 From: Francisco Facioni Date: Tue, 23 Aug 2022 19:12:03 +0200 Subject: [PATCH] [vectorclass] Update to 2.02.00 (#26474) --- ports/vectorclass/portfile.cmake | 14 ++++++-------- ports/vectorclass/vcpkg.json | 16 +++++++++++++--- versions/baseline.json | 4 ++-- versions/v-/vectorclass.json | 5 +++++ 4 files changed, 26 insertions(+), 13 deletions(-) diff --git a/ports/vectorclass/portfile.cmake b/ports/vectorclass/portfile.cmake index ae58238899..dd4311d5fd 100644 --- a/ports/vectorclass/portfile.cmake +++ b/ports/vectorclass/portfile.cmake @@ -1,22 +1,20 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO vectorclass/version2 - REF v2.00.01 - SHA512 2e1f714cf0e23cf7986f0e78b4c1eeab4da6434ac92449b81990931e19ae189df6fbbef50f11e9532a41dc6eaff0a4fea840349a3747621ff537bbd7519f2c3d + REF v2.02.00 + SHA512 758cf12309ba9d5b1cc22db197d024880f62778de939af80f575dad9a3a2c3f256bc3228ee3dbd41a9da6e88835318f362b8255ff32bc8cadfe12bd2be4c36b5 HEAD_REF master ) file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) -vcpkg_configure_cmake( +vcpkg_cmake_configure( SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA ) -vcpkg_install_cmake() -vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake TARGET_PATH share) +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT}) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) # Put the licence file where vcpkg expects it -file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright) +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/vectorclass/vcpkg.json b/ports/vectorclass/vcpkg.json index 40b26d7546..1be19e61a1 100644 --- a/ports/vectorclass/vcpkg.json +++ b/ports/vectorclass/vcpkg.json @@ -1,8 +1,18 @@ { "name": "vectorclass", - "version-string": "2.00.01", - "port-version": 2, + "version-string": "2.02.00", "description": "C++ class library for using the Single Instruction Multiple Data (SIMD) instructions in modern Microprocessors", "homepage": "https://github.com/vectorclass/version2", - "supports": "!(arm | arm64)" + "license": "Apache-2.0", + "supports": "!(arm | arm64)", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] } diff --git a/versions/baseline.json b/versions/baseline.json index 9b5c5aac7d..8821f3c1b9 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7541,8 +7541,8 @@ "port-version": 0 }, "vectorclass": { - "baseline": "2.00.01", - "port-version": 2 + "baseline": "2.02.00", + "port-version": 0 }, "visit-struct": { "baseline": "1.0", diff --git a/versions/v-/vectorclass.json b/versions/v-/vectorclass.json index dc472b4a17..41c725d8fa 100644 --- a/versions/v-/vectorclass.json +++ b/versions/v-/vectorclass.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "cd0c5a8f550d59e8a92becd672d9d0a029faf4ac", + "version-string": "2.02.00", + "port-version": 0 + }, { "git-tree": "a1c1b1ca0e0ddb9d5c27129234b2c22c9b73bd16", "version-string": "2.00.01",