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

11013 Commits

Author SHA1 Message Date
Vladimir Prus
e4e54c3f77 Convert 'how to use this document' into 'dedication' element.
This makes the content appear in the top 'index.html' element,
and disappear form TOC. I could not find another way - disabling
chunking for the first section would almost work, but would retain
it in TOC.
2014-12-07 21:18:06 +03:00
Bekenn
d268890d26 Fix naming of tag_tagged. 2014-11-29 10:28:22 +03:00
Kirit Sælensminde
c2529b667a Don't pass unsupported -finline-function option. 2014-11-25 10:11:15 +03:00
Jessica Hamilton
7f0d33a7b0 haiku: platform support 2014-11-25 09:13:21 +03:00
Vladimir Prus
e0dde1b783 Minor copy-edits. 2014-11-20 09:13:33 +03:00
Juraj Ivančić
83b1a2e39e improve tutorial a bit
Rewording/grammar.
Part of it is out of date (such as 'v2' directory).
2014-11-10 12:58:50 +03:00
Vladimir Prus
29bee9098c Replace "bjam" with "b2". 2014-11-07 21:15:12 +03:00
Vladimir Prus
3bed4c685d Improve layout of tables in tutorial. 2014-11-07 21:14:10 +03:00
Vladimir Prus
4f3e923c75 Change tutorial license to BSL, by Boris' permission. 2014-11-07 21:07:12 +03:00
Vladimir Prus
10b2705650 Initial integration of tutorial from Boris Schäling. 2014-11-07 11:36:49 +03:00
Vladimir Prus
6d9d910766 Add a script for building documentation. 2014-11-06 20:03:47 +03:00
Vladimir Prus
204046884c Remove outdated HTML pages. 2014-11-06 20:03:02 +03:00
Alain Miniussi
d21102f2a1 Detect the intel compiler in the environement.
The mentioned 'standard' path were quite old (9.0, last Intel
compiler version is 15.x as on Oct 2014). Keept the legacy
detection though.

Build in 64 bit (seems more common).
2014-11-06 09:54:22 +03:00
Aaron Boman
e965b8e84a Add support for version. 2014-11-06 09:51:18 +03:00
Aaron Boman
a333481070 Fix undeclared variable. 2014-11-06 09:50:57 +03:00
Aaron Boman
a9107006dd Property comparisons should be comparing feature names not feature instances. 2014-11-06 09:50:27 +03:00
Aaron Boman
b184816213 Print the actual values rather than a pointer to a function. 2014-11-06 09:49:49 +03:00
Aaron Boman
64d0521572 Add support for abbreviated paths. 2014-11-06 09:47:46 +03:00
Vladimir Prus
c0b69aeeb9 Add local copies of docbook images.
This permit to build documentation, and have it work
standalone.
2014-10-31 19:38:46 +03:00
Vladimir Prus
96cc1701e7 Drop "V2" from documentation title. 2014-10-31 19:32:12 +03:00
Vladimir Prus
6f1f20ef19 Modernize HTML docs. 2014-10-31 15:18:12 +03:00
K. Noel Belcourt
156bc5c42e Make setpgid checks non-fatal.
Comment out the call to exit following a failed
called to setpgid.  Can re-enable in the future.
2014-10-24 18:11:34 -06:00
K. Noel Belcourt
7bcbc5ac31 Check setpgid return value in parent and child.
A user is having trouble with calls to setpgid failing
with EPERM and we're not sure whether it's the call to
the parent, or child process that is the source of the
failure.  Add check with explicit indication whether
the parent of child failed.
2014-10-24 16:40:47 -06:00
Aaron Boman
e413fd9406 Preserve order of properties in PropertySet. 2014-10-24 23:10:22 +04:00
Vladimir Prus
e484a7de15 Merge pull request #45 from jurko-gospodnetic/cleanup_and_small_fixes
Fix typos in comments.
2014-10-24 11:07:18 +04:00
kjedruczyk
c79ea493ff Fixed null ptr dereference in executable_path on solaris when getexecname fails. 2014-10-24 11:05:42 +04:00
Jurko
f929602088 Return valid exit code from Windows batch scripts.
Technique used for setting Windows batch script exit codes in Boost.Build worked
correctly when the script is called from a Windows shell process and then checked
from inside that process. However, when run from a temporary shell process that
needs to terminate after running the script, such a process would always return
exit code 0.

This prevented anyone automating those scripts from detecting their success/
failure status by using their exit code without adding an additional batch script
layer.

For example, consider the following two script files:

  ret666.cmd:
    exit /b 666

  wrapper.cmd:
    call ret666.cmd

They both 'should return the value 666' and when run directly from a cmd.exe
console indeed both do (they set the shell process's ERRORLEVEL environment
variable to 666). However, when run like this:
  cmd /c <script-name>
running ret666.cmd causes the temporary cmd.exe process to exit with exit code
666, while running wrapper.cmd causes it to exit with exit code 0.
2014-10-24 11:03:15 +04:00
Jurko
b0811243d7 Fix comment typos. 2014-10-23 09:11:00 +02:00
Jurko
ce71e894b2 Fix dependendency --> dependency comment typo. 2014-10-21 14:38:35 +02:00
Jurko
c94645a01a Fix error message typo - same named targets with different properties. 2014-10-21 14:38:35 +02:00
Jurko
dcd0b7d1a2 Fix a dependecy --> dependency comment typo. 2014-10-21 14:38:34 +02:00
Noel Belcourt
252b5aa019 Block SIGCHLD during select.
Select was losing child termination signals so we explictly
block SIGCHLD during select, and unblock after select returns.
Tested on 256 core smp system, no hangs or zombies.  Thanks
to Alain Miniussi <alain.miniussi@oca.eu> for reporting this.
2014-10-21 00:23:53 -06:00
Aaron Boman
2f6ee88755 Add support for ranlib. 2014-10-07 11:29:40 +04:00
Vladimir Prus
2ce8b7a51f Miscellaneous improvements from Aaron Boman.
feature.py:

Use the feature's name in the error output. This helps in understanding the
error message.

project.py:

The original looked like the result of a bad merge as the return value was the
exact same as the return within the try...except block. The try...except
produces a better error message upon failure.

property_set.py:

The string module is unused.

virtual_target.py:

ARM's ar.exe would fail when passed a path to the -via file that had both
POSIX and Windows path separators. Normalizing the path on the target solved
the problem.

common.py:

The requirement parameter in check_init_parameters should be a container. The
original Jam signature marks it as a list with zero or more items. These
changes convert the requirement parameter to using only a container.

msvc.py:

The call to to_seq asserts that command is always some container. So, extend()
should always be used.

tools/rc.py:

Old style exceptions aren't allowed (at least in Python 2.7). This change just
uses the existing AlreadyDefined exception.

testing.py:

loaded_tool_module_path_ is empty upon initial import. Using the __file__
variable instead will always work (provided the import system doesn't change).
2014-10-07 11:24:20 +04:00
Aaron Boman
9821a98b50 Add C scanner 2014-10-07 11:17:36 +04:00
Aaron Boman
9e3147234d Add module's location to loaded_tool_module_path_ dict. 2014-10-06 13:16:51 -05:00
Aaron Boman
29273d767d Use __file__ variable for location. 2014-10-06 12:38:42 -05:00
Aaron Boman
e246c73936 Old style exceptions don't work. 2014-10-06 12:37:46 -05:00
Aaron Boman
0abdbd568b command is always a sequence, always use extend(). 2014-10-06 12:37:10 -05:00
Aaron Boman
905a816239 check_init_parameters: requirement should be a container. 2014-10-06 12:35:10 -05:00
Aaron Boman
7c7a99850a Fix pathing issue. ARM's ar.exe didn't like the mis-matched path separators. 2014-10-06 12:33:59 -05:00
Aaron Boman
4554c31585 Remove unused import 2014-10-06 12:32:33 -05:00
Aaron Boman
3655ad21a3 Remove return in favor of try...except return. 2014-10-06 12:32:04 -05:00
Aaron Boman
3a7d9eed87 Use feature name for better error output. 2014-10-06 12:31:22 -05:00
Vladimir Prus
ba1530c3a2 Merge from develop.
Core changes:

- Multiple improvements in Python port, from Aaron Boman.
- Clearer error reporting for target name clases and invalid
  metatarget references, from Vladimir Prus.

Visual Studio:

- Initial support for Windows 8 phone and store applications,
  from Steve Gates.
- Faster builds, via caching setup script invocations,
  from Juraj Ivančić.
- Support for custom DLL manifests and dlls without import libraries,
  from Bernhard B.

Tools:

- Improved clang support, from Edward Diener.
- Support for Intel 15, from John Maddock.
2014-10-03 17:16:08 +04:00
Vladimir Prus
67df2c5809 Update expected error message wording. 2014-10-03 16:59:58 +04:00
jzmaddock
3ae16f3d46 Add support for Intel 15, fix Glob Bug, and compiler path selection bug.
This patch fixes 3 issues:

- Adds support for Intel-15 so MSVC version can be auto-selected.

- Changes GLOB to path.glob as for some reason the GLOB rule always
fails when used in this context (discovered when testing this patch).

- Changes selection logic for target-types variable - previous code
used the value of PROCESSOR_ARCHITECTURE to detect this, but that
appears to only tell you which sub-system bjam is running in. For
example on my system bjam is a 32-bit app (default for an msvc build),
but I only have the Intel 64-bit compiler installed (under /intel64/).
New logic checks whether the intel64 compiler exists and uses that if
it is - Intel's installer won't install this on 32 bit platforms in
which case the glob fails and things fall back to the ia32-intel64
cross compiler when address-model=64 is specified.
2014-09-22 23:07:21 +04:00
Vladimir Prus
be7ae61cae Merge pull request #32 from frenchtoast747/features/python-module-import
Python Port: Make importing more robust.
2014-09-10 21:55:21 +04:00
Aaron Boman
60130a7a0a Make sure all of BOOST_BUILD_PATH is checked for module importing. 2014-09-10 11:21:32 -05:00
Aaron Boman
9dc108a115 Add get_target_variable to engine interface. 2014-09-10 17:52:54 +04:00