12124 Commits

Author SHA1 Message Date
Rene Rivera 02c567f9d2 Merge branch 'develop' into feature/cxx 2018-11-11 11:30:08 -06:00
Peter Dimov 5dba250502 clang-win.jam: allow options (such as -fuse-ld=lld, -flto=thin) in command 2018-11-05 18:45:01 +02:00
Edward Diener 6910438c88 Merge pull request #361 from boostorg/pr/fix-clang-win
Fix clang-win.jam so that it works
2018-10-29 19:32:20 -04:00
Raffi Enficiaud c39a8b81b3 Fix compilation issue on some old compilers (#362) 2018-10-28 09:59:44 -05:00
Steven Watanabe 40d45a1853 Display the object id for method calls in the call-stack. 2018-10-27 16:52:24 -06:00
Peter Dimov 1685f03e0e Fix clang-win.jam so that it works 2018-10-27 22:15:56 +03:00
Edward Diener e37bb77f68 Merge pull request #324 from boostorg/pr/toolset-clang-win
Make `toolset=clang-win` initialize the clang-win toolset
2018-10-27 13:17:17 -04:00
Edward Diener 70f718a34b Merge pull request #360 from boostorg/pr/fix-clang-win-mangling
Fix clang-win name mangling
2018-10-27 11:06:18 -04:00
Peter Dimov ca9e2207ce Fix clang-win name mangling 2018-10-27 04:27:05 +03:00
Rene Rivera 1ece2a3222 Add --debug option to build debuggable exec. 2018-10-25 22:17:05 -05:00
Rene Rivera 5a3726dd4d Merge branch 'feature/cxx' of https://github.com/boostorg/build into feature/cxx 2018-10-24 09:34:41 -05:00
Rene Rivera 95a50601e7 Minor fixes. [skip ci] 2018-10-24 09:34:23 -05:00
Rene Rivera b1ec9524e1 Fill in the options for non-msvc compilers. [skip ci] 2018-10-23 21:37:25 -05:00
Rene Rivera bed38148c0 Rrewrite config to hopefully avoid missing label errors. 2018-10-23 21:17:46 -05:00
Rene Rivera d2eedd087f Don't need to bootstrap as tests look in engine for b2 exec. 2018-10-23 15:28:16 -05:00
Rene Rivera 34fb4760ec Merge branch 'develop' 2018-10-23 10:03:08 -05:00
Rene Rivera de23ca928f Compile fixes for Windows (msvc). 2018-10-22 22:15:06 -05:00
Mateusz Loskot ec79d7c8a0 Document default number of jobs b2 runs in parallel (#358) 2018-10-22 08:13:12 -05:00
Rene Rivera 5477befdf6 VScode utility files. 2018-10-20 17:47:03 -05:00
Rene Rivera 698aac70d5 Minimal changes to compile with C++.
These are some minimal changes to compile with C++. Here begins
the road to rewriting the bjam engine in C++. So far this is only built
and tested with XCode clang on OSX.
2018-10-20 17:36:10 -05:00
Rene Rivera 1b35aa7eda Rootless specific tests. 2018-10-18 22:51:13 -05:00
Rene Rivera df2eadef97 Add test for rootless projects. 2018-10-18 10:22:32 -05:00
Rene Rivera 2744026f64 Adjust project test to account for rooted jamfile.
With sans-jamroot projects we don't get a missing jamroot error.
Hence we can get other errors, like in this test that fails to find
definitions in the missing jamroot.
2018-10-18 08:35:01 -05:00
Andrey Semashev 20d72776c8 Added support for Ice Lake instruction set, which is available in gcc 8. (#354) 2018-10-17 21:48:07 -05:00
Rene Rivera 0ae5c3ddeb Merge pull request #353 from Kojoley/fixed-slow-pipe-reading-on-windows
Fixed slow pipe reading on windows
2018-10-17 21:37:22 -05:00
Steven Watanabe c53d778a37 Make the python feature symmetric and relevant to avoid problems when changing the python configuration. Refs #356. 2018-10-16 09:15:45 -06:00
Rene Rivera 55da44ad85 Merge branch 'develop' into develop-rootless 2018-10-16 08:27:18 -05:00
Rene Rivera c8bd4136f2 Avoid logical expression warnings. 2018-10-12 19:01:04 -05:00
Nikita Kniazev e7e55d0cc9 Do not read pipe content at available size peeking
Currently the same data is read twice.

The first time a buffer is filled by `PeekNamedPipe` and second time it is
overwritten with the same content by `ReadFile`.
2018-10-11 23:23:28 +03:00
Steven Watanabe a5704a926b Fix threadapi detection when the target-os is also affected by a conditional. Refs #352. 2018-10-11 13:03:16 -06:00
Nikita Kniazev d13002a92d Fixed slow pipe reading on windows
It looks like the OS has the internal buffer around 4KB and with any buffer
over this size `read_pipe` will end the reading loop after first try despite
that reading a pipe may pump a new data and it can be read immediately.
2018-10-11 20:31:44 +03:00
Rene Rivera 141ca1776b Remove deprecated xcode and add latest xcodes for testing. 2018-10-10 19:49:59 -05:00
Rene Rivera 41b33ef520 Limit web build to direct commits. 2018-10-10 19:39:34 -05:00
Rene Rivera 9bf3d18747 Merge pull request #351 from jwakely/patch-1
Fix memory leak
2018-10-10 19:29:52 -05:00
Jonathan Wakely 8ff11a8ecc Fix memory leak
If vsnprintf returns -1 then the buffer should be freed before returning.
2018-10-10 17:17:10 +01:00
Rene Rivera 0039408568 Merge pull request #350 from jwakely/patch-1
Use correct sizeof in malloc call
2018-10-10 10:30:37 -05:00
Jonathan Wakely 35ce23a327 Use correct sizeof in malloc call
This is allocating space for `nel` objects of type `ITEM*` so it should use `sizeof(ITEM*)` not `sizeof(ITEM**)`.

In practice the values are the same, but using the correct type is better anyway, and now matches the same calculation in the `memset` call in the following statement.
2018-10-10 13:47:13 +01:00
Rene Rivera 8acaee3685 Merge pull request #349 from boostorg/pr/update-gcc-clang-mangling
Update GCC and Clang mangling to reflect their new versioning scheme
2018-10-05 23:06:36 -05:00
Peter Dimov 9df3a65a28 Update GCC and Clang mangling to reflect their new versioning scheme 2018-10-06 06:34:28 +03:00
Andrey Semashev d8245f6686 Added local-visibility feature. Mark visibility as a propagated feature. (#345)
local-visibility is intended to be used by libraries or targets that require
a particular visibility mode. It is not propagated to dependencies. It is
equivalent to the previous visibility feature.

The new visibility feature is a composite propagated feature, so it can be
specified by users and higher level targets as a requirement. This feature is
translated to local-visibility.
2018-10-01 22:02:05 -05:00
David Olsen 81bc3e2a4d Fix PGI toolset to recognize the cxxstd feature (#340)
Add the appropriate language level option to pgc++ when b2 is invoked
with toolset=pgi and cxxstd set to something.
2018-10-01 21:58:46 -05:00
Jonathan Wakely c08f1d2d02 Remove executable permissions from jam files (#335) 2018-10-01 14:19:34 -05:00
Steven Watanabe 9d28c3f2e7 Fix doc typo. 2018-10-01 10:37:35 -06:00
luzpaz a2b8731d2a build: misc.typos (#341)
* build: misc.typos

Found via `codespell -q 3 --skip="./src/engine/boehm_gc" -L te,iff`

* Revert 3rdParty code changes
2018-09-26 09:54:06 -07:00
Rene Rivera aa73dbc9cc Merge branch 'develop' 2018-09-20 09:45:51 -05:00
Andrey Semashev 3f7ce8fa5b Make visibility feature not propagated (#333)
This allows to enable hidden visibility on a library without affecting its dependencies, which may not (yet) support hidden visibility by default.
2018-08-24 16:24:44 -05:00
Steven Watanabe 1f46089bb0 Merge remote-tracking branch 'mksully22/build' into develop 2018-08-21 11:05:09 -06:00
Steven Watanabe d11e3e4ef3 Don't break other toolsets that inherit from msvc (such as clang-win). Refs #330. 2018-08-21 10:47:27 -06:00
Mike Sullivan b8329d25a8 boost/build: fix ch declaration in debugger.c 2018-08-20 11:34:15 +00:00
Andrey Semashev 898ddfa1b6 Added visibility feature. (#331)
The new visibility feature can be used to specify default symbol visibility
on compilers and platforms that support it. The default visibility is
global, which matches most compilers' defaults. In gcc documentation it is
called the "default" visibility. Other modes are: protected and hidden.
2018-08-19 14:06:48 -05:00