Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@KIwabuchi
Copy link
Member

@KIwabuchi KIwabuchi commented Jun 18, 2025

I brushed up on CMake file regarding fetching Boost.

Currently, saltatlas's CMake fetches Boost from the hard-coded URL.

This PR version still fetches a proper version of Boost automatically by default (thus, no changes are required in other projects that use saltatlas).
I added two CMake options to change the behavior as follows:

  • BOOST_SOURCE_DIR
    • Path to Boost libraries directory already downloaded and uncompressed.
    • This option will copy the only required files to build this project from the original source directory. Useful for faster build and saving disk space.
  • BOOST_FETCH_URL
    • URL or file path to an archived Boost source.

For both cases, Boost must be a version that supports CMake.
Using two options at the same time will result in an error.

@steiltre steiltre merged commit 1ab956a into LLNL:v0.3-dev Jun 18, 2025
1 check passed
@KIwabuchi KIwabuchi deleted the feature/update_cmake_dev03 branch September 25, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants