2
0
mirror of https://github.com/boostorg/build.git synced 2026-01-20 04:22:22 +00:00

14 Commits

Author SHA1 Message Date
github-actions[bot]
15cebb1384 mingw/msys/cygwin winthreads/pthread fixes (#289)
-mthreads is obsolete and is not presented in clang, and was never a thing in cygwin (fixes #38).

I have no idea why clang was configured to add -pthread on threadapi=win32, changing this is a breaking change but is the right thing to do. I run Boost.Thread tests and it passed cleanly on both threadapi=win32 and threadapi=pthread.

(cherry picked from commit 308bdd509d47cfed5e25bda747cb9e6c6a93b790)

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

[skip ci]
2023-04-24 09:00:23 -05:00
github-actions[bot]
7a7e66cb56 test suite: msys/cygwin fixes (#272)
3 tests (core_language, package, toolset_msvc) still remain broken.

(cherry picked from commit f5103afdd6d950f30fbf3b5da6648db071ae9bcd)

Co-authored-by: Nikita Kniazev <nok.raven@gmail.com>
2023-04-21 10:39:12 -05:00
github-actions[bot]
1913458e8e mock tests without compiled wrappers (#276)
Removes additional point of failure, the need for actual toolset to be available, and speeds up mock tests considerably.

A bit disgusting solution, could be improved by removing limitation where toolsets take into account only first `<archive>` value.

(cherry picked from commit 6d5e150f1e17562a8efe2f396914da8123a9917a)

Co-authored-by: Nikita Kniazev <nok.raven@gmail.com>
2023-04-21 07:46:55 -05:00
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
Nikita Kniazev
7568c84471 MSVC mock test (#125)
Initial step in fixing flags issues
2022-02-12 21:22:40 -06:00
Rene Rivera
c9cc1ae2ed Replace refs to boost.org witth bfgroup.xyz. 2021-02-20 21:35:16 -06:00
Rene Rivera
7d9866256d Allow testing toolsets that use response files.
This adds exclusions for toolsets that use response files for some
commands. Mostly it ignores the generated rsp files.
But also adds a special arg_file value to the MockProgram for future
use for possible content checking.
2020-05-01 10:13:28 -05:00
Steven Watanabe
1c50088007 Propagate the python executable for the mock toolset tests. 2019-04-01 14:20:53 -06: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
ee613a6a28 Implement feature relevance.
* New feature <relevant> which is automatically deduced in most cases.
* Features which are not relevant do not affect target paths and
  do not prevent merging of virtual targets.
* generators.jam: generator.run always returns usage-requirements
  to allow usage-requirements in non-top-level generators.  This
  is necessary because we're using usage-requirements to track
  relevance from flags.
* New rule toolset.uses-features to specify features that the rule
  checks manually, instead of using toolset.flags.  In the future,
  we should consider restricting the properties actually passed,
  to detect errors.
* Adjust tests to handle the new paths (verified by inspection).
* Add temporary option --ignore-relevance to consider all features relevant
  to aid migration.
* New rule property.evaluate-conditional-relevance which helps tracking
  relevance in <conditional>.
* Widely scattered changes to use the new interfaces.
2018-01-13 09:13:49 -07:00
Steven Watanabe
12decb3ce6 Rewrite gcc to use toolset.flags again. 2018-01-01 12:51:43 -07:00
Steven Watanabe
205146c15f Tests for clang-linux. 2017-12-29 12:32:58 -07:00
Steven Watanabe
6ffd6b9c7a Add test for clang-darwin. 2017-12-27 13:30:23 -07:00
Steven Watanabe
a84c6d4c0c Add gcc/target-os=darwin test. 2017-12-26 16:31:37 -07:00