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

14 Commits

Author SHA1 Message Date
github-actions[bot]
def908ed01 [Backport version/4.10.0] python3 shebang (#266)
* python3 shebang

(cherry picked from commit 9f0d565b06482a90b59d07ef9e7b9aadd698926c)

* CI: execute python scripts via shebang

(cherry picked from commit cf36b637abe2125cf6895bec593b4cbcf71ae570)

---------

Co-authored-by: Nikita Kniazev <nok.raven@gmail.com>
2023-04-17 14:23:50 -05:00
github-actions[bot]
aee9f9c115 msvc: fix same directory pch header (#247)
Pass to `-Yc` path as was typed by user (not exactly so, B2 automatically turns / to \ on Windows, so force the / in variable expansion).

(cherry picked from commit 65fa7a57c683594ba8c0a77e5691f0514defeb8e)

Co-authored-by: Nikita Kniazev <nok.raven@gmail.com>

[skip ci]
2023-04-08 18:48:49 -05:00
Nikita Kniazev
c97d7505a7 A few fixes to PCH (#213)
* Test: Invoke b2 with .exe suffix on Windows

* GCC: Pass -ftemplate-depth-xxx when building PCH

* MSVC: Fix PCH include directory and pass only PCH-header name to -Yu

Apparently `[ $(pch-header).path ]` gives the wrong path to the header.
2023-03-11 07:28:21 -06:00
Nikita Kniazev
64dbb277b0 Include pch header automatically and on-demand (#19)
Previously it was needed to include pch header in every source file, but Clang does it automatically making the usage non-uniform. It is also a very noisy process to add pch header to an existing project. Automatic on-demand header inclusion solves both issues.

* pch: msvc source automatic header folder inclusion
* pch test refactoring
* pch test msvc automatic pch source generation
* Include pch header automatically and on-demand
* no more need in gcc pch naming hack
2021-05-03 10:56:15 -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
Nikita Kniazev
943a28a8ba Fix pch path conflict on GCC (#563)
* Follow-up to removed restriction of pch naming on GCC

* Fix pch path conflict on GCC

gcc-pch-generator rewrites target name to a value derived from a header name
and this cases path conflict if multiple pch are created from the same header.

hello.cpp is duplicated in the test for the same reason but for `exe` target --
`exe hello-afx : hello.cpp ;` uses `hello.o` for object file name.
2020-04-03 20:27:41 -05:00
Nikita Kniazev
8198576481 Remove pch target naming restriction on GCC (#561)
Do not require pch target to have the same name as the header base name.

The restriction was added in 76d041d7c1 without
a rationale and only for GCC while reworking PCH support for GCC and MSVC.
2020-04-03 07:30:15 -05:00
Rene Rivera
3595602a14 Big rename from Boost.Build to B2. 2020-03-09 11:08:48 -05: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
Rene Rivera
40e7f0e8dd Fix tests to pass on Windows after removing toolset requirements ignore.
Various restructure of test framework handling of paths to avoid duplicate path editing which caused failed tests. Adjust many tests to deal with added subdirectories in build outputs now that toolset requirements are active.
2017-07-02 23:28:48 -05:00
Jurko Gospodnetić
f20f88b91d Renamed differently named Jamroot and Jamfile files throughout Boost Build's test suite to jamroot.jam & jamfile.jam. Stylistic changes throughout the whole Boost Build test suite.
[SVN r48504]
2008-08-31 21:42:27 +00:00
Vladimir Prus
188d417514 Fix for msvc
[SVN r35533]
2006-10-10 07:48:33 +00:00
Vladimir Prus
90f7514eb8 Test for PCH
* BoostBuild.py (Tester.copy_preserving_timestap): New.
	* pch.py: New.
	* test_all.py: Register pch.py on gcc.


[SVN r35512]
2006-10-07 10:08:19 +00:00