From 489479c966202a9554ef21a92e3f104a02d0f36b Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Tue, 24 Nov 2026 12:07:49 +1300 Subject: [PATCH 01/11] New version. --- VERSION.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION.txt b/VERSION.txt index f2d34ed76..09e5b2e0e 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -1.20261113.1 +1.20261124.0 From f5126b29d24b93dd4e0bfe2359b2f0f836db1e68 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Fri, 20 Nov 2026 13:55:20 +1300 Subject: [PATCH 02/11] Link libSBML's libxml2 check with bcrypt. Add bcrypt.lib to the Windows test executable for compatibility with libxml2 2.14 and later. --- cmake/common.cmake | 5 ++++- src/3rdparty/libCellML/CMakeLists.txt | 3 ++- src/3rdparty/libSBML/README.md | 1 + src/3rdparty/libSBML/patches/libsbml-no-sax1.patch | 9 +++++++++ src/3rdparty/libxml2/CMakeLists.txt | 10 ++++++++++ 5 files changed, 26 insertions(+), 2 deletions(-) diff --git a/cmake/common.cmake b/cmake/common.cmake index b838ad87a..266ddf672 100644 --- a/cmake/common.cmake +++ b/cmake/common.cmake @@ -284,9 +284,12 @@ function(configure_target TARGET) AND "${${AVAILABLE_PACKAGE_UC}_CMAKE_PACKAGE_NAME}" STREQUAL "") # There are no CMake configuration files, so manually configure the package using targets of the form # ::. + # Note: a package may also list some system libraries (e.g., bcrypt for libxml2 on Windows), which are not of + # that form and which we therefore link as is. foreach(AVAILABLE_PACKAGE_LIBRARY ${PACKAGE_LIBRARIES}) - if(NOT TARGET ${AVAILABLE_PACKAGE_LIBRARY}) + if( "${AVAILABLE_PACKAGE_LIBRARY}" MATCHES "::" + AND NOT TARGET ${AVAILABLE_PACKAGE_LIBRARY}) add_library(${AVAILABLE_PACKAGE_LIBRARY} STATIC IMPORTED) if(RELEASE_MODE) diff --git a/src/3rdparty/libCellML/CMakeLists.txt b/src/3rdparty/libCellML/CMakeLists.txt index 48e8a5fff..18b945261 100644 --- a/src/3rdparty/libCellML/CMakeLists.txt +++ b/src/3rdparty/libCellML/CMakeLists.txt @@ -39,7 +39,8 @@ if(NOT TARGET LibXml2::LibXml2) set_target_properties(LibXml2::LibXml2 PROPERTIES IMPORTED_LOCATION "@LIBXML2_LIBRARY_FILE@" INTERFACE_COMPILE_DEFINITIONS "@LIBXML2_DEFINITIONS@" - INTERFACE_INCLUDE_DIRECTORIES "@LIBXML2_INCLUDE_DIR@") + INTERFACE_INCLUDE_DIRECTORIES "@LIBXML2_INCLUDE_DIR@" + INTERFACE_LINK_LIBRARIES "@LIBXML2_LIBRARIES@") endif() set(LIBXML2_INCLUDE_DIRS "@LIBXML2_INCLUDE_DIR@") diff --git a/src/3rdparty/libSBML/README.md b/src/3rdparty/libSBML/README.md index b2205f35b..3ca633ac7 100644 --- a/src/3rdparty/libSBML/README.md +++ b/src/3rdparty/libSBML/README.md @@ -6,5 +6,6 @@ libOpenCOR doesn't handle SBML documents. It only needs libSBML because libSEDML - Make the L3v2extendedmath package's AST plugin neither evaluate SBML math nor determine its units (`src/sbml/packages/l3v2extendedmath/extension/L3v2extendedmathASTPlugin.cpp`) since libOpenCOR never does either. The AST plugin itself is still registered since it is needed to parse some of the math used in SED-ML files (e.g., `max`, `min`, and `rem`). - `libsbml-no-sax1.patch`: - Use `xmlReadFile()` rather than `xmlParseFile()` in the test executable that libSBML compiles to check libxml2 (`CMakeModules/FindLIBXML.cmake`) since we build libxml2 without its older SAX1 interface, which `xmlParseFile()` is part of. libSBML itself only uses libxml2's SAX2 interface (through a push parser), so it is not otherwise affected. + - Link that test executable against `bcrypt.lib` on Windows since libxml2 (2.14+) needs it (`CMakeModules/FindLIBXML.cmake`). This means that libSBML's SBML converters, SBML document support (incl. its validators), SBML model classes, and SBO support are not linked into libOpenCOR. The parts of libSBML that libSEDML, libNuML, and libCOMBINE use are not affected. diff --git a/src/3rdparty/libSBML/patches/libsbml-no-sax1.patch b/src/3rdparty/libSBML/patches/libsbml-no-sax1.patch index 40b7bce12..793d83cda 100644 --- a/src/3rdparty/libSBML/patches/libsbml-no-sax1.patch +++ b/src/3rdparty/libSBML/patches/libsbml-no-sax1.patch @@ -2,6 +2,15 @@ diff --git a/CMakeModules/FindLIBXML.cmake b/CMakeModules/FindLIBXML.cmake index 1796ec2..e420363 100644 --- a/CMakeModules/FindLIBXML.cmake +++ b/CMakeModules/FindLIBXML.cmake +@@ -71,7 +71,7 @@ if (EXISTS ${ZLIB_LIBRARY}) + set(ADDITIONAL_LIBS "${ADDITIONAL_LIBS}ZLIB::ZLIB;") + endif() + if (WIN32) +-set(ADDITIONAL_LIBS "ws2_32.lib;${ADDITIONAL_LIBS}") ++set(ADDITIONAL_LIBS "bcrypt.lib;ws2_32.lib;${ADDITIONAL_LIBS}") + endif() + + @@ -105,7 +105,7 @@ main(void) { LIBXML_TEST_VERSION diff --git a/src/3rdparty/libxml2/CMakeLists.txt b/src/3rdparty/libxml2/CMakeLists.txt index 239411045..1317884bb 100644 --- a/src/3rdparty/libxml2/CMakeLists.txt +++ b/src/3rdparty/libxml2/CMakeLists.txt @@ -136,3 +136,13 @@ set(LIBXML2_INCLUDE_DIR ${INSTALL_DIR}/include/libxml2 CACHE INTERNAL "${PACKAGE set(LIBXML2_LIBRARY libxml2::libxml2${LIBRARY_SUFFIX} CACHE INTERNAL "${PACKAGE_NAME}'s library.") set(LIBXML2_LIBRARY_FILE ${INSTALL_DIR}/lib/libxml2${LIBRARY_SUFFIX}${CMAKE_STATIC_LIBRARY_SUFFIX} CACHE INTERNAL "${PACKAGE_NAME}'s library.") set(LIBXML2_DEFINITIONS LIBXML_STATIC CACHE INTERNAL "${PACKAGE_NAME}'s definitions.") + +# On Windows, libxml2 (2.14+) uses BCryptGenRandom() to seed its random number generator, so anything that links +# against our copy of libxml2 also needs to link against bcrypt. +# Note: this is the case whether our package was built or retrieved, hence we set it here. + +if(WIN32) + set(LIBXML2_LIBRARIES bcrypt CACHE INTERNAL "${PACKAGE_NAME}'s system libraries.") +else() + set(LIBXML2_LIBRARIES "" CACHE INTERNAL "${PACKAGE_NAME}'s system libraries.") +endif() From 16302ce5fe664191ff7a18bde702522479381a1d Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Fri, 20 Nov 2026 13:16:10 +1300 Subject: [PATCH 03/11] Upgraded to the latest version of some of our third-party dependencies. --- src/3rdparty/OpenSSL/CMakeLists.txt | 20 ++++++++++---------- src/3rdparty/SUNDIALS/CMakeLists.txt | 22 +++++++++++----------- src/3rdparty/libCellML/CMakeLists.txt | 22 +++++++++++----------- src/3rdparty/libNuML/CMakeLists.txt | 22 +++++++++++----------- src/3rdparty/libSBML/CMakeLists.txt | 22 +++++++++++----------- src/3rdparty/libSEDML/CMakeLists.txt | 22 +++++++++++----------- src/3rdparty/libcurl/CMakeLists.txt | 20 ++++++++++---------- src/3rdparty/libxml2/CMakeLists.txt | 22 +++++++++++----------- tests/api/version/tests.cpp | 12 ++++++------ tests/bindings/javascript/version.test.js | 8 ++++---- tests/bindings/python/test_version.py | 12 ++++++------ 11 files changed, 102 insertions(+), 102 deletions(-) diff --git a/src/3rdparty/OpenSSL/CMakeLists.txt b/src/3rdparty/OpenSSL/CMakeLists.txt index 3104b4861..91f1b40c5 100644 --- a/src/3rdparty/OpenSSL/CMakeLists.txt +++ b/src/3rdparty/OpenSSL/CMakeLists.txt @@ -13,9 +13,9 @@ # limitations under the License. set(PACKAGE_NAME OpenSSL) -set(PACKAGE_VERSION 3.5.7) +set(PACKAGE_VERSION 3.5.9) set(PACKAGE_REPOSITORY openssl) -set(RELEASE_TAG openssl-3.5.7) +set(RELEASE_TAG openssl-3.5.9) set(INSTALL_DIR ${PREBUILT_DIR}/${PACKAGE_NAME}) # Either retrieve or build our package. @@ -26,42 +26,42 @@ if(LIBOPENCOR_PREBUILT_OPENSSL) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 3a443e06ead4d1dac5227bfa75b62475f8545a29) + 241ff960c322133fd3e4e17b248569d859669d54) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 9e9ab6273e4ff1486b12977a52dbdfa34f8d1d4b) + ada353bc8bd2972b057a749c2e7d7cfb52533343) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 632c107b9ace83c7cfadb77d11b10aece0e1020e) + d2216881697edfdfe94e7a570a08bc4c4a208932) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 2b8f3c948289b253cda43a4049a3250afb163771) + 44d6e22343cd600ede1c81206349ba9719d069f7) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 5182803956386e5cda0a0d8d2058cef5d2ba84f6) + 5707ec47a0e1d534978fb8d81788e3366fd91e38) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 3425a6cbc763c62250d59752a6f661f78ca48e81) + 100d437f8421b4e4944315054a71be9849a927e6) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 31b94c25bf89208b30afdf024f4061a4be154920) + 88213782641f5fa3087b150d422a812ac4be8c3b) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 5f60d7207b6d5bd12c62771610ed645eb4d5a366) + ada80102c9a727f677b88f7e451b2d1ec8f99d9b) endif() endif() else() diff --git a/src/3rdparty/SUNDIALS/CMakeLists.txt b/src/3rdparty/SUNDIALS/CMakeLists.txt index 5c21fe5ea..c2a705d59 100644 --- a/src/3rdparty/SUNDIALS/CMakeLists.txt +++ b/src/3rdparty/SUNDIALS/CMakeLists.txt @@ -13,9 +13,9 @@ # limitations under the License. set(PACKAGE_NAME SUNDIALS) -set(PACKAGE_VERSION v7.7.0) +set(PACKAGE_VERSION v7.9.0) set(PACKAGE_REPOSITORY sundials) -set(RELEASE_TAG v7.7.0) +set(RELEASE_TAG v7.9.0) set(INSTALL_DIR ${PREBUILT_DIR}/${PACKAGE_NAME}) # Either retrieve or build our package. @@ -24,49 +24,49 @@ if(LIBOPENCOR_PREBUILT_SUNDIALS) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 37b6e58e99566ca1f7ca9244bf89c07657d9aa5e) + 229f0e092897bf80505fcf947fc64e1e5fd7a676) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - afc3e17457739e8be0818f5a74ad082b89b00644) + b24bafd7fe485bf24a3e95733acc220148444ee7) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 12d24b492b6ef5b267cb27548051f9e0116ae589) + 4ea4a9775957c59fb503038341d5ad6e146979b7) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 3282dee04bb9bdca574fe3596baa2dab10be37a1) + 0fd9cb666691acbad90aa2a3a4fa5bba8bbeb308) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 505f61fc017cf1f11548f180ca1d2a19e41c808c) + c434b7c35717be268add9ac6d148e6e8f4686297) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - cb01f19ec58984344bf8954c8c600851c995a3a3) + 2699f7faf6471d6d4b3ce45e9666603ff2d55e08) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 30cf28a0d3d12d41e2f28aea6cf1e81adb806dbd) + 4905188bb7f503a4a674c3791b2bcc605ff0bfdb) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - bd49d8ace9b5a193d5734f5e3c04e86acc54a573) + 35b3a9ab8ac14620a2791fda7907e67dfb5f2674) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - b24979460c1dbe712f558fde2238d1030f38c0b9) + 405c8290f72ba30aa5fae41d598bd244936d4a5f) endif() endif() endif() diff --git a/src/3rdparty/libCellML/CMakeLists.txt b/src/3rdparty/libCellML/CMakeLists.txt index 18b945261..b379e0c48 100644 --- a/src/3rdparty/libCellML/CMakeLists.txt +++ b/src/3rdparty/libCellML/CMakeLists.txt @@ -13,9 +13,9 @@ # limitations under the License. set(PACKAGE_NAME libCellML) -set(PACKAGE_VERSION 2026-10-29) +set(PACKAGE_VERSION 2026-11-23) set(PACKAGE_REPOSITORY libcellml) -set(RELEASE_TAG 2026-10-29) +set(RELEASE_TAG 2026-11-23) set(INSTALL_DIR ${PREBUILT_DIR}/${PACKAGE_NAME}) if(WIN32 AND NOT RELEASE_MODE) @@ -71,49 +71,49 @@ if(LIBOPENCOR_PREBUILT_LIBCELLML) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - a0ae6d3219d4f25d8940f8544e743ec85bdcc7b7) + 3a846b738eefaf7105b53425ddec60a0a6522e38) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - c92f68ba407220910188c48cefa28790a2835845) + ae29696f4df7f6295e2a073779541770143aa591) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - fa8776f96e9b52be0e98d91da02623d08615ad97) + 8658c0b271c67b0336e24cafa05a766ebc383c38) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 70358d8858a9e9aa3c76a8c73722c5e1fb52325a) + 23a4cbbc1bbe79dc9896c0c86bbe181f77f2898b) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 398a41a28cfbc36069a95bab1a887a858aa20453) + 26749416fcdf02c0ddcead571d7fa50606863c1b) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - a2437ff44cf14155f1c4102df4a1570c2e4915c7) + c25fc7491ac96342764deba713363c2177192ff0) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - edc9144be7c2f157dd6498e491c5f993baf7fc9b) + 47fc197c2b2bec56713c5999b329ce55c10fa14b) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 5a29376c6a5655093c761de2e04db405048cd51f) + eef3440a059d11f9994fd22a6ae58188cbb8c261) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - eed442abf2ce3d1c48bb2ae865b275e23035af82) + 9854475736b5dd2ea376edf62f331da82130ff7f) endif() endif() endif() diff --git a/src/3rdparty/libNuML/CMakeLists.txt b/src/3rdparty/libNuML/CMakeLists.txt index 421cbf7fa..6a64231c8 100644 --- a/src/3rdparty/libNuML/CMakeLists.txt +++ b/src/3rdparty/libNuML/CMakeLists.txt @@ -13,9 +13,9 @@ # limitations under the License. set(PACKAGE_NAME libNuML) -set(PACKAGE_VERSION 1.1.7) +set(PACKAGE_VERSION 1.1.8) set(PACKAGE_REPOSITORY NuML) -set(RELEASE_TAG v1.1.7) +set(RELEASE_TAG v1.1.8) set(INSTALL_DIR ${PREBUILT_DIR}/${PACKAGE_NAME}) # Either retrieve or build our package. @@ -28,49 +28,49 @@ if(LIBOPENCOR_PREBUILT_LIBNUML) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 8db92823664d64c45f7a35cfa9b70a57b75c2fbd) + 57722c700f7ef153855bda772689adb852bd8a92) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - f8e61d8466e00c77bff15f8e8191dd86c8865036) + 20cdb403dd7883a211fd4f7d1c0d12549f5abdb1) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 933acac0854d8b3b573cb2f897f6fef6015c8bfc) + 268b2d264a2ffa7257e3e8d55891c5b510581ad6) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - a657e906dfdaaa04b24af7ad0e63f076401b4d19) + 78b43c85d39679146f19941d18def1498dc2a55c) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - f65612ad99018e8981c96e5169928ae9c6769ae5) + 0e8b01e446d99da9e57afb40ce8bc90abce86ad7) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 3f5ceeb820b70d452604df189f9bb7000801ac81) + 2fdaedb67dddde57f1e8317055ec642430cea4e8) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 03bb60d5131a2142f29b2f11c720c173069be3dd) + 44d75ef09196011a517735623611025dffa848e2) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - e57740e4fd10388ae4fdc94e5915df56ae62b29e) + 1a41b850f0e2eafc28eb034d4e071cb62cc91613) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 0d1c9a12de07f93032c77df56db4094cd52fb536) + d693864a089f44dfb0e3dfad2768682941289471) endif() endif() endif() diff --git a/src/3rdparty/libSBML/CMakeLists.txt b/src/3rdparty/libSBML/CMakeLists.txt index 652e7018e..579e18c59 100644 --- a/src/3rdparty/libSBML/CMakeLists.txt +++ b/src/3rdparty/libSBML/CMakeLists.txt @@ -13,9 +13,9 @@ # limitations under the License. set(PACKAGE_NAME libSBML) -set(PACKAGE_VERSION 5.21.0) +set(PACKAGE_VERSION 5.21.2) set(PACKAGE_REPOSITORY libsbml) -set(RELEASE_TAG v5.21.0) +set(RELEASE_TAG v5.21.2) set(INSTALL_DIR ${PREBUILT_DIR}/${PACKAGE_NAME}) # Either retrieve or build our package. @@ -28,49 +28,49 @@ if(LIBOPENCOR_PREBUILT_LIBSBML) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 3d203fac4766ed4297bd1442349525571a9d5f0b) + f941861b428cf1290a74d8c7414e62c03e966521) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 4df2b0bfcba6c00bf8c440f15814caa21c5e20e6) + c25dbbca84b11fa2733b6a96fa1dc1ef18fae7a1) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 794a9764459a9238f81a5b1ec14cc78fb82b890e) + fc38bf20b0754fc7d5e29e54dcae0aa03e0e066a) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 0812550590ce5f65aa2538e823d14c4c6059c5a3) + 90e824ade27ae1d0470ab9cff65ce19caf76ab36) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - d5b0b4ae2dcfe8e9ae09427a48ee1fe2eb78ee42) + 55e183fec1244cbad7d7cd43423f3a548b3a9b18) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 3f4ed04fcd1e330b528f020d1d217a7165820828) + 51f744fff1e7773505fbe222c688ef64638a3203) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 0039c7ef2887c4b0077cdeaa605d4079e3ad3c9c) + 4a36951974f2f617dcb67dec282db37b9864e799) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 20bdf2c21dc08f38c8cc20ea28ef3a9cc6f22c91) + cf9735c5c092c84a0fd33b69593991d4b203c937) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 5a3f890a0c363d30855ec245423943abd5bc6c7f) + 1bfd45ebb4da9bc75ad3ea15313e2aea1b5591a4) endif() endif() endif() diff --git a/src/3rdparty/libSEDML/CMakeLists.txt b/src/3rdparty/libSEDML/CMakeLists.txt index 593a60bbf..52615ef5e 100644 --- a/src/3rdparty/libSEDML/CMakeLists.txt +++ b/src/3rdparty/libSEDML/CMakeLists.txt @@ -13,9 +13,9 @@ # limitations under the License. set(PACKAGE_NAME libSEDML) -set(PACKAGE_VERSION 2.0.33) +set(PACKAGE_VERSION 2.0.34) set(PACKAGE_REPOSITORY libSEDML) -set(RELEASE_TAG v2.0.33) +set(RELEASE_TAG v2.0.34) set(INSTALL_DIR ${PREBUILT_DIR}/${PACKAGE_NAME}) # Either retrieve or build our package. @@ -28,49 +28,49 @@ if(LIBOPENCOR_PREBUILT_LIBSEDML) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - c318dff320dd2eab8cea701d35fa5e43ff3d9806) + 240944e4a55938e36e2805a83330d1bf48ccd621) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 06693844983cb86ca60dda8e3fe19d1bf11fe9d6) + af5111eb9071badaff1b27ba3152d71eff332ccf) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - c20d82349b3031567b2d1add5e0d26e713391bf0) + ba9a655d61e22a32d8b45a8872b952685f182db3) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 19ba2921a4099d3ded7b07bb36233a038177c260) + 581dda913ee6e0b6406ba3fa21d624162dc8c19f) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 1b8734b85ac8def9a3f5825a552c2ba8d23b4cc4) + 1e5afdc06a2a791fa43fa8852e782f4e33b71119) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 6c234427c88ef302c41489627abcce8a0831ec77) + f454f4d27ac5a91209e1a1fab94b9ff309422dea) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 42c0c2de8ce9b144d5500c879554131f2e90502c) + fd87d74a9a8108fb2594fe299110c2554ce39293) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - c6aad9af59207054ceff9f5df6b1bb14483c66cb) + 6a232baee40dfef586afd6bfe69dd639ad6a57b2) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - d254867de4fac920844a1326ffbc549949c9f605) + 97b39a7b33958f6faa583dcacb3f06b3a8fda46a) endif() endif() endif() diff --git a/src/3rdparty/libcurl/CMakeLists.txt b/src/3rdparty/libcurl/CMakeLists.txt index e7cf227ca..cbc446804 100644 --- a/src/3rdparty/libcurl/CMakeLists.txt +++ b/src/3rdparty/libcurl/CMakeLists.txt @@ -13,9 +13,9 @@ # limitations under the License. set(PACKAGE_NAME libcurl) -set(PACKAGE_VERSION 8.21.0) +set(PACKAGE_VERSION 8.23.0) set(PACKAGE_REPOSITORY curl) -set(RELEASE_TAG curl-8_21_0) +set(RELEASE_TAG curl-8_23_0) set(INSTALL_DIR ${PREBUILT_DIR}/${PACKAGE_NAME}) if(WIN32 AND NOT RELEASE_MODE) @@ -30,42 +30,42 @@ if(LIBOPENCOR_PREBUILT_LIBCURL) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 24bab191c14a199d2ea0b327d9297689dcd8deed) + 363d2bb5b41366564c721eb5921c49fb8b57cb3a) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 6efde92e96d338dd62c53550f738e6479d93a96b) + b2d0fd781d719ccf94d34bfbff1e90b87932fa68) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - ddda7673114812889c6399df43053aafe804dca1) + 01832d66ce8f34e1f6f486f49ce89f51a957bc97) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 539520cab28259b65d52306a865b8a3e6395374c) + 64310f97a155756137f2ff9be1ae339c2c4c74a2) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 55b0d1ea27da62bb910b11352cbc6ef4dde04f05) + 57c2caae5c466c8bc4f99aa1db37f17c04aca48f) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 30a8b6a5db12e2e3d7fd51234500cee89f7cc6df) + 8aa938a425e0bb4ac9231ff7760f0b122517fe94) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - fb2466a4137498df1f641a52ee452e6ea8bdbee9) + 7af4280869b1beab6b188eff170e8c7d85a11d50) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 8898ef45716e025d1447f06dc0c706507a497dd3) + 6fd11cfc897cae0fda42885b75c2dacfa4f8403c) endif() endif() else() diff --git a/src/3rdparty/libxml2/CMakeLists.txt b/src/3rdparty/libxml2/CMakeLists.txt index 1317884bb..6649c21e1 100644 --- a/src/3rdparty/libxml2/CMakeLists.txt +++ b/src/3rdparty/libxml2/CMakeLists.txt @@ -13,9 +13,9 @@ # limitations under the License. set(PACKAGE_NAME libxml2) -set(PACKAGE_VERSION 2.9.14) +set(PACKAGE_VERSION 2.15.4) set(PACKAGE_REPOSITORY libxml2) -set(RELEASE_TAG v2.9.14) +set(RELEASE_TAG v2.15.4) set(INSTALL_DIR ${PREBUILT_DIR}/${PACKAGE_NAME}) # Either retrieve or build our package. @@ -24,49 +24,49 @@ if(LIBOPENCOR_PREBUILT_LIBXML2) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - f67b580d4d6e20fdbf25c1fef6a0187683c8caf2) + 32b705eb70df3bcc2ad4da195e9d1004ac6965e3) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 8e0a7d05dbe9fb144dadec732f0efe262d49a359) + 8fc953ba4b8878ba8fc8d7653d1fc761e3afc445) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 9f26f4c25447cbfe94430d2d7ea773ffe6839299) + 966cdcb24b529e09a3b479412e8afd1f867b538f) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - e726158b3ab5031f87214df8f507b421bb822c33) + 21716d691f64023295c53352282534d61f175f72) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 55808611458e02c7711edc7bb7ed5529116b1055) + 114c3f6216eec5d235ad77f6c61ac5050c883cbb) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - d80688917fc42b90297fffb0ab6d2894562baad9) + 897e91edab0afb593cf34a16af35c2a4eae3f9cd) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 8ddb9699f4f6be84a3dd8afa03e7e87522278521) + 7a4c8a9460d63c04af063458b1ca73c4b564eb2c) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 66fb0eb3c0c6f007daea9044a5f3bba767423296) + c43d6334ccaf5a89fd552ddb455dc40f5083b16f) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - f85336ddbaa96c1bb0cf3eb6f279a745a886aa0a) + f96849b82c76df295dd44c962034717561216b20) endif() endif() endif() diff --git a/tests/api/version/tests.cpp b/tests/api/version/tests.cpp index 88ff441c3..713923b2b 100644 --- a/tests/api/version/tests.cpp +++ b/tests/api/version/tests.cpp @@ -75,14 +75,14 @@ TEST(VersionTest, libcurl) { // Note: this has no JavaScript equivalent since our JavaScript bindings are built without libcurl. - EXPECT_EQ(0x081500U, libOpenCOR::libcurlVersion()); - EXPECT_EQ("8.21.0-DEV", libOpenCOR::libcurlVersionString()); + EXPECT_EQ(0x081700U, libOpenCOR::libcurlVersion()); + EXPECT_EQ("8.23.0-DEV", libOpenCOR::libcurlVersionString()); } TEST(VersionTest, libSEDML) { - EXPECT_EQ(20033U, libOpenCOR::libsedmlVersion()); - EXPECT_EQ("2.0.33", libOpenCOR::libsedmlVersionString()); + EXPECT_EQ(20034U, libOpenCOR::libsedmlVersion()); + EXPECT_EQ("2.0.34", libOpenCOR::libsedmlVersionString()); } TEST(VersionTest, LLVM) @@ -93,6 +93,6 @@ TEST(VersionTest, LLVM) TEST(VersionTest, SUNDIALS) { - EXPECT_EQ(0x070700U, libOpenCOR::sundialsVersion()); - EXPECT_EQ("7.7.0", libOpenCOR::sundialsVersionString()); + EXPECT_EQ(0x070900U, libOpenCOR::sundialsVersion()); + EXPECT_EQ("7.9.0", libOpenCOR::sundialsVersionString()); } diff --git a/tests/bindings/javascript/version.test.js b/tests/bindings/javascript/version.test.js index f4bdd8465..4371ffb68 100644 --- a/tests/bindings/javascript/version.test.js +++ b/tests/bindings/javascript/version.test.js @@ -80,8 +80,8 @@ test.describe('Version tests', () => { }); test('libSEDML', () => { - assert.strictEqual(loc.libsedmlVersion(), 20033); - assert.strictEqual(loc.libsedmlVersionString(), '2.0.33'); + assert.strictEqual(loc.libsedmlVersion(), 20034); + assert.strictEqual(loc.libsedmlVersionString(), '2.0.34'); // The version is a number and the version string is a string. // Note: this has no C++ equivalent since C++ is statically typed. @@ -102,8 +102,8 @@ test.describe('Version tests', () => { }); test('SUNDIALS', () => { - assert.strictEqual(loc.sundialsVersion(), 0x070700); - assert.strictEqual(loc.sundialsVersionString(), '7.7.0'); + assert.strictEqual(loc.sundialsVersion(), 0x070900); + assert.strictEqual(loc.sundialsVersionString(), '7.9.0'); // The version is a number and the version string is a string. // Note: this has no C++ equivalent since C++ is statically typed. diff --git a/tests/bindings/python/test_version.py b/tests/bindings/python/test_version.py index e368b2285..ab23c9ed7 100644 --- a/tests/bindings/python/test_version.py +++ b/tests/bindings/python/test_version.py @@ -80,8 +80,8 @@ def test_libcombine(): def test_libcurl(): # Note: this has no JavaScript equivalent since our JavaScript bindings are built without libcurl. - assert loc.libcurl_version() == 0x081500 - assert loc.libcurl_version_string() == "8.21.0-DEV" + assert loc.libcurl_version() == 0x081700 + assert loc.libcurl_version_string() == "8.23.0-DEV" # The version is an integer and the version string is a string. # Note: this has no C++ equivalent since C++ is statically typed. @@ -91,8 +91,8 @@ def test_libcurl(): def test_libsedml(): - assert loc.libsedml_version() == 20033 - assert loc.libsedml_version_string() == "2.0.33" + assert loc.libsedml_version() == 20034 + assert loc.libsedml_version_string() == "2.0.34" # The version is an integer and the version string is a string. # Note: this has no C++ equivalent since C++ is statically typed. @@ -113,8 +113,8 @@ def test_llvm(): def test_sundials(): - assert loc.sundials_version() == 0x070700 - assert loc.sundials_version_string() == "7.7.0" + assert loc.sundials_version() == 0x070900 + assert loc.sundials_version_string() == "7.9.0" # The version is an integer and the version string is a string. # Note: this has no C++ equivalent since C++ is statically typed. From baaeeb6ef182f9cc01f32a96510b42cef094cbf5 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Mon, 23 Nov 2026 20:05:42 +1300 Subject: [PATCH 04/11] Third-party libraries: re-retrieve a prebuilt package when its SHA-1 changes. --- cmake/packages.cmake | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/cmake/packages.cmake b/cmake/packages.cmake index 5f454049f..c23aa0d78 100644 --- a/cmake/packages.cmake +++ b/cmake/packages.cmake @@ -231,15 +231,28 @@ function(add_package PACKAGE) endfunction() function(retrieve_package PACKAGE_NAME PACKAGE_VERSION PACKAGE_REPOSITORY RELEASE_TAG SHA1_VALUE) - # Check whether the package has already been retrieved by simply checking whether its installation directory exists. + # Check whether the package has already been retrieved by checking whether its installation directory contains a + # marker file with the SHA-1 value of the package that we want. If the marker file is missing or if it has a + # different SHA-1 value, then we remove the installation directory and retrieve the package anew. + # Note: the marker file is located at the root of the installation directory, so create_package() never includes + # it in a package since it only packages some specific subdirectories and/or files. set(INSTALL_DIR ${PREBUILT_DIR}/${PACKAGE_NAME}) + set(MARKER_FILE ${INSTALL_DIR}/.sha1) message(STATUS "Retrieving Package ${PACKAGE_NAME}") - if(EXISTS ${INSTALL_DIR}) + set(INSTALLED_SHA1_VALUE) + + if(EXISTS ${MARKER_FILE}) + file(READ ${MARKER_FILE} INSTALLED_SHA1_VALUE) + string(STRIP "${INSTALLED_SHA1_VALUE}" INSTALLED_SHA1_VALUE) + endif() + + if("${INSTALLED_SHA1_VALUE}" STREQUAL "${SHA1_VALUE}") message(STATUS "Retrieving Package ${PACKAGE_NAME} - Success") else() + file(REMOVE_RECURSE ${INSTALL_DIR}) # Retrieve the package. set(PACKAGE_FILE ${PACKAGE_NAME}.${PACKAGE_VERSION}.${TARGET_PLATFORM_ARCHITECTURE}.tar.gz) @@ -292,6 +305,10 @@ function(retrieve_package PACKAGE_NAME PACKAGE_VERSION PACKAGE_REPOSITORY RELEAS file(REMOVE ${REAL_PACKAGE_FILE}) + # Keep track of the SHA-1 value of the package that we have retrieved. + + file(WRITE ${MARKER_FILE} "${SHA1_VALUE}\n") + message(STATUS "Retrieving Package ${PACKAGE_NAME} - Success") else() set(FAILED_DOWNLOAD TRUE) From 61e188f3f300790eb70fc7676d1594bdf9ec1d32 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Mon, 23 Nov 2026 20:40:22 +1300 Subject: [PATCH 05/11] Comments: wrap all of them within 120 characters. --- cmake/common.cmake | 4 +-- src/3rdparty/libCellML/CMakeLists.txt | 4 +-- src/api/libopencor/solvercvode.h | 3 ++- src/api/libopencor/solverforwardeuler.h | 3 ++- .../libopencor/solverfourthorderrungekutta.h | 3 ++- src/api/libopencor/solverkinsol.h | 3 ++- .../libopencor/solversecondorderrungekutta.h | 3 ++- src/misc/compiler.cpp | 27 ++++++++++--------- src/misc/irgenerator.cpp | 8 +++--- src/misc/utils.cpp | 3 ++- src/sed/sedinstancetask.cpp | 4 +-- src/sed/sedmodel.cpp | 4 +-- src/solver/solverkinsol.cpp | 4 +-- src/support/cellml/cellmlfileruntime.cpp | 12 ++++----- src/support/cellml/cellmlfileruntime_p.h | 4 +-- src/support/combine/combinearchive.cpp | 4 +-- src/support/sedml/sedmlfile.cpp | 3 ++- tests/api/sed/concurrenttests.cpp | 4 +-- tests/api/sed/instancetests.cpp | 6 ++--- .../javascript/sed.concurrent.test.js | 4 +-- tests/bindings/python/test_sed_instance.py | 6 ++--- tests/misc/compilertests.cpp | 4 +-- tests/misc/utils.cpp | 3 ++- 23 files changed, 66 insertions(+), 57 deletions(-) diff --git a/cmake/common.cmake b/cmake/common.cmake index 266ddf672..ff807e56f 100644 --- a/cmake/common.cmake +++ b/cmake/common.cmake @@ -284,8 +284,8 @@ function(configure_target TARGET) AND "${${AVAILABLE_PACKAGE_UC}_CMAKE_PACKAGE_NAME}" STREQUAL "") # There are no CMake configuration files, so manually configure the package using targets of the form # ::. - # Note: a package may also list some system libraries (e.g., bcrypt for libxml2 on Windows), which are not of - # that form and which we therefore link as is. + # Note: a package may also list some system libraries (e.g., bcrypt for libxml2 on Windows), which are not + # of that form and which we therefore link as is. foreach(AVAILABLE_PACKAGE_LIBRARY ${PACKAGE_LIBRARIES}) if( "${AVAILABLE_PACKAGE_LIBRARY}" MATCHES "::" diff --git a/src/3rdparty/libCellML/CMakeLists.txt b/src/3rdparty/libCellML/CMakeLists.txt index b379e0c48..6a7e86919 100644 --- a/src/3rdparty/libCellML/CMakeLists.txt +++ b/src/3rdparty/libCellML/CMakeLists.txt @@ -119,8 +119,8 @@ if(LIBOPENCOR_PREBUILT_LIBCELLML) endif() elseif(NOT ONLY_BUILD_JAVASCRIPT_THIRD_PARTY_LIBRARIES) # Build our WASM version of libCellML with size optimisation. - # Note: -Os makes libCellML's contribution to our WASM file noticeably smaller without making it noticeably slower to - # load (i.e. parse and validate) or instantiate (i.e. analyse and generate code for) a model, unlike -Oz. + # Note: -Os makes libCellML's contribution to our WASM file noticeably smaller without making it noticeably slower + # to load (i.e. parse and validate) or instantiate (i.e. analyse and generate code for) a model, unlike -Oz. if(EMSCRIPTEN) set(WASM_FLAGS diff --git a/src/api/libopencor/solvercvode.h b/src/api/libopencor/solvercvode.h index 595f49308..023d7d569 100644 --- a/src/api/libopencor/solvercvode.h +++ b/src/api/libopencor/solvercvode.h @@ -23,7 +23,8 @@ namespace libOpenCOR { /** * @brief The SolverCvode class. * - * The SolverCvode class is used to represent the CVODE solver. + * The SolverCvode class is used to represent the + * CVODE solver. */ class LIBOPENCOR_EXPORT SolverCvode: public SolverOde diff --git a/src/api/libopencor/solverforwardeuler.h b/src/api/libopencor/solverforwardeuler.h index 2f898f08f..ef273d9f9 100644 --- a/src/api/libopencor/solverforwardeuler.h +++ b/src/api/libopencor/solverforwardeuler.h @@ -23,7 +23,8 @@ namespace libOpenCOR { /** * @brief The SolverCvode class. * - * The SolverCvode class is used to represent the forward Euler solver. + * The SolverCvode class is used to represent the + * forward Euler solver. */ class LIBOPENCOR_EXPORT SolverForwardEuler: public SolverOdeFixedStep diff --git a/src/api/libopencor/solverfourthorderrungekutta.h b/src/api/libopencor/solverfourthorderrungekutta.h index db77201cc..c85b2a488 100644 --- a/src/api/libopencor/solverfourthorderrungekutta.h +++ b/src/api/libopencor/solverfourthorderrungekutta.h @@ -23,7 +23,8 @@ namespace libOpenCOR { /** * @brief The SolverFourthOrderRungeKutta class. * - * The SolverFourthOrderRungeKutta class is used to represent the fourth-order Runge-Kutta solver. + * The SolverFourthOrderRungeKutta class is used to represent the + * fourth-order Runge-Kutta solver. */ class LIBOPENCOR_EXPORT SolverFourthOrderRungeKutta: public SolverOdeFixedStep diff --git a/src/api/libopencor/solverkinsol.h b/src/api/libopencor/solverkinsol.h index 5daa4b736..af513eea1 100644 --- a/src/api/libopencor/solverkinsol.h +++ b/src/api/libopencor/solverkinsol.h @@ -23,7 +23,8 @@ namespace libOpenCOR { /** * @brief The SolverKinsol class. * - * The SolverKinsol class is used to represent the KINSOL solver. + * The SolverKinsol class is used to represent the + * KINSOL solver. */ class LIBOPENCOR_EXPORT SolverKinsol: public SolverNla diff --git a/src/api/libopencor/solversecondorderrungekutta.h b/src/api/libopencor/solversecondorderrungekutta.h index 60454d02e..84d1c3460 100644 --- a/src/api/libopencor/solversecondorderrungekutta.h +++ b/src/api/libopencor/solversecondorderrungekutta.h @@ -23,7 +23,8 @@ namespace libOpenCOR { /** * @brief The SolverSecondOrderRungeKutta class. * - * The SolverSecondOrderRungeKutta class is used to represent the second-order Runge-Kutta solver. + * The SolverSecondOrderRungeKutta class is used to represent the + * second-order Runge-Kutta solver. */ class LIBOPENCOR_EXPORT SolverSecondOrderRungeKutta: public SolverOdeFixedStep diff --git a/src/misc/compiler.cpp b/src/misc/compiler.cpp index 0337bc7db..48be97c24 100644 --- a/src/misc/compiler.cpp +++ b/src/misc/compiler.cpp @@ -504,8 +504,8 @@ bool Compiler::Impl::compile(const std::string &pCode, const Strings &pEntryPoin // for // clang -O3 -fno-math-errno -fno-trapping-math -fno-stack-protector -funroll-loops -march=native // (with -mcpu=native rather than -march=native on AArch64), and our IR generator only needs to know about the - // parts of it that depend on our target. For our WASM version, it is the IR for wasm32-unknown-emscripten with - // -fvisibility=hidden and a static relocation model (we don't link our code, we just instantiate it). + // parts of it that depend on our target. For our WASM version, it is the IR for wasm32-unknown-emscripten + // with -fvisibility=hidden and a static relocation model (we don't link our code, we just instantiate it). static const auto irGeneratorTarget {[&targetMachine] { IrGeneratorTarget res; @@ -618,9 +618,10 @@ bool Compiler::Impl::compile(const std::string &pCode, const Strings &pEntryPoin llvmContext->setDiscardValueNames(true); #if defined(BUILDING_ON_MACOS) && defined(BUILDING_ON_ARM) - // Skip LLVM's machine instruction scheduler on Apple Silicon since, there, it accounts for about a third of the time - // it takes to compile a big model (AArch64 schedules in both directions while tracking register pressure) while it - // makes no measurable difference to the time it takes to compute it (Apple's cores are wide out-of-order cores). + // Skip LLVM's machine instruction scheduler on Apple Silicon since, there, it accounts for about a third of the + // time it takes to compile a big model (AArch64 schedules in both directions while tracking register pressure) + // while it makes no measurable difference to the time it takes to compute it (Apple's cores are wide out-of-order + // cores). // Note: an OptPassGate is given the argument of a (legacy) pass, i.e. "machine-scheduler" in our case. class NoMachineSchedulerPassGate: public llvm::OptPassGate @@ -705,14 +706,14 @@ bool Compiler::Impl::compile(const std::string &pCode, const Strings &pEntryPoin // Determine the size of the stack that our WebAssembly code needs (see initialiseWorkerWasm() in // cellmlfileruntime.cpp). - // Note: WebAssembly keeps our values in its own locals, so the only memory that our code uses on its stack (which is - // in linear memory and has no guard page) is that of our allocas. Also, our code is never re-entered: our - // functions may call nlaSolve(), which runs on the stack of our main WebAssembly module and calls our objective - // functions, which themselves don't call any of our functions. So, the memory needed by all of our allocas is - // an upper bound on the size of the stack that our code needs, as long as our allocas are static (i.e. they - // have a fixed size and are in the entry block of their function otherwise they would allocate some memory - // each time they are executed). We align each of our functions' frames to 16 bytes, as the WebAssembly - // backend does. + // Note: WebAssembly keeps our values in its own locals, so the only memory that our code uses on its stack (which + // is in linear memory and has no guard page) is that of our allocas. Also, our code is never re-entered: our + // functions may call nlaSolve(), which runs on the stack of our main WebAssembly module and calls our + // objective functions, which themselves don't call any of our functions. So, the memory needed by all of our + // allocas is an upper bound on the size of the stack that our code needs, as long as our allocas are static + // (i.e. they have a fixed size and are in the entry block of their function otherwise they would allocate + // some memory each time they are executed). We align each of our functions' frames to 16 bytes, as the + // WebAssembly backend does. static constexpr uint64_t WASM_STACK_ALIGNMENT {16}; diff --git a/src/misc/irgenerator.cpp b/src/misc/irgenerator.cpp index 7a88a7fc5..8fb6a8ee5 100644 --- a/src/misc/irgenerator.cpp +++ b/src/misc/irgenerator.cpp @@ -1801,8 +1801,8 @@ class Parser // A postfix expression preceded by some unary operators and/or casts, which apply from right to left, i.e. // -(double) !x is -((double) (!x)). // Note: this is where we keep track of the nesting depth of our expressions since a parenthesised expression, a - // subscript, an argument, and the second operand of the conditional operator are all parsed from here, and - // since our unary operators and casts are nested in one another. + // subscript, an argument, and the second operand of the conditional operator are all parsed from here, + // and since our unary operators and casts are nested in one another. DepthGuard depthGuard(mDepth); @@ -2116,8 +2116,8 @@ class Parser return res; } - // Note: as in C, an integer constant with a leading 0 is an octal constant, and an integer constant is an int if - // it fits in one, otherwise a long long (and it must fit in one). + // Note: as in C, an integer constant with a leading 0 is an octal constant, and an integer constant is an int + // if it fits in one, otherwise a long long (and it must fit in one). uint64_t value {0}; diff --git a/src/misc/utils.cpp b/src/misc/utils.cpp index e5a1d9ebc..6b84f52ba 100644 --- a/src/misc/utils.cpp +++ b/src/misc/utils.cpp @@ -1429,7 +1429,8 @@ std::optional parseInt(const std::string &pString) { // Parse the given string as an int value, i.e. as 0 or as a non-zero decimal number with an optional sign, no // leading zero, and an optional non-negative exponent (e.g., "-123" or "1e3", i.e. 1000), i.e. whether it matches - // "^([-+]?[1-9][0-9]*([eE][+]?[0-9]+)?|0)$", which value must fit in an int (e.g., "1e10" is not a valid int value). + // "^([-+]?[1-9][0-9]*([eE][+]?[0-9]+)?|0)$", which value must fit in an int (e.g., "1e10" is not a valid int + // value). // Note: we compute the absolute value of the int value using a 64-bit integer and stop as soon as it is too big, so // that it never overflows. Also, since that absolute value is at least 1, an exponent of 10 or more would // always result in a value that is too big. diff --git a/src/sed/sedinstancetask.cpp b/src/sed/sedinstancetask.cpp index 1ee64523b..acfcb64e9 100644 --- a/src/sed/sedinstancetask.cpp +++ b/src/sed/sedinstancetask.cpp @@ -664,8 +664,8 @@ void SedInstanceTask::Impl::run(double pVoiStart, double pVoiEnd, double pVoiInt // Note #2: we compute our variables even when we don't track our results (i.e. when we run our simulation from // its initial time to its output start time). Indeed, computeVariables() may solve some NLA systems, // which use the current value of their unknowns as an initial guess, so computing them at each output - // interval keeps that initial guess close to the solution. Otherwise, computeVariables() is cheap since - // most of our algebraic variables are computed by computeRates(). + // interval keeps that initial guess close to the solution. Otherwise, computeVariables() is cheap + // since most of our algebraic variables are computed by computeRates(). computeRates(mVoi, mStates, mRates, mConstants, mComputedConstants, mAlgebraicVariables); computeVariablesForDifferentialModel(mVoi, mStates, mRates, mConstants, mComputedConstants, mAlgebraicVariables); diff --git a/src/sed/sedmodel.cpp b/src/sed/sedmodel.cpp index 195b84566..541cf56d4 100644 --- a/src/sed/sedmodel.cpp +++ b/src/sed/sedmodel.cpp @@ -208,8 +208,8 @@ void SedModel::Impl::serialise(xmlNodePtr pNode) const source = std::move(encodedSource); } - // A relative model source which first segment contains a colon (e.g., "my:model.cellml") would be mistaken for a URI - // with a scheme (i.e. "my"), so we prefix it with "./" (i.e. "./my:model.cellml"), as recommended by + // A relative model source which first segment contains a colon (e.g., "my:model.cellml") would be mistaken for a + // URI with a scheme (i.e. "my"), so we prefix it with "./" (i.e. "./my:model.cellml"), as recommended by // https://www.rfc-editor.org/rfc/rfc3986#section-4.2. // Note: a model source is relative if we were given a base path (see relativePath()) or if the file name of a local // model is relative (see urlPath()). An absolute file name, including one with the drive letter of a Windows diff --git a/src/solver/solverkinsol.cpp b/src/solver/solverkinsol.cpp index fd46fd9b7..fd5818ad5 100644 --- a/src/solver/solverkinsol.cpp +++ b/src/solver/solverkinsol.cpp @@ -454,8 +454,8 @@ bool SolverKinsol::Impl::solve(ComputeObjectiveFunction pComputeObjectiveFunctio ASSERT_EQ(KINSetLinearSolver(kinsolObjects.solver, kinsolObjects.sunLinearSolver, kinsolObjects.sunMatrix), KINLS_SUCCESS); - // Keep track of the linear solver settings with which our KINSOL objects were created and of the fact that their - // linear solver has yet to be set up. + // Keep track of the linear solver settings with which our KINSOL objects were created and of the fact that + // their linear solver has yet to be set up. kinsolObjects.linearSolver = mLinearSolver; kinsolObjects.upperHalfBandwidth = mUpperHalfBandwidth; diff --git a/src/support/cellml/cellmlfileruntime.cpp b/src/support/cellml/cellmlfileruntime.cpp index 91182e092..5b6880b8d 100644 --- a/src/support/cellml/cellmlfileruntime.cpp +++ b/src/support/cellml/cellmlfileruntime.cpp @@ -175,8 +175,8 @@ CellmlFileRuntime::Impl::Impl(const CellmlFilePtr &pCellmlFile, const SolverNlaP if (pNlaSolver != nullptr) { // Note: both uintptr_t and size_t are defined as follows: - // - Emscripten (wasm32): unsigned int (which is the same as unsigned long on 32 bits, which is what we - // use here); + // - Emscripten (wasm32): unsigned int (which is the same as unsigned long on 32 bits, which is what + // we use here); // - Windows (64 bits): unsigned long long; and // - Linux/macOS (64 bits): unsigned long. @@ -242,8 +242,8 @@ extern void nlaSolve(uintptr_t nlaSolverAddress, void (*objectiveFunction)(doubl // Compile the generated code. // Note: only our four methods need to be accessible from outside of our generated code (our objective functions - // are only ever passed to nlaSolve() by our generated code), so we let our compiler know about them, so that - // all our other functions (e.g., findRoot0()) can be made internal. + // are only ever passed to nlaSolve() by our generated code), so we let our compiler know about them, so + // that all our other functions (e.g., findRoot0()) can be made internal. static const Strings ENTRY_POINTS {"initialiseArrays", "computeComputedConstants", "computeRates", "computeVariables"}; @@ -429,8 +429,8 @@ EM_JS(int, initialiseWorkerWasmJS, (int wasmModuleId, const void* wasmBytesPtr, nlaSolve: _wasmNlaSolve, // Arithmetic operators. - // Note: LLVM may optimise pow(b, x), where b is a power of two (e.g., 2.0, 4.0, or 0.5), to exp2(n*x), so we - // also need exp2(). + // Note: LLVM may optimise pow(b, x), where b is a power of two (e.g., 2.0, 4.0, or 0.5), to exp2(n*x), so + // we also need exp2(). pow: _pow, sqrt: _sqrt, diff --git a/src/support/cellml/cellmlfileruntime_p.h b/src/support/cellml/cellmlfileruntime_p.h index 1193a952c..91bb90fdb 100644 --- a/src/support/cellml/cellmlfileruntime_p.h +++ b/src/support/cellml/cellmlfileruntime_p.h @@ -34,8 +34,8 @@ class CellmlFileRuntime::Impl: public Logger::Impl int mWasmModuleId {0}; - // The size, in bytes, of the stack of our WebAssembly instances (see initialiseWorkerWasm()), i.e. the size that our - // compiler tells us our WebAssembly code needs plus a safety margin. + // The size, in bytes, of the stack of our WebAssembly instances (see initialiseWorkerWasm()), i.e. the size that + // our compiler tells us our WebAssembly code needs plus a safety margin. static constexpr size_t WASM_STACK_MARGIN_SIZE {65536}; diff --git a/src/support/combine/combinearchive.cpp b/src/support/combine/combinearchive.cpp index 4343c41d6..56bfe4977 100644 --- a/src/support/combine/combinearchive.cpp +++ b/src/support/combine/combinearchive.cpp @@ -240,8 +240,8 @@ CombineArchive::Impl::Impl(const FilePtr &pFile, libcombine::CombineArchive *pAr // Determine the master file, if none was specified. // Note: the master attribute is optional, so if no master file was specified then we consider the SED-ML file to be // the master file, if there is only one SED-ML file, or the CellML file to be the master file, if there is no - // SED-ML file and only one CellML file. Otherwise, it is up to the user (or a tool like Web OpenCOR) to decide - // which file should be used. + // SED-ML file and only one CellML file. Otherwise, it is up to the user (or a tool like Web OpenCOR) to + // decide which file should be used. if (mMasterFile == nullptr) { if (mSedmlFileCount == 1) { diff --git a/src/support/sedml/sedmlfile.cpp b/src/support/sedml/sedmlfile.cpp index ed017cb2b..8f6cd3856 100644 --- a/src/support/sedml/sedmlfile.cpp +++ b/src/support/sedml/sedmlfile.cpp @@ -275,7 +275,8 @@ NlaSolverInfo SedmlFile::Impl::legacyNlaSolver(const libsedml::SedSimulation *se for (unsigned int j {0}; j < nlaSolverNode.getNumChildren(); ++j) { const auto &nlaSolverPropertyNode {nlaSolverNode.getChild(j)}; - // Convert the properties to a pointer to libsedml::SedAlgorithm so that we can then call SolverKinsol::Impl::populate() on it. + // Convert the properties to a pointer to libsedml::SedAlgorithm so that we can then call + // SolverKinsol::Impl::populate() on it. if ((nlaSolverPropertyNode.getURI() == OPENCOR_NAMESPACE) && (nlaSolverPropertyNode.getName() == "solverProperty")) { diff --git a/tests/api/sed/concurrenttests.cpp b/tests/api/sed/concurrenttests.cpp index 3a93194c0..6c597f5d2 100644 --- a/tests/api/sed/concurrenttests.cpp +++ b/tests/api/sed/concurrenttests.cpp @@ -159,8 +159,8 @@ TEST(ConcurrentSedTest, parallelAsyncLifecycle) TEST(ConcurrentSedTest, parallelInstancesWithNlaSystems) { - // Make sure that simulations of a model with NLA systems don't interfere with one another when run in parallel, i.e. - // that they give the same results as when run sequentially. + // Make sure that simulations of a model with NLA systems don't interfere with one another when run in parallel, + // i.e. that they give the same results as when run sequentially. static const auto INSTANCE_COUNT {3U}; diff --git a/tests/api/sed/instancetests.cpp b/tests/api/sed/instancetests.cpp index 564e5094d..85d13c5de 100644 --- a/tests/api/sed/instancetests.cpp +++ b/tests/api/sed/instancetests.cpp @@ -1887,9 +1887,9 @@ TEST(InstanceSedTest, odeModelResultsReusedWhenRunAgain) TEST(InstanceSedTest, odeModelWithRoundingErrorOnOutputEndTime) { - // Note: with an output start time of -1, an output end time of 0, and 49 steps, the time of the last step is computed - // as -1 + 49 * (1 / 49), which is not exactly 0 due to rounding errors. This used to result in an extra step - // being taken and its results being written past the end of our results arrays. + // Note: with an output start time of -1, an output end time of 0, and 49 steps, the time of the last step is + // computed as -1 + 49 * (1 / 49), which is not exactly 0 due to rounding errors. This used to result in an + // extra step being taken and its results being written past the end of our results arrays. auto file {libOpenCOR::File::create(libOpenCOR::resourcePath("cellml_2.cellml"))}; auto document {libOpenCOR::SedDocument::create(file)}; diff --git a/tests/bindings/javascript/sed.concurrent.test.js b/tests/bindings/javascript/sed.concurrent.test.js index d60c0d5c1..55a3034e6 100644 --- a/tests/bindings/javascript/sed.concurrent.test.js +++ b/tests/bindings/javascript/sed.concurrent.test.js @@ -136,8 +136,8 @@ test.describe('Sed concurrent tests', () => { }); test('Parallel instances with NLA systems', () => { - // Make sure that simulations of a model with NLA systems don't interfere with one another when run in parallel, i.e. - // that they give the same results as when run sequentially. + // Make sure that simulations of a model with NLA systems don't interfere with one another when run in parallel, + // i.e. that they give the same results as when run sequentially. const INSTANCE_COUNT = 3; diff --git a/tests/bindings/python/test_sed_instance.py b/tests/bindings/python/test_sed_instance.py index 231b015d9..8e37fe899 100644 --- a/tests/bindings/python/test_sed_instance.py +++ b/tests/bindings/python/test_sed_instance.py @@ -1860,9 +1860,9 @@ def test_ode_model_results_reused_when_run_again(): def test_ode_model_with_rounding_error_on_output_end_time(): - # Note: with an output start time of -1, an output end time of 0, and 49 steps, the time of the last step is computed - # as -1 + 49 * (1 / 49), which is not exactly 0 due to rounding errors. This used to result in an extra step - # being taken and its results being written past the end of our results arrays. + # Note: with an output start time of -1, an output end time of 0, and 49 steps, the time of the last step is + # computed as -1 + 49 * (1 / 49), which is not exactly 0 due to rounding errors. This used to result in an + # extra step being taken and its results being written past the end of our results arrays. file = loc.File(utils.resource_path("cellml_2.cellml")) document = loc.SedDocument(file) diff --git a/tests/misc/compilertests.cpp b/tests/misc/compilertests.cpp index 8340ff7ec..3f8f59af7 100644 --- a/tests/misc/compilertests.cpp +++ b/tests/misc/compilertests.cpp @@ -412,8 +412,8 @@ double pointers(S *s, S *t) { return ((s ? s : t)->x) + (!s ? 1.0 : 0.0); } EXPECT_EQ((a > 0.0) ? 1.0 : 2.0, function(mCompiler, "integers")(a)); EXPECT_EQ((a > 0.0) ? 1.0 : 2.0, function(mCompiler, "voidArms")(a)); - // Note: we use a volatile variable for -a since MSVC would otherwise turn (a > 0.0) ? a : -a into fabs(a), which - // is wrong for a = 0.0 (i.e. we would get 0.0 rather than -0.0). + // Note: we use a volatile variable for -a since MSVC would otherwise turn (a > 0.0) ? a : -a into fabs(a), + // which is wrong for a = 0.0 (i.e. we would get 0.0 rather than -0.0). const volatile double minusA {-a}; diff --git a/tests/misc/utils.cpp b/tests/misc/utils.cpp index 107a03628..1c57b4d69 100644 --- a/tests/misc/utils.cpp +++ b/tests/misc/utils.cpp @@ -104,7 +104,8 @@ TEST(UtilsTest, decodeUrl) EXPECT_EQ(libOpenCOR::decodeUrl("%XX"), "%XX"); EXPECT_EQ(libOpenCOR::decodeUrl("%2X"), "%2X"); - // Don't decode the reserved characters, the percent sign, and the backslash, but uppercase their hexadecimal digits. + // Don't decode the reserved characters, the percent sign, and the backslash, but uppercase their hexadecimal + // digits. EXPECT_EQ(libOpenCOR::decodeUrl("%20!%22#$%25&'()*+,-./0123456789:;%3C=%3E?@ABCDEFGHIJKLMNOPQRSTUVWXYZ%5B%5C%5D%5E_%60abcdefghijklmnopqrstuvwxyz%7B%7C%7D~", false), " !\"#$%25&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ%5B%5C%5D^_`abcdefghijklmnopqrstuvwxyz{|}~"); From a993e76d662cc606e68bdff49502b13fe502fd97 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Mon, 23 Nov 2026 20:51:51 +1300 Subject: [PATCH 06/11] Solvers: fixed the class descriptions of SolverForwardEuler and SolverOdeFixedStep. --- src/api/libopencor/solverforwardeuler.h | 4 ++-- src/api/libopencor/solverodefixedstep.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/libopencor/solverforwardeuler.h b/src/api/libopencor/solverforwardeuler.h index ef273d9f9..d6bd1ac04 100644 --- a/src/api/libopencor/solverforwardeuler.h +++ b/src/api/libopencor/solverforwardeuler.h @@ -21,9 +21,9 @@ limitations under the License. namespace libOpenCOR { /** - * @brief The SolverCvode class. + * @brief The SolverForwardEuler class. * - * The SolverCvode class is used to represent the + * The SolverForwardEuler class is used to represent the * forward Euler solver. */ diff --git a/src/api/libopencor/solverodefixedstep.h b/src/api/libopencor/solverodefixedstep.h index cd68b2dca..974eacbc6 100644 --- a/src/api/libopencor/solverodefixedstep.h +++ b/src/api/libopencor/solverodefixedstep.h @@ -23,9 +23,9 @@ limitations under the License. namespace libOpenCOR { /** - * @brief The SolverCvode class. + * @brief The SolverOdeFixedStep class. * - * The SolverCvode class is used to represent the forward Euler solver. + * The SolverOdeFixedStep class is used to represent a fixed-step ODE solver. */ class LIBOPENCOR_EXPORT SolverOdeFixedStep: public SolverOde From de8ec2b9c2db27c51098142e597a28775ba9c993 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Mon, 23 Nov 2026 20:35:38 +1300 Subject: [PATCH 07/11] CI/CD: switch to Ubuntu 26.04 to get GCC 16 from its official archive. --- .github/workflows/cd.yml | 18 ++++++++---------- .github/workflows/ci.yml | 29 ++++++++++++++--------------- 2 files changed, 22 insertions(+), 25 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0fb0f9b24..3c05d738a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -48,19 +48,19 @@ jobs: build_type: Debug shared_libs: ON - name: 'Linux static library (Intel)' - os: ubuntu-24.04 + os: ubuntu-26.04 build_type: Release shared_libs: OFF - name: 'Linux shared library (Intel)' - os: ubuntu-24.04 + os: ubuntu-26.04 build_type: Release shared_libs: ON - name: 'Linux static library (ARM)' - os: ubuntu-24.04-arm + os: ubuntu-26.04-arm build_type: Release shared_libs: OFF - name: 'Linux shared library (ARM)' - os: ubuntu-24.04-arm + os: ubuntu-26.04-arm build_type: Release shared_libs: ON - name: 'macOS static library (Intel)' @@ -109,7 +109,6 @@ jobs: - name: Install GCC 16 if: ${{ runner.os == 'Linux' }} run: | - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install -y gcc-16 g++-16 sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-16 100 @@ -149,9 +148,9 @@ jobs: os: windows-11-arm arch: amd64_arm64 - name: 'Linux Python wheels (Intel)' - os: ubuntu-24.04 + os: ubuntu-26.04 - name: 'Linux Python wheels (ARM)' - os: ubuntu-24.04-arm + os: ubuntu-26.04-arm - name: 'macOS Python wheels (Intel)' os: macos-15-intel - name: 'macOS Python wheels (ARM)' @@ -207,7 +206,7 @@ jobs: python_pypi: needs: [python_wheels] name: Publish to PyPI - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 environment: pypi if: ${{ startsWith(github.ref, 'refs/tags/v') }} steps: @@ -221,7 +220,7 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 webassembly: name: WebAssembly - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 env: BUILDCACHE_ACCURACY: STRICT BUILDCACHE_COMPRESS_FORMAT: ZSTD @@ -244,7 +243,6 @@ jobs: run: npm install -g npm@latest - name: Install Brotli run: | - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install -y brotli - name: Install CMake and Ninja diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51c7477e2..c67a53e18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,7 +76,7 @@ jobs: install_prefix: cmake copy_dll: ON - name: 'Linux static library (Intel)' - os: ubuntu-24.04 + os: ubuntu-26.04 build_type: Release code_analysis: OFF code_coverage: OFF @@ -90,7 +90,7 @@ jobs: install_uninstall_and_package: ON install_prefix: lib/cmake - name: 'Linux shared library (Intel)' - os: ubuntu-24.04 + os: ubuntu-26.04 build_type: Release code_analysis: OFF code_coverage: OFF @@ -104,7 +104,7 @@ jobs: install_uninstall_and_package: ON install_prefix: lib/cmake - name: 'Linux static library (ARM)' - os: ubuntu-24.04-arm + os: ubuntu-26.04-arm build_type: Release code_analysis: OFF code_coverage: OFF @@ -118,7 +118,7 @@ jobs: install_uninstall_and_package: ON install_prefix: lib/cmake - name: 'Linux shared library (ARM)' - os: ubuntu-24.04-arm + os: ubuntu-26.04-arm build_type: Release code_analysis: OFF code_coverage: OFF @@ -188,7 +188,7 @@ jobs: install_uninstall_and_package: ON install_prefix: lib/cmake - name: 'JavaScript bindings' - os: ubuntu-24.04 + os: ubuntu-26.04 build_type: Release code_analysis: OFF code_coverage: OFF @@ -214,7 +214,7 @@ jobs: target: python_unit_testing pip_install_test_and_uninstall: ON - name: 'Linux Python bindings' - os: ubuntu-24.04 + os: ubuntu-26.04 build_type: Release code_analysis: OFF code_coverage: OFF @@ -242,7 +242,7 @@ jobs: pip_install_prerequisites: sudo uv pip install --system cmake scikit-build pip_install_test_and_uninstall: ON - name: 'Code formatting' - os: ubuntu-24.04 + os: ubuntu-26.04 build_type: Release code_analysis: OFF code_coverage: OFF @@ -255,7 +255,7 @@ jobs: context: PATH=$GITHUB_WORKSPACE:$PATH target: check_code_formatting - name: 'JavaScript code formatting' - os: ubuntu-24.04 + os: ubuntu-26.04 build_type: Release code_analysis: OFF code_coverage: OFF @@ -267,7 +267,7 @@ jobs: unit_testing: OFF target: javascript_check_code_formatting - name: 'Python code formatting' - os: ubuntu-24.04 + os: ubuntu-26.04 build_type: Release code_analysis: OFF code_coverage: OFF @@ -279,7 +279,7 @@ jobs: unit_testing: OFF target: python_check_code_formatting - name: 'Code analysis' - os: ubuntu-24.04 + os: ubuntu-26.04 build_type: Release code_analysis: ON code_coverage: OFF @@ -316,7 +316,7 @@ jobs: unit_testing: ON target: memory_checks - name: 'Documentation' - os: ubuntu-24.04 + os: ubuntu-26.04 build_type: Release code_analysis: OFF code_coverage: OFF @@ -362,7 +362,6 @@ jobs: - name: Install GCC 16 if: ${{ runner.os == 'Linux' }} run: | - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install -y gcc-16 g++-16 sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-16 100 @@ -505,9 +504,9 @@ jobs: matrix: include: - name: 'Linux Python wheel (Intel)' - os: ubuntu-24.04 + os: ubuntu-26.04 - name: 'Linux Python wheel (ARM)' - os: ubuntu-24.04-arm + os: ubuntu-26.04-arm steps: - name: Set the timezone to New Zealand run: sudo timedatectl set-timezone Pacific/Auckland @@ -527,7 +526,7 @@ jobs: CIBW_SKIP: '*musllinux*' spell_check: name: Spell check - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 steps: - name: Set the timezone to New Zealand run: sudo timedatectl set-timezone Pacific/Auckland From feeda1bc68dcf978fee507f508504d7413c2b03a Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Tue, 24 Nov 2026 09:53:28 +1300 Subject: [PATCH 08/11] Third-party libraries: switch to Ubuntu 26.04. --- .github/workflows/buildThirdPartyLibrary.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildThirdPartyLibrary.yml b/.github/workflows/buildThirdPartyLibrary.yml index 1a401b920..3a7cf06a1 100644 --- a/.github/workflows/buildThirdPartyLibrary.yml +++ b/.github/workflows/buildThirdPartyLibrary.yml @@ -42,11 +42,11 @@ jobs: # glibc symbols that are not available in that container, resulting in our Python wheels failing to # load. - name: 'Linux (Intel)' - os: ubuntu-24.04 + os: ubuntu-26.04 container: quay.io/pypa/manylinux_2_34_x86_64:2025.09.19-1 build_type: Release - name: 'Linux (ARM)' - os: ubuntu-24.04-arm + os: ubuntu-26.04-arm container: quay.io/pypa/manylinux_2_34_aarch64:2025.09.19-1 build_type: Release - name: 'macOS (Intel)' From 0b120b6399927485a062b748073653cce3305c38 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Tue, 24 Nov 2026 10:05:21 +1300 Subject: [PATCH 09/11] CI/CD: install TypeScript since Ubuntu 26.04 doesn't provide it. --- .github/workflows/cd.yml | 2 ++ .github/workflows/ci.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 3c05d738a..0cf4e1338 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -253,6 +253,8 @@ jobs: cache_key: cd-webassembly - name: Install Emscripten uses: emscripten-core/setup-emsdk@v16 + - name: Install TypeScript + run: npm install -g typescript - name: Configure libOpenCOR run: cmake -G Ninja -S . -B build -DBUILD_TYPE=Release -DCODE_ANALYSIS=OFF -DCODE_COVERAGE=OFF -DDOCUMENTATION=OFF -DJAVASCRIPT_BINDINGS=ON -DJAVASCRIPT_UNIT_TESTING=OFF -DMEMORY_CHECKS=OFF -DPYTHON_BINDINGS=OFF -DPYTHON_UNIT_TESTING=OFF -DSHARED_LIBS=OFF -DUNIT_TESTING=OFF - name: Build WebAssembly diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c67a53e18..9c6c37668 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -386,6 +386,9 @@ jobs: - name: Install Emscripten if: ${{ matrix.javascript_support == 'ON' }} uses: emscripten-core/setup-emsdk@v16 + - name: Install TypeScript + if: ${{ matrix.javascript_support == 'ON' }} + run: npm install -g typescript - name: Install Biome if: ${{ matrix.target == 'javascript_check_code_formatting' }} run: | From a873daf2654d86bb9a49ab3b63073b91d1449d4f Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Tue, 24 Nov 2026 10:12:39 +1300 Subject: [PATCH 10/11] CI/CD: use Ubuntu's default GCC rather than installing GCC 16. --- .github/workflows/cd.yml | 9 --------- .github/workflows/ci.yml | 9 --------- 2 files changed, 18 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0cf4e1338..0a57045f3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -106,15 +106,6 @@ jobs: uses: TheMrMilchmann/setup-msvc-dev@v4.1.0 with: arch: ${{ matrix.arch }} - - name: Install GCC 16 - if: ${{ runner.os == 'Linux' }} - run: | - sudo apt-get update - sudo apt-get install -y gcc-16 g++-16 - sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-16 100 - sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-16 100 - echo "CC=gcc-16" >> "$GITHUB_ENV" - echo "CXX=g++-16" >> "$GITHUB_ENV" - name: Configure libOpenCOR run: cmake -G Ninja -S . -B build -DBUILD_TYPE=${{ matrix.build_type }} -DCODE_ANALYSIS=OFF -DCODE_COVERAGE=OFF -DDOCUMENTATION=OFF -DJAVASCRIPT_BINDINGS=OFF -DMEMORY_CHECKS=OFF -DPYTHON_BINDINGS=OFF -DPYTHON_UNIT_TESTING=OFF -DSHARED_LIBS=${{ matrix.shared_libs }} -DUNIT_TESTING=OFF - name: Build libOpenCOR diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c6c37668..45b95cdee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -359,15 +359,6 @@ jobs: uses: TheMrMilchmann/setup-msvc-dev@v4.1.0 with: arch: ${{ matrix.arch }} - - name: Install GCC 16 - if: ${{ runner.os == 'Linux' }} - run: | - sudo apt-get update - sudo apt-get install -y gcc-16 g++-16 - sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-16 100 - sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-16 100 - echo "CC=gcc-16" >> "$GITHUB_ENV" - echo "CXX=g++-16" >> "$GITHUB_ENV" - name: Install LLVM if: ${{ matrix.code_coverage == 'ON' }} run: brew install llvm From fff8f1a685a0f614d35342f186256d705519f8e5 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Tue, 24 Nov 2026 11:47:38 +1300 Subject: [PATCH 11/11] Third-party libraries: updated the SHA-1 values of our packages. --- src/3rdparty/LLVM/CMakeLists.txt | 18 +++++++++--------- src/3rdparty/OpenSSL/CMakeLists.txt | 16 ++++++++-------- src/3rdparty/SUNDIALS/CMakeLists.txt | 18 +++++++++--------- src/3rdparty/libCellML/CMakeLists.txt | 18 +++++++++--------- src/3rdparty/libNuML/CMakeLists.txt | 18 +++++++++--------- src/3rdparty/libSBML/CMakeLists.txt | 18 +++++++++--------- src/3rdparty/libSEDML/CMakeLists.txt | 18 +++++++++--------- src/3rdparty/libcurl/CMakeLists.txt | 16 ++++++++-------- src/3rdparty/libxml2/CMakeLists.txt | 18 +++++++++--------- src/3rdparty/zipper/CMakeLists.txt | 18 +++++++++--------- src/3rdparty/zlib/CMakeLists.txt | 18 +++++++++--------- 11 files changed, 97 insertions(+), 97 deletions(-) diff --git a/src/3rdparty/LLVM/CMakeLists.txt b/src/3rdparty/LLVM/CMakeLists.txt index 928d69b47..7bbc193a5 100644 --- a/src/3rdparty/LLVM/CMakeLists.txt +++ b/src/3rdparty/LLVM/CMakeLists.txt @@ -138,49 +138,49 @@ if(LIBOPENCOR_PREBUILT_LLVM) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 6155cad48ecc59cf37d8b7dd8c968ae816a7fefe) + c1b146ac732d76c0e0e05a24bbc7aabe53c30326) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 923ce9c811c43650bebba33e8c0885f1ec3070dc) + 2a80ae0661f34766ae0ce0ca087f9ed999065844) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - dc9f91e299fa9d940b1c88b67a945a914ca09685) + 1b139c6a9c192bee75716cb5c03a4e2720f9585d) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 9676e1ca3a383e3947a5fe3487086d8308c2abbd) + 21e49ed3363f3729162a69a419b9b074e2dfaa1f) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 7b5c4221520251993c411a94325061a26c915c06) + eb1d2331878f332cbb52e65b46f4a6a4279338e4) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 27a76d020977ebf95e20fbd64fcb94c2c78850a9) + 9ba7219fe033ce76c58edca02fb62c2cfa254b2d) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 6f02a9a59809cf02d5bde496c1cca01320de1a35) + 64366d5a63f78c338fb7c9c068a51ffa0ab26df0) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 9959a76393293c7fbe4401ccebeb12c72faab2f8) + 0f2ee98073b218d40c6cf463838d3fe42ffa7f5e) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 5591b378a47c1f8a1c98a0ec81607c5e5f9eeb7d) + bbf9c4259ddab7375ba4cbe780933498c8631e68) endif() endif() endif() diff --git a/src/3rdparty/OpenSSL/CMakeLists.txt b/src/3rdparty/OpenSSL/CMakeLists.txt index 91f1b40c5..921091b74 100644 --- a/src/3rdparty/OpenSSL/CMakeLists.txt +++ b/src/3rdparty/OpenSSL/CMakeLists.txt @@ -26,42 +26,42 @@ if(LIBOPENCOR_PREBUILT_OPENSSL) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 241ff960c322133fd3e4e17b248569d859669d54) + eec7d46cde7d5ef7a23e1dc16fd7547bc3df49a1) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - ada353bc8bd2972b057a749c2e7d7cfb52533343) + 40970be9c2950a956ea5b7cfbacb2fbf9866ff98) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - d2216881697edfdfe94e7a570a08bc4c4a208932) + 7d58d6148c755a80bf7cd7545553acb218214013) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 44d6e22343cd600ede1c81206349ba9719d069f7) + 7686f355d8d5c24ca50935d689bbd346435fb518) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 5707ec47a0e1d534978fb8d81788e3366fd91e38) + 51227b843cd95c07bdcc1c2ba72da989b59e4193) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 100d437f8421b4e4944315054a71be9849a927e6) + 51ba66d3ad59bb5308f1f600365dbf3e94453a6e) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 88213782641f5fa3087b150d422a812ac4be8c3b) + bb294ea686e44b61188404395521a08b110bb1a5) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - ada80102c9a727f677b88f7e451b2d1ec8f99d9b) + a940b6f007b1027da4244fc8847597aa053c7eb2) endif() endif() else() diff --git a/src/3rdparty/SUNDIALS/CMakeLists.txt b/src/3rdparty/SUNDIALS/CMakeLists.txt index c2a705d59..43e989842 100644 --- a/src/3rdparty/SUNDIALS/CMakeLists.txt +++ b/src/3rdparty/SUNDIALS/CMakeLists.txt @@ -24,49 +24,49 @@ if(LIBOPENCOR_PREBUILT_SUNDIALS) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 229f0e092897bf80505fcf947fc64e1e5fd7a676) + 5ff410654d98208a6138ec7558e21ee4ce5e5633) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - b24bafd7fe485bf24a3e95733acc220148444ee7) + f738bf9228d6adada3341ea38d232dd76c46a4c4) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 4ea4a9775957c59fb503038341d5ad6e146979b7) + 232f7f385826ec10cfbcf3b0906e815ac00b147b) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 0fd9cb666691acbad90aa2a3a4fa5bba8bbeb308) + 41be2340ae7ef7d4f3786f9e6735451cdf968ee4) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - c434b7c35717be268add9ac6d148e6e8f4686297) + 35fb5c4cdaca71deb15a862403cb970f8e63cae8) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 2699f7faf6471d6d4b3ce45e9666603ff2d55e08) + ee06ede2266544b6dcd2cf81edac38870998ac6f) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 4905188bb7f503a4a674c3791b2bcc605ff0bfdb) + 6bad4c49debed04740ab774bd7f319a0fb813224) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 35b3a9ab8ac14620a2791fda7907e67dfb5f2674) + e9a716035e83b6b19e23dca11533c1671955515a) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 405c8290f72ba30aa5fae41d598bd244936d4a5f) + d5df030fef368c7775db738f2b270367ac785715) endif() endif() endif() diff --git a/src/3rdparty/libCellML/CMakeLists.txt b/src/3rdparty/libCellML/CMakeLists.txt index 6a7e86919..7817c9aa4 100644 --- a/src/3rdparty/libCellML/CMakeLists.txt +++ b/src/3rdparty/libCellML/CMakeLists.txt @@ -71,49 +71,49 @@ if(LIBOPENCOR_PREBUILT_LIBCELLML) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 3a846b738eefaf7105b53425ddec60a0a6522e38) + 78550f76126404eda8a634b8ca0d8f00b84fd37b) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - ae29696f4df7f6295e2a073779541770143aa591) + 52068fe31c0fc7849c43dafe4884a4bae63b3446) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 8658c0b271c67b0336e24cafa05a766ebc383c38) + 82f7cbb02b11b340b11c3501d372e0be48c8786e) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 23a4cbbc1bbe79dc9896c0c86bbe181f77f2898b) + 0212676c85db10dbca085f3e80c3ed45336a3781) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 26749416fcdf02c0ddcead571d7fa50606863c1b) + 34e03701b520d06e310d1f2b8636eb481a7a32b1) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - c25fc7491ac96342764deba713363c2177192ff0) + 5388d1de2f87b9cd7aac375bb1beb59406892493) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 47fc197c2b2bec56713c5999b329ce55c10fa14b) + c73e701610115dac5f0d24749e7cdc481af08d3a) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - eef3440a059d11f9994fd22a6ae58188cbb8c261) + fa3ab246e5a73b72709ef8159d22fa074e3300d8) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 9854475736b5dd2ea376edf62f331da82130ff7f) + d31b686e6851eb4fc2dcb703558814ba05bcadc1) endif() endif() endif() diff --git a/src/3rdparty/libNuML/CMakeLists.txt b/src/3rdparty/libNuML/CMakeLists.txt index 6a64231c8..994b0eac2 100644 --- a/src/3rdparty/libNuML/CMakeLists.txt +++ b/src/3rdparty/libNuML/CMakeLists.txt @@ -28,49 +28,49 @@ if(LIBOPENCOR_PREBUILT_LIBNUML) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 57722c700f7ef153855bda772689adb852bd8a92) + d0a27e3479d656fc7da075647889f86b1b95b8e3) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 20cdb403dd7883a211fd4f7d1c0d12549f5abdb1) + c440430c4c62bea1d28bc9255a77e27c2c4b131c) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 268b2d264a2ffa7257e3e8d55891c5b510581ad6) + 3b7b0b5912d030f240d2c2e4b9cf341d729ffdd5) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 78b43c85d39679146f19941d18def1498dc2a55c) + b67fc634f9a98536a26391d47af9861a78fa694d) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 0e8b01e446d99da9e57afb40ce8bc90abce86ad7) + 37705054773a67c901ec1c429741fe66d6fcd83b) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 2fdaedb67dddde57f1e8317055ec642430cea4e8) + ea4068f4d66b7adfae1c125dbe2493bbc1fc173e) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 44d75ef09196011a517735623611025dffa848e2) + cc2720103f2db8738c0ef80ebbcf787dc7ead87b) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 1a41b850f0e2eafc28eb034d4e071cb62cc91613) + 25017f9804252e1b5f61ad775de12c362817dace) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - d693864a089f44dfb0e3dfad2768682941289471) + 1890367067031e9b187a6a7cbce1a37600e577f9) endif() endif() endif() diff --git a/src/3rdparty/libSBML/CMakeLists.txt b/src/3rdparty/libSBML/CMakeLists.txt index 579e18c59..81520e19c 100644 --- a/src/3rdparty/libSBML/CMakeLists.txt +++ b/src/3rdparty/libSBML/CMakeLists.txt @@ -28,49 +28,49 @@ if(LIBOPENCOR_PREBUILT_LIBSBML) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - f941861b428cf1290a74d8c7414e62c03e966521) + 55d56cb8051d06d1881c168f5ebee860b8b5cdd4) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - c25dbbca84b11fa2733b6a96fa1dc1ef18fae7a1) + 405fb807707d3ecfe1dda342472bdb5ab15cad7a) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - fc38bf20b0754fc7d5e29e54dcae0aa03e0e066a) + cfaac65b3dbac800e4fb63d4f1587518e0e0cf14) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 90e824ade27ae1d0470ab9cff65ce19caf76ab36) + e0a8d747175e2917c9fa24e2744cc011687fed21) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 55e183fec1244cbad7d7cd43423f3a548b3a9b18) + bfbf32c725f45580f52387540b7f64bbd59eaeea) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 51f744fff1e7773505fbe222c688ef64638a3203) + e3acb69c1188191f77cd96613ee4b40d29f3de54) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 4a36951974f2f617dcb67dec282db37b9864e799) + 41b9bb76302c5e8ef2fc39802af4004fe64ed38a) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - cf9735c5c092c84a0fd33b69593991d4b203c937) + 85225203711d3b7c5a68a16c535b87fd7f8c6d00) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 1bfd45ebb4da9bc75ad3ea15313e2aea1b5591a4) + f080e503d076ec2e7c0afb437b687f92ff6b926e) endif() endif() endif() diff --git a/src/3rdparty/libSEDML/CMakeLists.txt b/src/3rdparty/libSEDML/CMakeLists.txt index 52615ef5e..95d1981ab 100644 --- a/src/3rdparty/libSEDML/CMakeLists.txt +++ b/src/3rdparty/libSEDML/CMakeLists.txt @@ -28,49 +28,49 @@ if(LIBOPENCOR_PREBUILT_LIBSEDML) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 240944e4a55938e36e2805a83330d1bf48ccd621) + 793d1524ab8e3313c8fc30ca90a0281835ad9d21) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - af5111eb9071badaff1b27ba3152d71eff332ccf) + b496fa9f31a39a0751773d093450497a93b51d42) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - ba9a655d61e22a32d8b45a8872b952685f182db3) + 7be8773fa23e03d0af7d4b2a97f3212f9fe8e97d) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 581dda913ee6e0b6406ba3fa21d624162dc8c19f) + 8cb009c5f624b93a3f4ebb3ee5266a439c19a8be) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 1e5afdc06a2a791fa43fa8852e782f4e33b71119) + dfc06e2a98afe4c47fd03c614d72513548447505) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - f454f4d27ac5a91209e1a1fab94b9ff309422dea) + 06faa1049376bc993ca7bc73779acad9ef70a0dc) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - fd87d74a9a8108fb2594fe299110c2554ce39293) + fe842e76b9854f1d4b14f7e08620807e5fd2de0d) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 6a232baee40dfef586afd6bfe69dd639ad6a57b2) + 735479d00d722ed2746b2d9fa8ac54132c1f057d) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 97b39a7b33958f6faa583dcacb3f06b3a8fda46a) + 1854fa925b8f93d47aed02dd493667a19059b960) endif() endif() endif() diff --git a/src/3rdparty/libcurl/CMakeLists.txt b/src/3rdparty/libcurl/CMakeLists.txt index cbc446804..a885dc375 100644 --- a/src/3rdparty/libcurl/CMakeLists.txt +++ b/src/3rdparty/libcurl/CMakeLists.txt @@ -30,42 +30,42 @@ if(LIBOPENCOR_PREBUILT_LIBCURL) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 363d2bb5b41366564c721eb5921c49fb8b57cb3a) + cdb18fa5f0cd8a4f1f314e77a0a6f0badde3da37) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - b2d0fd781d719ccf94d34bfbff1e90b87932fa68) + 56faefe1292d1d2b91318d0d5a96e52453046c11) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 01832d66ce8f34e1f6f486f49ce89f51a957bc97) + e3793794a38c8d7045eda20b4555563468a1fa8e) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 64310f97a155756137f2ff9be1ae339c2c4c74a2) + 4ba0f9491ad5160e5518d385374ad99e686271a0) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 57c2caae5c466c8bc4f99aa1db37f17c04aca48f) + e8c1e8c022ea9de6323bf31f78f9bd5319f32acf) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 8aa938a425e0bb4ac9231ff7760f0b122517fe94) + 7171b8b4a069c2e01d5bc0ac613f3969aa3dd207) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 7af4280869b1beab6b188eff170e8c7d85a11d50) + 0a4697c8c526b4128500a9dcb312e7070daeddcd) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 6fd11cfc897cae0fda42885b75c2dacfa4f8403c) + 72d2c17188953c79fa76d0b905556371dc8722dd) endif() endif() else() diff --git a/src/3rdparty/libxml2/CMakeLists.txt b/src/3rdparty/libxml2/CMakeLists.txt index 6649c21e1..9d7b9f639 100644 --- a/src/3rdparty/libxml2/CMakeLists.txt +++ b/src/3rdparty/libxml2/CMakeLists.txt @@ -24,49 +24,49 @@ if(LIBOPENCOR_PREBUILT_LIBXML2) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 32b705eb70df3bcc2ad4da195e9d1004ac6965e3) + d755e638bc31e3dd07ffa30e309a6ad57f0dd0c6) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 8fc953ba4b8878ba8fc8d7653d1fc761e3afc445) + 90fc907f46f4681341cb5fc0a1cdb31a27fdb8c9) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 966cdcb24b529e09a3b479412e8afd1f867b538f) + 57ddbd6460f3eda5a8b05159bc91b1a7cc1aa856) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 21716d691f64023295c53352282534d61f175f72) + 5127f23517e220ad1467e8b606e03ee1336a3304) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 114c3f6216eec5d235ad77f6c61ac5050c883cbb) + 5ba67a19782f9a8866213c906d0613c9909f5357) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 897e91edab0afb593cf34a16af35c2a4eae3f9cd) + fcb8b2943f3ddcbbda5e6ceec50bd817afe11bfb) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 7a4c8a9460d63c04af063458b1ca73c4b564eb2c) + a24568fb8b499380255ae0c97a4814b2b9c848d1) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - c43d6334ccaf5a89fd552ddb455dc40f5083b16f) + 6899d9121febe3b8f39045274ee9bbf43ea3225d) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - f96849b82c76df295dd44c962034717561216b20) + 649d950bd9ea4df97c55bda6179db3c2205b4ffa) endif() endif() endif() diff --git a/src/3rdparty/zipper/CMakeLists.txt b/src/3rdparty/zipper/CMakeLists.txt index 8efa323ce..f19f140bb 100644 --- a/src/3rdparty/zipper/CMakeLists.txt +++ b/src/3rdparty/zipper/CMakeLists.txt @@ -24,49 +24,49 @@ if(LIBOPENCOR_PREBUILT_ZIPPER) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 23f140517181270d773056970ff8944ce4805eab) + a67ee7699c2141bf6b970f0f6079de95609c3bfe) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 765e49563d4cbe92201739d180637e69d35b9fc4) + 37fe5c3f46de8d1ae2dd565097fa7ada65562177) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - d53fa294d54551dc1eff70f37eca385ab16fe7e0) + 068465f582b596a4815542ee8367d3c4ab9c4fd7) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 20ba687a55a4b6b57e8d2ab35b9c4d7581718432) + 60dd4bf1bbad05dcd7628c1d0a40eb2157abaef6) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 522aa04a659fc94ca031da68826db0720c97ecf2) + e91b5353f6d1c622c87d4079c05aa9047959d122) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - ad8ee6fdf87178662fe900451fed0e60c9b4747a) + 6009d4568fb8b9c5315b2fb728c029df76aa3c40) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - bad96697993594bf274a87a7ed5bb7229efdbe81) + 626766151ce54481cfd7f4fa836ed1a8817dea6a) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - e17465a61addc2b6a8d7033ae8e094c97be6f0db) + 9032e713507fd8cfcb260f1d6717e407b7611dee) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 365d5bab6b6ad1298ea307fac8aacb54841270b0) + 844c374f83bbb762bdca640ec9a5c3cdaf9767b1) endif() endif() endif() diff --git a/src/3rdparty/zlib/CMakeLists.txt b/src/3rdparty/zlib/CMakeLists.txt index 14eb467ee..685a57121 100644 --- a/src/3rdparty/zlib/CMakeLists.txt +++ b/src/3rdparty/zlib/CMakeLists.txt @@ -24,49 +24,49 @@ if(LIBOPENCOR_PREBUILT_ZLIB) if(EMSCRIPTEN) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - b2f0f4e24de0f076fd5d805ca4f6480a49e2b587) + f678ecc6b5d8b5888fb0366b8968bb31e8ad77bc) else() if(WIN32) if(RELEASE_MODE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - b7c8fd08e5977c8149bfce22785e9740c8d42e12) + 9a30e6a84a74d30eeb1005b65ee016de713862aa) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 4d8d41194ee52e69f0433c694b24de01e5efb680) + e8d05343964d9be0f80fdc025b5c83edf35f5a91) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 5731a18574e53869e1c56b227abd5d86a6094b87) + d77243d6d77786414aa9ce8de23dff46bd63101e) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - a475e47faa6b70b92ce57d8e4cb17d1320d7eeb6) + f9f183a550eb89aef636067ce664eaa2bc769e63) endif() endif() elseif(APPLE) if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 0db9d21a963e102b4e22b96b76518100babbfc07) + f9d24de9afcc4fa216b8678407b5bbc952b87b5e) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - b3cda2f9bd8a248d33bd9d40842f56f1e941166e) + 31fd227f2a519994e495c75088f0eee503fcc4c5) endif() else() if(INTEL_MODE) retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - 8864b8b1b6c3d418a211c19238bc9392354700fe) + cbca8d1e806d8c9ad827640354f56a2a130fc93b) else() retrieve_package(${PACKAGE_NAME} ${PACKAGE_VERSION} ${PACKAGE_REPOSITORY} ${RELEASE_TAG} - adcde3462cba7c1301169da1837ca0f49d7dc469) + b1498edf46236b6d4889f4d20328f10e3ae4d04c) endif() endif() endif()