Commit Graph

12124 Commits

Author SHA1 Message Date
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
Rene Rivera
967f7aabf3 Fix bad link target. 2018-03-30 09:11:17 -05:00
Edward Diener
c9a2deb416
Merge pull request #293 from rdoeffinger/libnames-msvc-fix
Find lzma and zstd for VisualC++ builds.
2018-03-28 18:59:03 -04: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
04c228e378 Found last reference for missing link. 2018-02-23 14:54:37 -06:00
Rene Rivera
49540fcbd9 Move custom html style mods to separate file for easier editing. And
tweak admonition icons style.
2018-02-23 14:41:03 -06:00
Steven Watanabe
c3dc95d3ac Merge branch 'develop' 2018-02-22 10:26:25 -07:00
Rene Rivera
d03c96fe5c Switch to unicode admonition icons. 2018-02-21 22:15:16 -06:00
Rene Rivera
4cb505ebcd Merge remote-tracking branch 'origin/develop' into
feature/new-doc-format
2018-02-21 15:35:10 -06:00
Rene Rivera
2f59cc7e4d Fix all broken links (almost) and tag all source blocks. 2018-02-21 15:25:32 -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
df4eb6347a Merge branch 'develop' 2018-02-19 13:00:49 -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
Rene Rivera
a72ea055b6 Use pygments for code styling.
Switch to using custom jam_pygments, with pygments, code styling to
avoid client-side javascript and also support styling with PDF output.
This uses the custom jam_pygments PIP package here
<https://github.com/bfgroup/jam_pygments>.
2018-02-10 23:35:29 -06: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
Rene Rivera
a657f190e0 Fix HLJS to allow some invalid b2 rule sytax. 2018-02-01 08:57:36 -06: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 a777fc2ed9c5ba9a204f4dfea46c4945ca291017
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
3c1729bf61 Sync master with develop.
A couple of changes were incorrectly introduced into master
without first going through develop.
* 744089f9: This changeset from PR #265 does nothing useful.
* 20596188: This change duplicates 78ffbe09 from develop, and
  ended up being applied twice to master as a result.  The change
  to develop was reverted in 5de8fc63, but that only removed one
  copy from master.

Fixes #271.
Reverts #265.
2018-01-24 10:32:31 -07:00
Steven Watanabe
1dacc69f0c Merge branch 'develop' 2018-01-24 09:55:10 -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
Steven Watanabe
551ad6aeed Make test output sufficient to debug failures. 2018-01-22 15:17:44 -07:00
Rene Rivera
950e884618 Slight cleanup of hello example.
Change hello example docs to not rely on having sources around. Instead
it now inline the source to make it possible to have a truly standalone
doc.
2018-01-22 09:45:02 -06:00
Rene Rivera
1a50a14cb8 Refresh hljs. 2018-01-21 21:19:28 -06:00
Rene Rivera
1f2051c306 Merge branch 'develop' into feature/new-doc-format 2018-01-21 20:45:57 -06:00
Rene Rivera
fd7c5d831e Add "relevance" feature docs from develop. 2018-01-21 20:44:33 -06:00
Steven Watanabe
e4efe91a84 Fix spurious rebuilds with msvc-14.1. Refs #288. 2018-01-20 14:30:48 -07:00
Rene Rivera
bb35c3f9c0 Add jam syntax coloring.
This adds a custom highlight.js jam syntax. The hljs pack only includes
the minimal syntax for bash, cpp, dos, and jam. And the tagging with to
jam of source snippets is only partially done.
2018-01-18 22:29:36 -06:00