[proxsuite] add new port (#34722)

* [proxsuite] add new port

* [proxsuite] update version
This commit is contained in:
Andrew Kornilov 2023-10-27 02:47:24 +03:00 committed by GitHub
parent a7e4ad1363
commit 915077e26e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,37 @@
set(VCPKG_BUILD_TYPE release) # header-only
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Simple-Robotics/proxsuite
REF "v${VERSION}"
SHA512 ce9d20f689cabf7668f8bd801017613a83ed816c8cab0190ae7116b2dc4880d0b5fa31bf11053f653f326b68984e3e63cdb3b43d9fd50a345554777d3d801a1b
HEAD_REF main
)
vcpkg_from_github(
OUT_SOURCE_PATH MODULES_SOURCE_PATH
REPO jrl-umi3218/jrl-cmakemodules
REF e1a71520cd2f0e6f2a611e1a70df4d8edf4d5a65
SHA512 a9dec01a4b4b30b42bf7f6e07c7102d58242c431f59875dac6bfc296473266f927e2ac3b823dcfa9364dad5cdbf46532d94eb65c41aa7d1ddfd7ec5212466ffa
HEAD_REF master
)
file(REMOVE_RECURSE "${SOURCE_PATH}/cmake-module")
file(RENAME "${MODULES_SOURCE_PATH}" "${SOURCE_PATH}/cmake-module")
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
-DBUILD_WITH_VECTORIZATION_SUPPORT=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
"${CURRENT_PACKAGES_DIR}/debug/share"
)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -0,0 +1,18 @@
{
"name": "proxsuite",
"version": "0.5.0",
"description": "The Advanced Proximal Optimization Toolbox",
"homepage": "https://github.com/Simple-Robotics/proxsuite",
"license": "BSD-2-Clause",
"dependencies": [
"eigen3",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -6680,6 +6680,10 @@
"baseline": "1.7.1",
"port-version": 0
},
"proxsuite": {
"baseline": "0.5.0",
"port-version": 0
},
"proxy": {
"baseline": "1.1.1",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "d43b63f01c1240a12c85794fdde566064996b845",
"version": "0.5.0",
"port-version": 0
}
]
}