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

4091 Commits

Author SHA1 Message Date
Rene Rivera
c5f1607382 Merge pull request #297 from jlapolla-cray/cray-toolset
Update Cray toolset
2018-06-12 07:30:08 -05:00
Rene Rivera
76e05ee890 Merge remote-tracking branch 'origin/develop' into feature/auto-load-package-manager-build-info 2018-05-23 19:56:09 -05:00
Rene Rivera
5576e68d20 Allow use-packages and auto-load in the same project.
Use the custom use-packages project rule to load packages as using
import doesn't allow for multiple definitions of packages in the same
project. This allows
2018-05-22 22:51:56 -05:00
Steven Watanabe
21f44855c4 Add missing import. Fixes #311. 2018-05-22 19:26:25 -06:00
Steven Watanabe
65368dfa75 When adding the default value of a feature, also add the default values of its subfeatures. Fixes #308. Closes #310.
* Rework the test case expansion.py to avoid interference from user-config.jam
  and toolsets which previously masked this problem.  Also add a test case
  specifically for this issue.
* Remove the test case for BB60.  I have no idea what BB60 is, but the test
  case doesn't seem particularly important for the current implementation
  given that project requirements are merged into the target requirements
  long before conditionals are evaluated.
2018-05-22 12:22:52 -06:00
Rene Rivera
4170ffd352 Add auto-loading of package manager build information. This adds a facility to define a glob pattern for auto-loading a B2 jam file as if it where part of the project. The jam file is loaded after a project definition but before the loading of the project jam file itself. Hence making it possible to act as if the auto-loaded file(s) are part of the current project. Currently only Conan is directly supported by default. But the facility is flexible to any PM that can generate B2 usable definitions and only needed to either set an env var or call the config rule to specify the glob. Having a built-in default allows non-intrusive use of a package manager assuming target definitions are uniform across package managers. 2018-05-22 00:38:13 -05: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
Steven Watanabe
7433faf1fb Merge remote-tracking branch 'neuschaefer/poll' into develop 2018-05-12 20:08:08 -06: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
Steven Watanabe
7ea55e4f2d Fix configure.choose when none of the targets build successfully. Refs #295. 2018-04-04 17:33:24 -06:00
Jonathan Neuschäfer
8b2054417c Avoid 100% CPU utilization if no timeout is set
While building boost, I noticed that jam0 and bjam used 100% of a CPU.
Strace showed that they were calling poll with a zero timeout in a loop.
This is because:
- the logic in exec_wait() initializes select_timeout to globs.timeout
- globs.timeout is zero when no action timeout is specified
- poll interprets a zero timeout as "return immediately" rather than
  "wait indefinitely".

Fix this by passing -1 to poll when globs.timeout is zero.
2018-04-02 15:20:57 +02:00
Reimar Döffinger
483c1135ab Find lzma and zstd for VisualC++ builds.
gcc builds add the lib prefix on their own,
for VisualC++ we need to do it manually.
2018-03-27 02:09:15 +02:00
Rene Rivera
4cb505ebcd Merge remote-tracking branch 'origin/develop' into
feature/new-doc-format
2018-02-21 15:35:10 -06:00
Steven Watanabe
0dacbc3df6 Make python.require-py safe to use when python is not found at all. 2018-02-20 11:38:12 -07:00
Steven Watanabe
2dd4ba21e5 Merge remote-tracking branch 'stefanseefeld/develop' into develop 2018-02-20 11:10:09 -07:00
Steven Watanabe
0d0c656c11 Quote or escape special characters in all modules. 2018-02-20 09:30:41 -07:00
Steven Watanabe
0a1ffa1deb Fix warnings on msvc. Note that the lack of a return shouldn't cause a problem, because we never actually call yypeek in a case where the return is needed, but it's still more future-proof to have it. 2018-02-19 12:28:37 -07:00
Steven Watanabe
8af8dda1e5 Increment jam version. This should actually have been done multiple times in the past, as there have been several significant updates to the engine. 2018-02-19 12:23:15 -07:00
Steven Watanabe
c2630072f4 Avoid an error in C with gcc-4.x. This fix is required because of -Werror (which is necessary in flags.jam). 2018-02-19 11:15:17 -07:00
Steven Watanabe
1e966040ab Remove <include> from asciidoctor. It doesn't actually work, and abusing <include> is wrong anyway. 2018-02-15 11:07:29 -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
c8e35ddb09 Fix named parameters when some trailing parameters are blank. 2018-02-07 10:17:50 -07:00
Stefan Seefeld
c95f1302bf Add 'version-suffix' rule. 2018-02-06 21:35:16 -05:00
Steven Watanabe
0d5e76ebf2 Upgrade the scanner to handle whitespace more intelligently
* The new scanner is currently disabled and only issues a warning
  for tokens that would be lexed differently.
* Special case a few common uses of ':', to limit breakage to
  a manageable level.
* Remove the horribly outdated Jambase code inherited from Perforce Jam
* Update all of Boost.Build to work in the presence of the new lexer.
2018-01-31 14:08:36 -07:00
Steven Watanabe
9470cebaf8 Don't duplicate linker flags for clang. 2018-01-31 12:42:04 -07:00
Steven Watanabe
214e083860 Allow named parameters in lib, alias, make, generate, boostbook, and doxygen. 2018-01-30 16:00:12 -07:00
Steven Watanabe
e1ee0777fb Set the default target os for gcc. Fixes #285. 2018-01-26 16:11:20 -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
fb43f6bb60 Print output from actions immediately in single-threaded builds (-j1). Output is still buffered in parallel builds and for quiet actions. This should also fix the output order for VMS which doesn't support parallel builds. Fixes #210. 2018-01-26 12:49:09 -07:00
Steven Watanabe
22c800894a Remove unused and out-dated file. clang-win needs more fixes than this to make it work. 2018-01-25 11:57:23 -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
eae02a51f5 Make the toolset relevent for all test targets to help the regression testing system out. 2018-01-24 08:54:22 -07:00
Steven Watanabe
ca9de064f4 Generalize flags output check. Make it work for intel and vc71. 2018-01-23 09:29:20 -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
23d3521ae7 Make clean-all include configure checks. Also fixes an issue with the msvc setup scripts being written to two different locations, depending on whether configure checks were cached. 2018-01-22 15:41:10 -07:00
Rene Rivera
1f2051c306 Merge branch 'develop' into feature/new-doc-format 2018-01-21 20:45:57 -06:00