Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Upgrade to CasADi 3.6.4 (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul authored Nov 11, 2023
1 parent 94ffc0a commit 1cf2c64
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmake/modules/FetchCasADi.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ macro(fetch_casadi)
set(CASADI_INCLUDEDIR ${CMAKE_BINARY_DIR}/_deps/casadi-src/casadi/include)
if (${CMAKE_SYSTEM_NAME} MATCHES "MINGW" OR ${CMAKE_SYSTEM_NAME} MATCHES "MSYS" OR WIN32)
message(STATUS "Building for Windows")
set(CASADI_URL https://github.com/casadi/casadi/releases/download/3.6.3/casadi-3.6.3-windows64-py311.zip)
set(CASADI_URL https://github.com/casadi/casadi/releases/download/3.6.4/casadi-3.6.4-windows64-py311.zip)
set(CASADI_INSTALL_LIBS
${CASADI_LIBDIR}/libcasadi-tp-openblas.dll
${CASADI_LIBDIR}/libcasadi.dll
Expand All @@ -21,7 +21,7 @@ macro(fetch_casadi)
elseif (APPLE)
if (CMAKE_APPLE_SILICON_PROCESSOR MATCHES "arm64" OR CMAKE_OSX_ARCHITECTURES MATCHES "arm64")
message(STATUS "Building for macOS arm64")
set(CASADI_URL https://github.com/casadi/casadi/releases/download/3.6.3/casadi-3.6.3-osx_arm64-py311.zip)
set(CASADI_URL https://github.com/casadi/casadi/releases/download/3.6.4/casadi-3.6.4-osx_arm64-py311.zip)
set(CASADI_INSTALL_LIBS
${CASADI_LIBDIR}/libcasadi.3.7.dylib
${CASADI_LIBDIR}/libc++.1.0.dylib
Expand All @@ -34,7 +34,7 @@ macro(fetch_casadi)
${CASADI_LIBDIR}/libgcc_s.1.1.dylib)
elseif(CMAKE_APPLE_SILICON_PROCESSOR MATCHES "x86_64" OR CMAKE_OSX_ARCHITECTURES MATCHES "x86_64")
message(STATUS "Building for macOS x86_64")
set(CASADI_URL https://github.com/casadi/casadi/releases/download/3.6.3/casadi-3.6.3-osx64-py311.zip)
set(CASADI_URL https://github.com/casadi/casadi/releases/download/3.6.4/casadi-3.6.4-osx64-py311.zip)
set(CASADI_INSTALL_LIBS
${CASADI_LIBDIR}/libcasadi.3.7.dylib
${CASADI_LIBDIR}/libc++.1.0.dylib
Expand All @@ -51,7 +51,7 @@ macro(fetch_casadi)
elseif (UNIX)
if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "ARM64")
message(STATUS "Building for Linux arm64")
set(CASADI_URL https://github.com/casadi/casadi/releases/download/3.6.3/casadi-3.6.3-linux-aarch64-py311.zip)
set(CASADI_URL https://github.com/casadi/casadi/releases/download/3.6.4/casadi-3.6.4-linux-aarch64-py311.zip)
set(CASADI_INSTALL_LIBS
${CASADI_LIBDIR}/libcasadi.so.3.7
${CASADI_LIBDIR}/libcasadi_nlpsol_ipopt.so
Expand All @@ -63,7 +63,7 @@ macro(fetch_casadi)
${CASADI_LIBDIR}/libcasadi-tp-openblas.so.0)
else()
message(STATUS "Building for Linux x64")
set(CASADI_URL https://github.com/casadi/casadi/releases/download/3.6.3/casadi-3.6.3-linux64-py311.zip)
set(CASADI_URL https://github.com/casadi/casadi/releases/download/3.6.4/casadi-3.6.4-linux64-py311.zip)
set(CASADI_INSTALL_LIBS
${CASADI_LIBDIR}/libcasadi.so.3.7
${CASADI_LIBDIR}/libcasadi_nlpsol_ipopt.so
Expand Down

0 comments on commit 1cf2c64

Please sign in to comment.