mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
[casadi] Deindex. (#42773)
This commit is contained in:
parent
6de717b75b
commit
1f65d84539
@ -1,41 +0,0 @@
|
||||
# Currently no upstream support for static libraries
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO casadi/casadi
|
||||
REF "${VERSION}"
|
||||
SHA512 2c95368281f0bda385c6c451e361c168589f13aa66af6bc6fadf01f899bcd6c785ea7da3dee0fb5835559e58982e499182a4d244af3ea208ac05f672ea99cfd1
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
# Pending upstream fix https://github.com/casadi/casadi/issues/3896
|
||||
set(VCPKG_POLICY_SKIP_ABSOLUTE_PATHS_CHECK enabled)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DWITH_SELFCONTAINED=OFF
|
||||
-DWITH_TINYXML=OFF
|
||||
-DWITH_BUILD_TINYXML=OFF
|
||||
-DWITH_QPOASES=OFF
|
||||
-DWITH_SUNDIALS=OFF
|
||||
-DWITH_CSPARSE=OFF
|
||||
-DLIB_PREFIX:PATH=lib
|
||||
-DBIN_PREFIX:PATH=bin
|
||||
-DINCLUDE_PREFIX:PATH=include
|
||||
-DCMAKE_PREFIX:PATH=share/${PORT}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup()
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" COPYONLY)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
vcpkg_copy_tools(TOOL_NAMES casadi-cli AUTO_CLEAN)
|
@ -1,5 +0,0 @@
|
||||
casadi provides CMake targets:
|
||||
|
||||
find_package(casadi CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE $<TARGET_NAME:casadi>)
|
||||
|
@ -1,17 +0,0 @@
|
||||
{
|
||||
"name": "casadi",
|
||||
"version": "3.6.7",
|
||||
"description": "CasADi is a symbolic framework for numeric optimization implementing automatic differentiation in forward and reverse modes on sparse matrix-valued computational graphs. It supports self-contained C-code generation and interfaces state-of-the-art codes such as SUNDIALS, IPOPT etc. It can be used from C++, Python or Matlab/Octave.",
|
||||
"homepage": "http://casadi.org",
|
||||
"license": "LGPL-3.0-only",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -178,16 +178,6 @@ c-dbg-macro:arm64-uwp=skip
|
||||
c-dbg-macro:x64-osx=skip
|
||||
c-dbg-macro:arm64-osx=skip
|
||||
c-dbg-macro:x64-linux=skip
|
||||
|
||||
# Needs work
|
||||
casadi:arm64-android=skip
|
||||
casadi:x64-android=skip
|
||||
casadi:arm-neon-android=skip
|
||||
casadi:x64-windows-static=skip
|
||||
casadi:x64-windows-static-md=skip
|
||||
casadi:x64-uwp=skip
|
||||
casadi:arm64-uwp=skip
|
||||
|
||||
casclib:arm64-uwp=fail
|
||||
casclib:x64-uwp=fail
|
||||
catch-classic:arm-neon-android=skip
|
||||
|
@ -1516,10 +1516,6 @@
|
||||
"baseline": "1.2.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"casadi": {
|
||||
"baseline": "3.6.7",
|
||||
"port-version": 0
|
||||
},
|
||||
"casclib": {
|
||||
"baseline": "2024-06-05",
|
||||
"port-version": 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user