Skip to content

Commit

Permalink
Switch to the latest Boost version v1.87.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfkonrad committed Dec 17, 2024
1 parent e4278f1 commit 6c87edf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build_native_library/env_variables/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions HOWTO-BUILD-FROM-SOURCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`.
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 6c87edf

Please sign in to comment.