[xeus] fix arm64-osx build (#27097)

This commit is contained in:
autoantwort 2022-10-06 00:01:43 +02:00 committed by GitHub
parent ba21b17102
commit f579f4c7d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 8 deletions

View File

@ -11,9 +11,8 @@ vcpkg_from_github(
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC_LIBS)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_SHARED_LIBS)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_EXAMPLES=OFF
-DXEUS_BUILD_STATIC_LIBS=${BUILD_STATIC_LIBS}
@ -21,13 +20,14 @@ vcpkg_configure_cmake(
-DBUILD_TESTS=OFF
-DDOWNLOAD_GTEST=OFF
-DDISABLE_ARCH_NATIVE=OFF
-DXEUS_DISABLE_ARCH_NATIVE=On
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
file(COPY "${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

View File

@ -1,9 +1,10 @@
{
"name": "xeus",
"version-string": "0.24.3",
"port-version": 1,
"version": "0.24.3",
"port-version": 2,
"description": "C++ implementation of the Jupyter kernel protocol",
"homepage": "https://github.com/jupyter-xeus/xeus",
"license": "BSD-3-Clause",
"dependencies": [
"cppzmq",
{
@ -12,6 +13,14 @@
},
"nlohmann-json",
"openssl",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"xtl",
"zeromq"
]

View File

@ -7934,7 +7934,7 @@
},
"xeus": {
"baseline": "0.24.3",
"port-version": 1
"port-version": 2
},
"xframe": {
"baseline": "0.3.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "58ccbb03903ad023da77a9a53225dc4bd25df600",
"version": "0.24.3",
"port-version": 2
},
{
"git-tree": "2bb5d11153c9982aad5337c44d2f781918e8d991",
"version-string": "0.24.3",