Matthaus Owens
eefd58579e
Use test_path instead of which
...
which was used to detect icc, but on some platforms such as solaris 10
which always returns 0, even when the command is not found on the path.
This commit updates the invocation to use the test_path function
instead, which does return non-zero on solaris 10 in the failure case.
2015-08-10 12:38:20 -07:00
Matthaus Owens
bcdb695438
Use sh compliant subshells
...
In commit d21102f2a1 , the icc detection
was updated to use bash style subshells, which breaks on systems that
have just sh, such as solaris 10. This commit updates the detection to
use `` style subshells instead of $().
2015-08-10 12:38:20 -07:00
Rene Rivera
f191b3cc7e
Merge pull request #82 from camorton2/xlcpp-toolset-build
...
Xlcpp toolset build
2015-07-22 11:19:23 -06:00
Jürgen Hunold
0956e85395
Bump version number to 2015.07
...
And change -svn to -git
2015-07-18 10:40:22 +02:00
Rene Rivera
f7b59dbf1a
Implement ability to have "rootless" projects. With this it is no longer
...
an error to not have a jamroot file when loading a project. Instead the
top-most jamfile project will operate as the jamroot.
2015-06-11 15:31:50 -05:00
Vladimir Prus
ab3933bc80
Fix quoting for multi-part gcc commands.
...
This fixes usecase such as:
using gcc : cccache g++ ;
2015-06-09 10:52:17 +03:00
Jürgen Hunold
a8cd115cc3
Add support for QtLocation and QtPositioning libraries.
...
Both are tech preview in 5.4 and officially supported in 5.5
2015-06-05 10:06:52 +02:00
Vladimir Prus
831e37cedb
Quote gcc command name when querying various properties.
2015-06-05 10:49:52 +03:00
Vladimir Prus
f0e31458a7
Fix package.install when target name is different from package name.
2015-06-03 22:27:53 +03:00
Vladimir Prus
a0cf4ad8ca
Don't fail Windows Store initialization with non-default paths.
...
The previous code would do parts of Windows Store support initialization
using 'default-path', and would fail in all cases where that returns false,
in particular for 12.0_xp version.
This patch moves that code to a different place, where explicit initialization
path is available.
2015-06-03 22:14:40 +03:00
Catherine Morton
6fec0e5fc1
fix copyright
2015-06-02 16:24:34 -04:00
Catherine Morton
1f61ae4edb
fix permissions
2015-06-02 15:29:22 -04:00
Catherine Morton
78c2632878
adding toolset for xlcpp
2015-06-02 12:58:39 -04:00
Rene Rivera
faea0e07ba
Fix missing path normalization when discovering type jam files.
2015-05-07 22:02:48 -05:00
Rene Rivera
85950e07ba
Make modules.import account for relative imports to the same modules. Now only the basename of the imported module is considered the key (and module namespace) and any directory part is used to search for the module.
2015-05-06 23:36:46 -05:00
Thomas Gebauer
6ba1bf50f4
Update list of libraries in boost.jam.
...
This is a merge from https://github.com/tomgeb/build .
2015-05-05 10:11:49 +03:00
Tim D. Smith
b1c031d26b
Don't explicitly link python on darwin
...
Passing -undefined dynamic_lookup to the linker (instead of -lpython or
-framework Python) permits undefined symbols in shared libraries on OS
X. This allows a module to be linked against one Python framework and
imported from another.
2015-05-05 09:49:14 +03:00
Jörg Krause
9576ca216c
Don't pass -m32/-m64 where it's not supported.
...
Only PowerPC, SPARC, and x86 do support the -m32 and -m64 compiler options [1].
Rather then excluding all architectures not supporting these options as it is
done in commit c0634341d9 [2], include all
architectures that do support them.
This will fix building Boost for the SuperH architecture with Buildroot [3].
[1] https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html
[2] c0634341d9
[3] http://autobuild.buildroot.net/results/ccd/ccd5c83963032ba49b1627b1dff39e34a9486943/build-end.log
2015-05-04 17:37:18 +03:00
Aaron Boman
aeb4130e0e
Fix implicit-dependency scanner bug.
2015-04-30 22:19:27 +03:00
Thomas Gebauer
2ce970dc84
Added /boost//timer
2015-04-29 16:35:27 +02:00
Thomas Gebauer
2fe95b8160
Lexical order of targets
2015-04-29 16:34:34 +02:00
Thomas Gebauer
2f8a9792fc
Added targets /boost//log and /boost//log_setup
2015-04-29 16:10:05 +02:00
Vladimir Prus
ec60c37295
Remove bogus 'c3' cpu varant for SPARC.
2015-04-27 19:12:54 +03:00
claymore
c0634341d9
mips1 fix added
...
gcc.jam was passing the options -m32 and -m64 to mips cross-compilers, when those do not use such options
This modification solves it by adding mips as an exception
Signed-off-by: Carlos M. Ferreira carlosmf.pt@gmail.com
2015-04-24 02:28:47 +01:00
Steven Watanabe
ae1183ee2d
Return really returns now. Also implement break/continue.
2015-04-18 14:30:43 -06:00
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
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
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
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
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