Rene Rivera
ef6a69b24b
Tweaks to test install process.
2018-11-15 11:24:57 -06:00
Rene Rivera
374f96516a
Support setting the compiler with CXX for CI.
...
[skip appveyor]
2018-11-12 16:08:46 -06:00
Rene Rivera
8fe8c69864
Print gcc/clang version so we can verify we have the correct one in CI.
...
[skip appveyor]
2018-11-12 15:49:15 -06:00
Rene Rivera
614cddb867
Tone down gcc opt to try and avoid bad behavior.
2018-11-12 15:45:07 -06:00
Rene Rivera
30f014746a
Remove boehm_gc and duma libs support.
2018-11-11 14:25:02 -06:00
Rene Rivera
a8b9ae47c7
Remove boehm gc library.
...
We are not going to need the boehm gc lib for C++ build.
So get rid of it first. Later we'll remove the code support.
2018-11-11 14:13:54 -06:00
Rene Rivera
a74bde9260
Implement python option for clang & gcc.
2018-11-11 12:54:44 -06:00
Rene Rivera
151f633263
Specify C++11 and resulting cleanup.
...
Adding C++11 for some compilers to make sure we comply.
And hence remove "register" storage use as that's gone in >=17.
2018-11-11 12:19:49 -06:00
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
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
de23ca928f
Compile fixes for Windows (msvc).
2018-10-22 22:15:06 -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
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
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
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
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
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
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
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
Steven Watanabe
33d6396afd
Fix memory leak. Fixes #326 .
2018-07-27 11:13:45 -06:00
Peter Dimov
b5b374439a
Make toolset=clang-win initialize the clang-win toolset
2018-07-09 15:42:55 +03:00
Rene Rivera
c5f1607382
Merge pull request #297 from jlapolla-cray/cray-toolset
...
Update Cray toolset
2018-06-12 07:30:08 -05:00
Rene Rivera
76e05ee890
Merge remote-tracking branch 'origin/develop' into feature/auto-load-package-manager-build-info
2018-05-23 19:56:09 -05:00
Rene Rivera
5576e68d20
Allow use-packages and auto-load in the same project.
...
Use the custom use-packages project rule to load packages as using
import doesn't allow for multiple definitions of packages in the same
project. This allows
2018-05-22 22:51:56 -05:00
Steven Watanabe
21f44855c4
Add missing import. Fixes #311 .
2018-05-22 19:26:25 -06:00
Steven Watanabe
65368dfa75
When adding the default value of a feature, also add the default values of its subfeatures. Fixes #308 . Closes #310 .
...
* Rework the test case expansion.py to avoid interference from user-config.jam
and toolsets which previously masked this problem. Also add a test case
specifically for this issue.
* Remove the test case for BB60. I have no idea what BB60 is, but the test
case doesn't seem particularly important for the current implementation
given that project requirements are merged into the target requirements
long before conditionals are evaluated.
2018-05-22 12:22:52 -06:00
Rene Rivera
4170ffd352
Add auto-loading of package manager build information. This adds a facility to define a glob pattern for auto-loading a B2 jam file as if it where part of the project. The jam file is loaded after a project definition but before the loading of the project jam file itself. Hence making it possible to act as if the auto-loaded file(s) are part of the current project. Currently only Conan is directly supported by default. But the facility is flexible to any PM that can generate B2 usable definitions and only needed to either set an env var or call the config rule to specify the glob. Having a built-in default allows non-intrusive use of a package manager assuming target definitions are uniform across package managers.
2018-05-22 00:38:13 -05:00