From 6c87edf89613cd45d6766430b78b9a5a18d057cb Mon Sep 17 00:00:00 2001 From: RalfKonrad Date: Tue, 17 Dec 2024 13:29:27 +0100 Subject: [PATCH] Switch to the latest Boost version v1.87.0 --- .../actions/build_native_library/env_variables/action.yml | 4 ++-- CMakeLists.txt | 2 +- HOWTO-BUILD-FROM-SOURCE.md | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/build_native_library/env_variables/action.yml b/.github/actions/build_native_library/env_variables/action.yml index c88331f..171490b 100644 --- a/.github/actions/build_native_library/env_variables/action.yml +++ b/.github/actions/build_native_library/env_variables/action.yml @@ -37,10 +37,10 @@ runs: if: runner.os == 'Windows' shell: pwsh run: | - Write "BOOST_DOWNLOAD_URI=https://downloads.sourceforge.net/project/boost/boost-binaries/1.86.0/boost_1_86_0-msvc-14.3-64.exe" >> $env:GITHUB_ENV + Write "BOOST_DOWNLOAD_URI=https://downloads.sourceforge.net/project/boost/boost-binaries/1.87.0/boost_1_87_0-msvc-14.3-64.exe" >> $env:GITHUB_ENV Write "BOOST_INSTALLER_PATH=$env:RUNNER_TEMP\boost.exe" >> $env:GITHUB_ENV Write "BOOST_INSTALL_DIR=$env:RUNNER_TEMP\boost" >> $env:GITHUB_ENV - Write "Boost_DIR=$env:RUNNER_TEMP\boost\lib64-msvc-14.3\cmake\Boost-1.86.0" >> $env:GITHUB_ENV + Write "Boost_DIR=$env:RUNNER_TEMP\boost\lib64-msvc-14.3\cmake\Boost-1.87.0" >> $env:GITHUB_ENV Write "SWIG_DOWNLOAD_URI=https://sourceforge.net/projects/swig/files/swigwin/swigwin-4.3.0/swigwin-4.3.0.zip/download" >> $env:GITHUB_ENV Write "SWIG_ZIP_FILE_PATH=$env:RUNNER_TEMP\swigwin-4.3.0.zip" >> $env:GITHUB_ENV diff --git a/CMakeLists.txt b/CMakeLists.txt index 14e2ad8..136d67d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ project(quantlib_for_maven VERSION 1.36.0 LANGUAGES CXX) # set the Boost and Swig versions we want to use # to ensure compatibility across linux, macos and windows builds -set(QL_MVN_BOOST_VERSION "1.86.0" CACHE STRING "Boost version we want to use to ensure compatibility") +set(QL_MVN_BOOST_VERSION "1.87.0" CACHE STRING "Boost version we want to use to ensure compatibility") set(QL_MVN_SWIG_VERSION "4.3.0" CACHE STRING "Swig version we want to use to ensure compatibility") # set the QuantLib options the way we need them. diff --git a/HOWTO-BUILD-FROM-SOURCE.md b/HOWTO-BUILD-FROM-SOURCE.md index ed282a5..a7d2995 100644 --- a/HOWTO-BUILD-FROM-SOURCE.md +++ b/HOWTO-BUILD-FROM-SOURCE.md @@ -7,7 +7,7 @@ - an up-to-date cpp compiler - an up-to-date cmake - an up-to-date ninja build system -- Boost C++ libraries version `v1.86.0` +- Boost C++ libraries version `v1.87.0` - Swig version `v4.3.0` - OpenJDK version `jdk17` or `jdk21` - an up-to-date Apache Maven @@ -48,7 +48,7 @@ If you do not have access to the latest versions of the Boost C++ libraries or S you can use the following CMake cache variables to customize the build process: - `QL_MVN_BOOST_VERSION`: The version of the Boost C++ libraries to use, - if you do not want to use the current default `1.86.0`. + if you do not want to use the current default `1.87.0`. - `QL_MVN_SWIG_VERSION`: The version of the SWIG binaries to use, if you do not want to use the current default `4.3.0`. @@ -100,7 +100,7 @@ installed on your system: libraries installed on your system. Only the header files are required to build the QuantLib SWIG. We are trying to use the latest version of the Boost C++ libraries. - Currently, we build the maven artifact using version `v1.86.0`. + Currently, we build the maven artifact using version `v1.87.0`. See the [Boost C++ Libraries](https://www.boost.org/) website for more information.