Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[osqp] Add new port #39629

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions ports/osqp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO osqp/osqp
REF "v${VERSION}"
SHA512 d6c0efdc226c096fdfe76dd85522ee4cc9591fafde8de45f3c18453d37bd0509be80f6ba6841adff9216339a0fef1d49072fdc57323e1dd0eb1673f40d3b5d73
HEAD_REF master
)
vcpkg_from_github(
OUT_SOURCE_PATH MODULES_SOURCE_PATH
REPO osqp/qdldl
REF 7d16b70a10a152682204d745d814b6eb63dc5cd2
SHA512 9174269e6fb52a8184a12d8ff62c028f5e5065ebe688af92c02cd98b0cd87e015709b2a5a1a8c8a33719b2133e52261f9949fbb678f5a8bb98ae68bd0066c099
HEAD_REF master
)
file(REMOVE_RECURSE "${SOURCE_PATH}/lin_sys/direct/qdldl/qdldl_sources")
file(RENAME "${MODULES_SOURCE_PATH}" "${SOURCE_PATH}/lin_sys/direct/qdldl/qdldl_sources")


vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
)

vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")

file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
)

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
17 changes: 17 additions & 0 deletions ports/osqp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "osqp",
"version": "0.6.3",
"description": "The Operator Splitting QP Solver",
"homepage": "https://osqp.org",
"license": "Apache-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6664,6 +6664,10 @@
"baseline": "4.6.1",
"port-version": 0
},
"osqp": {
"baseline": "0.6.3",
"port-version": 0
},
"otl": {
"baseline": "4.0.476",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/o-/osqp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "29ff394737e5b48b99db4e5504ecc5b1bc0d44f5",
"version": "0.6.3",
"port-version": 0
}
]
}
Loading