[z3] Update to 4.8.10 to support arm triplet (#18104)

* [z3] Update to 4.8.10 to support arm triplet

* update version record
This commit is contained in:
Jack·Boos·Yu 2021-06-02 03:14:39 +08:00 committed by GitHub
parent 56ca13c972
commit e4e4ee9c9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 23 deletions

View File

@ -1,5 +0,0 @@
Source: z3
Version: 4.8.9
Homepage: https://github.com/Z3Prover/z3
Description: Z3 is a theorem prover from Microsoft Research.
Supports: !arm64 && !uwp

View File

@ -1,10 +0,0 @@
Z3
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,4 +1,4 @@
vcpkg_fail_port_install(ON_TARGET "UWP" ON_ARCH "arm64")
vcpkg_fail_port_install(ON_TARGET "UWP")
vcpkg_find_acquire_program(PYTHON2)
get_filename_component(PYTHON2_DIR "${PYTHON2}" DIRECTORY)
@ -7,11 +7,10 @@ vcpkg_add_to_path("${PYTHON2_DIR}")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Z3Prover/z3
REF 79734f26aee55309077de1f26e9b6f50ecd99ceb # z3-4.8.9
SHA512 b7899f9590d4b0b0cd6eb841ede60045579878759a4bb3b3caacf0cbb491cafee46ad492dce4c1b87bd8318ac0a763daa5fe596a6a0f5a1f41559b61ef25c82c
REF 517d907567f4283ad8b48ff9c2a3f6dce838569e # z3-4.8.10
SHA512 5102f8c5fb988e93c586fa288267e4803d31a9cd0e2dbc7ce836a33b297cdbc9f3428933d0304ef4cef86812c7b9a6d000094cc13b3ed23ab0712dcc3d4677a8
HEAD_REF master
PATCHES
fix-install-path.patch
PATCHES fix-install-path.patch
)
if (VCPKG_LIBRARY_LINKAGE STREQUAL "static")
@ -29,6 +28,6 @@ vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/z3 TARGET_PATH share/Z3)
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

7
ports/z3/vcpkg.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "z3",
"version-semver": "4.8.10",
"description": "Z3 is a theorem prover from Microsoft Research",
"homepage": "https://github.com/Z3Prover/z3",
"supports": "!uwp"
}

View File

@ -6765,7 +6765,7 @@
"port-version": 0
},
"z3": {
"baseline": "4.8.9",
"baseline": "4.8.10",
"port-version": 0
},
"z85": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9c0fdcbcb443a4d0e2b58a1b3b56424e8c2d384c",
"version-semver": "4.8.10",
"port-version": 0
},
{
"git-tree": "7081291c8d70cea0a783c78fa8f27219cad7b77c",
"version-string": "4.8.9",