Commit Graph

12124 Commits

Author SHA1 Message Date
Rene Rivera
39535b42b0 Use rpath name for dylibs to make for simpler deployment on OSX. 2015-04-15 09:44:40 -05:00
Vladimir Prus
d20dad84d4 Don't pass -finline-function option to clang on Darwin. 2015-04-14 11:59:28 +03:00
Tom Kent
9b8009565f Backwards sentance
Utils is linked directly into core, core isn't linked directly into utils, if I understand correctly.
2015-04-13 08:37:40 +03:00
Tom Kent
892fcf6c88 Update overview.xml
Typo, it should be 'Do not execute' not 'Do no execute'.
2015-04-13 08:37:40 +03:00
Rene Rivera
5f22da72aa Reporpous "-o" option to mirror all BB output to the specified file.
Useful for script control and for users to obtain a log in an easier
cross-platform manner.
2015-04-10 09:07:56 -05:00
Rene Rivera
856e7e9f33 Fix detection of built-in bjam/b2 exec on Darwin when running on modern
x86_64 machines.
2015-04-10 08:24:05 -05:00
Rene Rivera
adb0378d22 Add more natural, i.e. direct, glob and glob-tree (ex) project local rules to make it easier to filter globs without repeating paths. 2015-04-08 23:00:16 -05:00
Rene Rivera
8a4f3246d5 Can now fully specify modular libs externally. Only tested for building
Boost System and Filesystem.
2015-04-08 13:40:53 -05:00
Rene Rivera
93512aa90b Merge branch 'develop' of https://github.com/boostorg/build into develop 2015-04-08 12:58:58 -05:00
Rene Rivera
dfbeb39eac Add rule to check for declared targets in projects. 2015-04-08 12:57:32 -05:00
Rene Rivera
10b6358632 Add support for building Objective-C/C++ for clang-darwin. 2015-04-08 12:52:17 -05:00
Steven Watanabe
f61f6c94d6 List the values of architecture. 2015-04-04 17:13:24 -06:00
Vladimir Prus
2e764707e0 Boost.Build 2015.04.
Aaron Boman (6):
      Preserve order of properties in PropertySet.
      Add support for abbreviated paths.
      Print the actual values rather than a pointer to a function.
      Property comparisons should be comparing feature names not feature instances.
      Fix undeclared variable.
      Add support for version.

Alain Miniussi (1):
      Detect the intel compiler in the environement.

Bekenn (1):
      Fix naming of tag_tagged.

Changjiang Yang (1):
      Typo in the document for setting toolset option

Jessica Hamilton (1):
      haiku: platform support

Juraj Ivančić (1):
      improve tutorial a bit

Jurko (5):
      Fix a dependecy --> dependency comment typo.
      Fix error message typo - same named targets with different properties.
      Fix dependendency --> dependency comment typo.
      Fix comment typos.
      Return valid exit code from Windows batch scripts.

Jürgen Hunold (1):
      Merge pull request #63 from yangcha/develop

K. Noel Belcourt (6):
      Check setpgid return value in parent and child.
      Make setpgid checks non-fatal.
      Make system call conform to posix.2 signal handling
      Remove bogus setpgid diagnostic.
      Fix typo in the cleanup to setpgid in parent process.
      Block signals to end of exec_cmd.

Kirit Sælensminde (1):
      Don't pass unsupported -finline-function option.

Noel Belcourt (1):
      Block SIGCHLD during select.

Oliver Kowalke (1):
      check __aarch64__ for ARM

Rene Rivera (9):
      Add optional specification of subroot path for project extensions.
      Fix for some test programs that require some form of input stream by     providing a null one for them to open instead of the non-existent pipes.
      Add target argument to tag rule invocations so that tag rules can get infmration on the specific target they are naming. This is useful, for eaxmple, in finding the sources and basing name changes on that.
      Merge branch 'develop' of https://github.com/boostorg/build into develop
      Revert "Add target argument to tag rule invocations so that tag rules can get infmration on the specific target they are naming. This is useful, for eaxmple, in finding the sources and basing name changes on that."
      Add virtual-target as property for tag rules to provide additional info for them. For example to use in formulating unique names in the face of non-unique sources.
      Merge branch 'develop' of https://github.com/boostorg/build into develop
      Basic modular automatic configuration.
      Make it possible to generate synthetic projects at any location. Use that to synthesize projects for modular libraries.

Steven Watanabe (10):
      Fix path comparison problem on Windows, when READLINK returns a path with a lower case drive.
      Junctions are only possible on windows.  .can-junction is used directly in some places, which resulted in always enabling symlinks on non-Windows.
      Make sure that symlinks are updated when switching from a non-symlink configuration.  Add tests for every possible combination of configuration switching.
      Fix some problems when splitting a linked directory.  This can show up when adding a new library.  The bug was order-dependent and didn't appear in the original tests.
      Make sure that files and directories under a deleted symlink are restored if needed.
      Issue an error when a file is linked from more than one source directory.
      Make order stable.  This restores the old behavior of printing includes in alphabetical order.  When I added the topological sort for includes, it caused directories with no constraints to be printed in reverse alphabetical order under some circumstances.  This broke existing users who relied on the original order.  While I believe that users should not depend on any order for include directories that is not explicitly stated, I'd rather not gratuitously break such uses.  This is especially true since explicitly ordered includes only worked in the simplest cases prior to my topological sort patch.
      Add support for more standard library options within sun.jam.  Patch contributed by John Maddock.
      Adjust the alignment check to account for platforms with lower alignment requirements for pointers.  Fixes #8993.
      Remove unused variables from TARGET and shuffle some of its other members so they pack more efficiently.

Takeshi Abe (1):
      Typo: supress -> suppress

Vladimir Prus (21):
      Merge pull request #45 from jurko-gospodnetic/cleanup_and_small_fixes
      Modernize HTML docs.
      Drop "V2" from documentation title.
      Add local copies of docbook images.
      Remove outdated HTML pages.
      Add a script for building documentation.
      Initial integration of tutorial from Boris Schäling.
      Change tutorial license to BSL, by Boris' permission.
      Improve layout of tables in tutorial.
      Replace "bjam" with "b2".
      Minor copy-edits.
      Convert 'how to use this document' into 'dedication' element.
      Do no chunk first sections.
      Update stylesheet.
      Adjust styling of borders and hr element to match bootstrap.
      Improve styling of admonitions.
      Improve styling for tables.
      Remove font-size customization for copyright footer.
      Separate copyright footer from main content a bit more.
      Add Travis setup.
      New attribute 'hidden' for features.

kjedruczyk (1):
      Fixed null ptr dereference in executable_path on solaris when getexecname fails.
2015-04-04 20:25:07 +03:00
Vladimir Prus
e55a2f8e54 New attribute 'hidden' for features.
Makes non-incidental feature still not show up in
target paths.
2015-04-04 10:33:24 +03:00
Takeshi Abe
141801e33e Typo: supress -> suppress 2015-04-01 12:37:18 +03:00
Steven Watanabe
48aca139d5 Start implementing GDB/MI. Basic commands for running work
in Emacs GDB mode.

TODO:
* Pipe command output in the child through the debugger rather
  than sending it straight to stdout.
* Redirect stdin/stdout/stderr as needed and format the output.
* Add a proper switch between console and mi.
* Finish implementing the stub functions.
* Get Emacs commands for viewing data and the stack working.
2015-03-31 13:23:54 -06:00
Steven Watanabe
2585b08e7e Remove unused variables from TARGET and shuffle some of its other members so they pack more efficiently. 2015-03-24 11:44:40 -06:00
Steven Watanabe
d0594ad5d5 Cleanup.
* Commands are no longer capped at 8 tokens
* Mark functions as static
* Add declaration of debugger( void ) in debugger.h
* Use f ( void ) instead of f ( )
2015-03-23 17:23:58 -06:00
Steven Watanabe
e611b28a20 Normalize paths when setting breakpoints, so it isn't necessary to match the exact name used to load the file. Also allow setting a breakpoint with just a filename, i.e. gcc.jam:73. 2015-03-23 16:57:21 -06:00
Steven Watanabe
78d045e0df Make sure that finish stops when returning from a tail call. 2015-03-23 11:45:47 -06:00
Steven Watanabe
eb1e353840 Fix $(ARGV[1]) on *nix. 2015-03-23 11:37:27 -06:00
Steven Watanabe
ed8bf16ecc Improve test to decide whether a breakpoint is the name of a function or a file+line. Rule names can contain ':' when the module name includes an absolute path on Windows. e.g. Jamfile<C:\boost>.tag. 2015-03-23 11:05:20 -06:00
Steven Watanabe
3721fec260 Initial implementation of a debugger for Jam.
The interface is a subset of gdb.

TODO:
* Put this behind flag, so it's possible to run b2 without the debugger.
  Perhaps -db?
* Keep a command history and allow it to be accessed.
* Abbreviate long arguments in the backtrace, and wrap
  long lines better.
* Implement more commands.  I'm thinking of watch, condition, and ignore in
  particular.
* Test the runtime cost.  If it doesn't have any noticable penalty
  when it's off, then it's safe to integrate this functionality
  into the primary b2 executable.
* Write documentation.
* IDE integration.  I'm hoping that I can hijack gdb support for any
  editor that has built in support for gdb.
2015-03-21 17:21:36 -06:00
Steven Watanabe
1a87fc9da1 Adjust the alignment check to account for platforms with lower alignment requirements for pointers. Fixes #8993. 2015-03-13 20:13:27 -06:00
Vladimir Prus
cebedd8113 Add Travis setup. 2015-03-11 13:56:49 -07:00
Jürgen Hunold
039efe6449 Merge pull request #63 from yangcha/develop
Typo in the document for setting toolset option
2015-03-11 19:35:29 +01:00
Changjiang Yang
5715bda86f Typo in the document for setting toolset option 2015-03-11 13:02:45 -04:00
Rene Rivera
ef875ea43a Make it possible to generate synthetic projects at any location. Use that to synthesize projects for modular libraries. 2015-03-06 22:16:42 -06:00
Rene Rivera
a5edb324b0 Basic modular automatic configuration. 2015-03-05 15:22:29 -06:00
Rene Rivera
f3c05f1d10 Merge branch 'develop' of https://github.com/boostorg/build into develop 2015-03-05 15:16:02 -06:00
Steven Watanabe
259f7f7a96 Add support for more standard library options within sun.jam. Patch contributed by John Maddock. 2015-03-03 11:58:51 -07:00
Steven Watanabe
30d35ce80d Make order stable. This restores the old behavior of printing includes in alphabetical order. When I added the topological sort for includes, it caused directories with no constraints to be printed in reverse alphabetical order under some circumstances. This broke existing users who relied on the original order. While I believe that users should not depend on any order for include directories that is not explicitly stated, I'd rather not gratuitously break such uses. This is especially true since explicitly ordered includes only worked in the simplest cases prior to my topological sort patch. 2015-02-28 14:16:34 -07:00
Rene Rivera
5f9b6e6a41 Add virtual-target as property for tag rules to provide additional info for them. For example to use in formulating unique names in the face of non-unique sources. 2015-02-28 10:10:24 -06:00
Rene Rivera
765c3af806 Revert "Add target argument to tag rule invocations so that tag rules can get infmration on the specific target they are naming. This is useful, for eaxmple, in finding the sources and basing name changes on that."
This reverts commit 327890fe2b.
2015-02-27 11:13:07 -06:00
Rene Rivera
e9c3ddd3d9 Merge branch 'develop' of https://github.com/boostorg/build into develop 2015-02-26 21:10:49 -06:00
Rene Rivera
327890fe2b Add target argument to tag rule invocations so that tag rules can get infmration on the specific target they are naming. This is useful, for eaxmple, in finding the sources and basing name changes on that. 2015-02-26 21:08:43 -06:00
Steven Watanabe
89d6d77396 Issue an error when a file is linked from more than one source directory. 2015-02-26 10:15:32 -07:00
Steven Watanabe
2520b6c1bf Make sure that files and directories under a deleted symlink are restored if needed. 2015-02-25 20:22:56 -07:00
Oliver Kowalke
4a3a99bf30 check __aarch64__ for ARM
Macro __arm__ is not set on Aarch64 architecture
2015-02-25 12:23:40 +03:00
Steven Watanabe
25899a8073 Fix some problems when splitting a linked directory. This can show up when adding a new library. The bug was order-dependent and didn't appear in the original tests. 2015-02-24 13:37:53 -07:00
Steven Watanabe
52f7ac2c65 Make sure that symlinks are updated when switching from a non-symlink configuration. Add tests for every possible combination of configuration switching. 2015-02-24 12:55:36 -07:00
Steven Watanabe
2e72499351 Junctions are only possible on windows. .can-junction is used directly in some places, which resulted in always enabling symlinks on non-Windows. 2015-02-24 10:48:00 -07:00
Steven Watanabe
86456a9028 Fix path comparison problem on Windows, when READLINK returns a path with a lower case drive. 2015-02-24 10:21:07 -07:00
Rene Rivera
37acf89aad Fix for some test programs that require some form of input stream by
providing a null one for them to open instead of the non-existent pipes.
2015-01-28 16:11:26 -06:00
Rene Rivera
3067e149f5 Add optional specification of subroot path for project extensions. 2015-01-27 09:43:56 -06:00
K. Noel Belcourt
f5b31b30aa Block signals to end of exec_cmd. 2015-01-02 16:25:18 -07:00
K. Noel Belcourt
87fa34a0c8 Fix typo in the cleanup to setpgid in parent process. 2014-12-29 08:40:51 -07:00
K. Noel Belcourt
dbb521a6ba Remove bogus setpgid diagnostic. 2014-12-28 22:01:42 -07:00
K. Noel Belcourt
b1e0b621c4 Make system call conform to posix.2 signal handling
a la Steven's APUE, pg 314.
2014-12-28 21:57:18 -07:00
Vladimir Prus
1dc6c36be5 Separate copyright footer from main content a bit more. 2014-12-08 11:34:19 +03:00