2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00
Commit Graph

1833 Commits

Author SHA1 Message Date
Nikita Kniazev
e22a75c8fd MSVC extra warning levels. Followup to 6611aeb (#402) 2019-03-17 23:12:27 -05:00
Steven Watanabe
f15a84a815 Add missing path.make. 2019-03-10 07:20:51 -06:00
Steven Watanabe
42aeed7ff1 Relative paths for --prefix, --libdir, etc. are now bound relative to the current working directory, instead of being relative to the Jamfile. 2019-03-09 14:00:21 -07:00
Steven Watanabe
9540e69b3f Clean up msvc initialization.
* If the user provided a command, don't try to use the autodetected command
  as well.  The fixes errors caused by passing too many arguments.
* If the user provided a command, but not a version, try to detect the
  version from the command.  This code already existed, but was useless
  because it was run too late.  It also failed for 14.1+ because of
  incorrect escaping for MATCH.
* When handling duplicate initialization, make sure that we compare
  the original user options to the new user options.  Previously, we
  compated the new user options to the auto-detected command which
  makes no sense at all.
* If the user specified a command, always search for it in PATH, instead
  of also searching version specific locations.
2019-03-09 11:08:57 -07:00
Steven Watanabe
4ad28074f4 Don't accidentally detect msvc-14.1 as msvc-14.2.
- Fix copy/paste in the environmental variables.
- If vswhere exists, but doesn't find a given version, exit
  detection early and don't fall back on checking the environment.
- Clean up hackish vswhere handling.
2019-03-04 19:25:16 -07:00
Thomas Kent
0a93cc2b97 Added support for actually building with msvc-14.2 2019-03-01 16:06:03 -06:00
Rene Rivera
6611aebf3c Define the warnings for the new set of options.
This avoids warnings=all and warnings-as-errors=on causing irreprerable
damage to humans. And makes it possible to have more warnings without
destorying the universe.

fixes #394
2019-02-23 10:55:02 -06:00
Rene Rivera
033ef59305 Add "extra" and "pedantic" warning levels for better warnings control. 2019-02-23 09:55:02 -06:00
Nikita Kniazev
d44023da09 boostbook: Fixed DTDXML path problems (#392) 2019-02-23 09:25:29 -06:00
Théo DELRIEU
c8c1064cac Handle <asmflags> in common (#397)
They were not forwarded in compile.asm actions, which prevented
cross-build scenarii.
2019-02-21 23:16:44 -06:00
Rene Rivera
854ee52028 Add feature for code coverage information instrumentation.
Fixes #396
2019-02-21 23:13:33 -06:00
Damian Jarek
39c8e85e71 Add support for SaxonHE for xsl processing
Will be used in generation of Beast qreference.

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-02-13 23:00:14 +01:00
Peter Dimov
9bf1f14777 Fix clang version check; the in operator is true when $tag is undefined (#379) 2019-01-13 21:27:24 -06:00
Steven Watanabe
914f7d4cbe Fix package.install-data, which was broken by my previous commit, and add tests for it. 2018-12-18 12:26:41 -07:00
Steven Watanabe
3ca5a60bb6 Add package.paths to centralize calculations of installation paths. Also add a test case for package. 2018-12-17 18:38:33 -07:00
Edward Diener
b5c8b11e59 The --version option does not exist for versions of clang-cl earlier … (#371)
* The --version option does not exist for versions of clang-cl earlier than 6.0.

* Output redirect to avoid console output.
2018-11-18 14:27:12 -06:00
Erich Keane
3385fe2aa6 Fix clang-pch implementation to actually use pch instead of pth. (#368)
As listed in issue #367, PTH is/was an undocumented experimental feature of
clang that is considered 'failed' and is currently being removed from
the next version of clang.  Additionally, there is a bug in the
implementation of PTH in clang that results in severe miscompilation of
code using about 1/3 of the available tokens.

This patch replaces PTH with PCH, which completely subsumes PTH's
functionality. Additionally, PCH mode on clang should now be faster as a
result.

For edification: The difference between PTH and PCH is which step the
compiler stops to save to the binary file.  PTH was intended to execute
after the preprocessor has executed and commits the token list to the
binary file.  PCH will go through semantic analysis and commit the AST
to the binary file.
2018-11-18 14:22:22 -06:00
Peter Dimov
5dba250502 clang-win.jam: allow options (such as -fuse-ld=lld, -flto=thin) in command 2018-11-05 18:45:01 +02:00
Peter Dimov
1685f03e0e Fix clang-win.jam so that it works 2018-10-27 22:15:56 +03:00
Edward Diener
e37bb77f68 Merge pull request #324 from boostorg/pr/toolset-clang-win
Make `toolset=clang-win` initialize the clang-win toolset
2018-10-27 13:17:17 -04:00
Peter Dimov
ca9e2207ce Fix clang-win name mangling 2018-10-27 04:27:05 +03:00
Andrey Semashev
20d72776c8 Added support for Ice Lake instruction set, which is available in gcc 8. (#354) 2018-10-17 21:48:07 -05:00
Steven Watanabe
c53d778a37 Make the python feature symmetric and relevant to avoid problems when changing the python configuration. Refs #356. 2018-10-16 09:15:45 -06:00
Steven Watanabe
a5704a926b Fix threadapi detection when the target-os is also affected by a conditional. Refs #352. 2018-10-11 13:03:16 -06:00
Peter Dimov
9df3a65a28 Update GCC and Clang mangling to reflect their new versioning scheme 2018-10-06 06:34:28 +03:00
Andrey Semashev
d8245f6686 Added local-visibility feature. Mark visibility as a propagated feature. (#345)
local-visibility is intended to be used by libraries or targets that require
a particular visibility mode. It is not propagated to dependencies. It is
equivalent to the previous visibility feature.

The new visibility feature is a composite propagated feature, so it can be
specified by users and higher level targets as a requirement. This feature is
translated to local-visibility.
2018-10-01 22:02:05 -05:00
David Olsen
81bc3e2a4d Fix PGI toolset to recognize the cxxstd feature (#340)
Add the appropriate language level option to pgc++ when b2 is invoked
with toolset=pgi and cxxstd set to something.
2018-10-01 21:58:46 -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
Andrey Semashev
3f7ce8fa5b Make visibility feature not propagated (#333)
This allows to enable hidden visibility on a library without affecting its dependencies, which may not (yet) support hidden visibility by default.
2018-08-24 16:24:44 -05:00
Steven Watanabe
d11e3e4ef3 Don't break other toolsets that inherit from msvc (such as clang-win). Refs #330. 2018-08-21 10:47:27 -06:00
Andrey Semashev
898ddfa1b6 Added visibility feature. (#331)
The new visibility feature can be used to specify default symbol visibility
on compilers and platforms that support it. The default visibility is
global, which matches most compilers' defaults. In gcc documentation it is
called the "default" visibility. Other modes are: protected and hidden.
2018-08-19 14:06:48 -05:00
Peter Dimov
b5b374439a Make toolset=clang-win initialize the clang-win toolset 2018-07-09 15:42:55 +03:00
Rene Rivera
c5f1607382 Merge pull request #297 from jlapolla-cray/cray-toolset
Update Cray toolset
2018-06-12 07:30:08 -05:00
Steven Watanabe
21f44855c4 Add missing import. Fixes #311. 2018-05-22 19:26:25 -06:00
Rene Rivera
43738a898b Use --version instead of -dumpversion on Apple clang. This change uses --version on Apple clang as the -dumpversion only reports some old gcc compatibility version. This way we can tell the Apple version specifically. 2018-05-21 18:25:32 -05:00
Rene Rivera
6dd4fca0d6 Merge remote-tracking branch 'origin/develop' into feature/new-doc-format 2018-04-25 19:53:09 -05:00
Justin LaPolla
3c608d2c69 Fix "unescaped special character" error
- This error appeared when I rebased this branch onto 'develop'.
2018-04-09 12:32:11 -05:00
Justin LaPolla
bb46e3d7c4 Remove empty line from the end of cray.jam 2018-04-09 12:32:11 -05:00
Justin LaPolla
28fde420c9 Set CCE feature defaults 2018-04-09 12:32:11 -05:00
Justin LaPolla
ab3505b312 Minor updates to cray.jam 2018-04-09 12:32:11 -05:00
Justin LaPolla
a91f11b527 Only use '-G 0' if we also have '-O 0' 2018-04-09 12:32:11 -05:00
Justin LaPolla
d80b2833d6 Refactoring: move call to caller 2018-04-09 12:32:11 -05:00
Justin LaPolla
6bf78a5e2b Refactor to reuse updating rule procedures 2018-04-09 12:32:11 -05:00
Justin LaPolla
2eda1d70e7 Add 'compile.asm' action to 'cray.jam' 2018-04-09 12:32:11 -05:00
Justin LaPolla
4018efbab5 Use '-G 0' and '-G 3' instead of '-G n' and '-G f'
- Turns out '-G n' and '-G f' are deprecated.
2018-04-09 12:32:11 -05:00
Justin LaPolla
fea201e31b Handle <debug-symbols> feature 2018-04-09 12:32:11 -05:00
Justin LaPolla
2b411daf63 Rearrange 'cray.init' function slightly 2018-04-09 12:32:11 -05:00
Justin LaPolla
9c0a0ac222 Detect CCE version 2018-04-09 12:32:11 -05:00
Justin LaPolla
bc173807f0 Expand 'cray' toolset 2018-04-09 12:32:11 -05:00
Steven Watanabe
51f9a4c338 Sync intel-win with msvc. It was broken by 4d58880c20. Refs #296. 2018-04-07 12:35:52 -06:00