2
0
mirror of https://github.com/boostorg/build.git synced 2026-01-19 16:12:14 +00:00

266 Commits

Author SHA1 Message Date
Dmitry Arkhipov
80e04ee430 resolve subprojects of projects with rooted id (#483) 2025-12-18 09:22:59 -06:00
Rene Rivera
4cf2453380 Account for max tasks per proc not available. 2025-11-29 09:21:03 -06:00
Rene Rivera
9f0322c216 Add 5 minute timeout per test. 2025-11-29 08:57:00 -06:00
ivan kotov
45a76a1803 Added the ability to escape the '$' character before '(' as "$$" which will allow using the "$()" and "$(())" expressions of bash, sh, and other shells. (#467)
The '$' character is now escaped as the "$$" sequence when a non-zero-length "$$" character sequence ends with the "$(" sequence or the '(' character.
This allows the use of SHELL $(...) or $((...)) expressions within bjam expressions such as "actions { ... }" or "[ SHELL ... ]".

---------

Co-authored-by: René Ferdinand Rivera Morell <grafikrobot@gmail.com>
2025-11-23 21:56:44 -06:00
René Rivera
6a790072d9 Run single process tests on Windows CI to avoid some permission errors. 2024-11-09 10:28:53 -06:00
René Rivera
b07f0b2272 Revert "exception-handling=off should define _HAS_EXCEPTIONS=0 for Dinkumware/MSSTL"
This reverts commit 376470fadd.
2024-06-12 23:18:08 -05:00
Nikita Kniazev
376470fadd exception-handling=off should define _HAS_EXCEPTIONS=0 for Dinkumware/MSSTL 2024-05-26 13:57:36 -05:00
Nikita Kniazev
be168aca85 Default to Clang on FreeBSD and OpenBSD (#369)
* FreeBSD since 2012: https://lists.freebsd.org/pipermail/freebsd-current/2012-September/036480.html
* OpenBSD since 2017-2020: https://marc.info/?l=openbsd-cvs&m=150109829003860
2024-04-20 15:35:34 -05:00
Rene Rivera
3af675b0fb PCH are broken on freebsd-gcc. Skip testing pch in freebsd. 2024-01-29 18:01:14 -06:00
Rene Rivera
6d60509678 Remove more py f-string uses. 2024-01-09 09:15:12 -06:00
Rene Rivera
bf44f19c1d Avoid py f-strings to support py < 3.6. 2024-01-09 08:16:37 -06:00
Rene Rivera
4f13797eb3 Add minimal test for regex.grep. 2023-08-18 23:01:26 -05:00
Nikita Kniazev
2aa8cf82b9 Long path and Unicode support on Windows 10.0.1607/10.0.1903+ (#316)
Long path support is still not universal, even after an app has explicitly opted-in via manifest it also requires registry modification or group policies, see https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry#enable-long-paths-in-windows-10-version-1607-and-later though Python and Git installers nudges to enable it by their installers for a while.

`-X utf8` forces Python to use UTF-8 when its outputs are piped (will be default in 3.15 https://peps.python.org/pep-0686/)

Also had to fix clang-linux and msvc toolsets manifest embedding issues.
2023-07-22 09:33:51 -05:00
Nikita Kniazev
cdab17f69c Fix disappeared messages from asserts (#301)
Regressed after porting assert and errors modules to native modules.
2023-07-16 08:36:39 -05:00
Nikita Kniazev
d1d7a6a16b MSYS2 fixes and CI (#298)
I've setup CI on GHA because it is much more convenient using their action script.

This covers different Mingw setups and it does not fail on PCH tests like Mingw-w64 one installed by default on GHA/Azure (either because GCC exe there was built without ASLR or is a new recent version which supports PCH relocation).
2023-07-16 08:33:13 -05:00
Nikita Kniazev
9a96cbab20 Multiprocessing tests runner (#267)
There are a few hacks to preserve quick Ctrl-C behavior.
I also added timings to the output and progress numbers.
2023-04-19 16:56:52 -05:00
Nikita Kniazev
784e604cfe Check docs are used (#264) 2023-04-17 21:27:02 -05:00
Nikita Kniazev
fcaafb3593 python3 shebang (#258)
* python3 shebang
* CI: execute python scripts via shebang
2023-04-17 09:19:00 -05:00
Nikita Kniazev
04d7f31a5a Assembly preprocessing (#224)
Run C preprocessor on assembly source files. Brings gcc-derived toolset behavior to every toolset.
2023-04-15 07:57:25 -05:00
Nikita Kniazev
8df1ee945e clang-darwin: inherit from clang-linux and unify compile (#246)
There are some tricky differences in linking, so left that part for later.
2023-04-09 11:11:06 -05:00
Nikita Kniazev
fee36b78c5 clang-win: bootstrap and test (#221)
* clang-win: bootstrap and test
* clang-win: fix default architecture/address-model condition
2023-03-17 08:28:22 -05:00
Rene Rivera
d717294709 Do direct build system bootstrap loading.
This removes the use of the boost-build rule to direct the loading of the
bootstrap.jam file. The file is now searched for directly based on the
b2 executable location and other criteria. This makes the installed
b2 the canonical way to use b2.
2022-04-24 16:38:59 -05:00
Nikita Kniazev
7568c84471 MSVC mock test (#125)
Initial step in fixing flags issues
2022-02-12 21:22:40 -06:00
Dmitry
78fd284a42 Don't skip install targets if there's <build>no in ureqs (#113) 2021-12-11 07:58:23 -06:00
Dmitry
7402029c33 Skip targets with <build>no in usage requirements (#81) 2021-09-02 22:30:08 -05:00
Dmitry
ac2cf96483 Evaluate conditionals in a loop (#80) 2021-09-02 22:25:34 -05:00
psandana
37622df644 Avoid warnings about threading model for qt5.
Fixes #64 qt5.jam warning <threading>multi ignored.
2021-08-03 20:26:24 -05:00
Nikita Kniazev
a844236dd8 Move Objective-C support to GCC toolset (#62)
Removes code duplication in darwin and clang-darwin toolsets.

Removes undocumented `<flags>` from several toolsets, there is documented `<compileflags>` that should be used instead.
2021-07-28 16:57:47 -05:00
Nikita Kniazev
8a20d6c430 Fix preprocessing on MSVC compiler (#44) 2021-06-24 11:35:18 -05:00
Nikita Kniazev
7d0704debb Reanimate bunch of abandoned tests (#43)
* Remove useless and unused railsys test
* Reanimate bunch of abandoned tests
2021-06-23 22:59:17 -05:00
Rene Rivera
c9cc1ae2ed Replace refs to boost.org witth bfgroup.xyz. 2021-02-20 21:35:16 -06:00
Nikita Kniazev
e652fa47bd Implement PCH on clang-win and clang-darwin (#626)
* clang-win: enable PCH
* clang-darwin: implement PCH
2021-02-01 22:42:29 -06:00
Mateusz Łoskot
bdccf53eec Make sure b2 exits immediately on syntax errors (#540)
Add test verifying Jam syntax error results in non-zero exit status.

Refines #538
Fixes #539
2020-03-02 14:03:38 -06:00
Rene Rivera
3549a4d5da MinGW passes all tests. 2019-04-02 00:09:54 -05:00
Rene Rivera
a3b3054856 Merge remote-tracking branch 'origin/develop' into feature/cxx 2019-04-01 21:04:59 -05:00
Steven Watanabe
1e19d74d46 Change always to affect all targets created by a metatarget and add a test for it. Fixes #390. 2019-04-01 12:32:41 -06:00
Rene Rivera
85e5a2caa8 Port b2 tests to dual py2 and py3.
Now that the tests work in py2 or p3 we don't set py version in AP. This
allows for dealing with the AP images that don't have a way to set the
py version.
2019-03-31 15:37:03 -05:00
Steven Watanabe
b42fa406ea Fix test for windows. Also add package.py to test_all.py. 2018-12-18 20:39:16 -07:00
Rene Rivera
1b35aa7eda Rootless specific tests. 2018-10-18 22:51:13 -05:00
luzpaz
a2b8731d2a build: misc.typos (#341)
* build: misc.typos

Found via `codespell -q 3 --skip="./src/engine/boehm_gc" -L te,iff`

* Revert 3rdParty code changes
2018-09-26 09:54:06 -07:00
Steven Watanabe
aff0b08eb3 #||# comments should not swallow to the end of the line. 2018-02-15 11:04:16 -07:00
Steven Watanabe
30d87919bf Add a rule toolset.add-defaults similar to toolset.add-requirements. 2018-01-26 15:59:46 -07:00
Steven Watanabe
b5605d6f4a Add tests for clang-vxworks and some fixes. Fixes #278.
Squashed commit of the following:

commit a777fc2ed9
Author: Brian Kuhl <brian.kuhl@windriver.com>
Date:   Fri Jan 12 00:22:37 2018 -0500

    configure VxWorks/Dinkum STL to match <rtti>/<exception-handling>
2018-01-25 10:22:21 -07:00
Steven Watanabe
62595642f0 Don't write the import library to the PDB when <suppress-import-lib>true is present. 2018-01-22 19:05:44 -07:00
Steven Watanabe
358dd78eea Add a new rule check-has-flag, for detecting supported compiler arguments. 2018-01-17 20:30:38 -07:00
Steven Watanabe
d1f939a1e2 It shouldn't be necessary to import build-hooks into the global module. 2018-01-17 15:25:28 -07:00
Steven Watanabe
8962fb490c Fix implicit-dependency when a single main target produces multiple types that are usable as implicit-dependencies by different actions. 2018-01-17 14:36:16 -07:00
Steven Watanabe
9f481220c1 Allow named parameters in main target rules. Only implemented for the builtin type-based rules and testing rules. 2018-01-16 15:39:59 -07:00
Steven Watanabe
ebffaa1397 Avoid another conflict with python. Closes #284. 2018-01-16 13:59:52 -07:00
Steven Watanabe
3f4db07187 Merge remote-tracking branch 'rdoeffinger/zstd' into develop 2018-01-16 12:11:14 -07:00