21 Commits

Author SHA1 Message Date
Sam Darwin
0213001686 B2_CI_VERSION defaults to the newer method (#296) 2025-09-16 06:21:31 -06:00
Alexander Grund
d3b696c4cd Only use known compilers as BOOTSTRAP_TOOLSET
Default to automatic selection to avoid failing
2025-07-07 11:18:44 +02:00
Alexander Grund
bfd7fd0b44 Move goto out of loop
This seems to cause a syntax error.
2025-07-07 11:17:57 +02:00
Alexander Grund
9e885f4567 Allow overriding BOOTSTRAP_TOOLSET 2025-07-07 11:17:32 +02:00
James E. King III
1bc419092e If multiple toolsets are given, use the last one to build b2
When we merged in the change to build b2 using the toolset of
the CI job, we broke some appveyor build jobs that use multiple
toolsets.
2025-07-04 08:21:47 -04:00
James E. King III
796162adb6 Use the correct toolset when bootstrapping on Windows
This fixes #284
2025-07-04 07:34:15 -04:00
Alexander Grund
4422aae503 Don't print out header comments when running common_install.bat
Showing the file description in every output isn't useful.
Especially showing the execution of the B2_CI_VERSION check-and-warning is confusing as the warning is shown (as code) even when it isn't (purposely) echoed.
2025-07-04 12:40:03 +02:00
Alexander Grund
c693880d4e Set B2_CI_VERSION in mingw.bat and show message 2025-06-20 17:03:56 +02:00
Alexander Grund
7b7e7dead6 Fix comparison in ci/common_install.bat 2025-06-20 15:44:14 +02:00
Alexander Grund
794e5a0e9b Set default for B2_CI_VERSION 2025-06-20 09:27:30 +02:00
Alexander Grund
89a03b06cd Use backward slashes in SELF on Windows 2023-12-15 16:17:59 +01:00
Alexander Grund
da8d0955de Silence b2 headers
Output is rarely relevant but clutters the build log.
2022-11-18 14:19:30 +01:00
Alexander Grund
d480d2739b Bootstrap MSYS2 B2 normally
Setting $CXX worksaround the issue of the "regular" bootstrap using cpp (the preprocessor)
2022-03-03 18:16:29 +01:00
Alexander Grund
94eee05c71 Add Github action using MSYS2 to build 2022-03-03 18:16:29 +01:00
Alexander Grund
e889f336ba Fix cxx_exe comparison on Windows
- set cxx_exe="" yields for `"%cxx_exe%"`: """"
- set cxx_exe= removes the variable so `"%cxx_exe%"`: "%cxx_exe%"
2021-12-12 18:14:38 +01:00
Alexander Grund
bf9eb43a4a Echo the compiler location and version on Windows during setup
Similar to the shell script.
Allows to verify that correct/expected executables are used
2021-12-09 17:42:23 +01:00
Alexander Grund
33a0cfc915 Allow parallel clone of dependencies on Windows jobs
Honor $GIT_FETCH_JOBS in the bat script as we do in the sh script
2021-11-24 09:56:02 +01:00
sdarwin
dfd2de5758 Undo move of boost-root 2021-11-20 13:40:44 +01:00
Alexander Grund
a55f483fe3 Get SELF from meta/libraries.json
Closes #20
2021-11-18 12:41:04 +01:00
Alexander Grund
953c81f93b Better integrate GHA into Boost.CI
Also add tests for the CMake tests
2021-11-13 13:08:13 +01:00
Alexander Grund
c22335440c Remove duplication in B2 variables and build&install scripts (#48)
* Deduplicate build.sh and enforce.sh
* Unify Windows workflows
* Factor out common linux install script
* Build tests from inside BOOST_ROOT
* Exit with 1 on error on windows
* Remove outdated workaround for Boost.Test #144
* Fix missing unification in BDDE and mingw and add B2_CI_VERSION
   * Use B2_CI_VERSION to check for wanted behavior
* Use other methods of getting the CPU count
   * Fixes #50
* Update AzP variable defintions
* Zero out B2_CXXFLAGS not CXXFLAGS for bootstrap
* Go back to lib folder on Windows
* Move boost-root to location expected by old AzP configs
2020-04-05 18:55:15 +02:00