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

11789 Commits

Author SHA1 Message Date
Mateusz Loskot
ec79d7c8a0 Document default number of jobs b2 runs in parallel (#358) 2018-10-22 08:13:12 -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
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
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
Rene Rivera
3ba155bbc0 Place generated docs in branch/tag specific subdir. 2018-07-02 22:07:40 -05:00
Rene Rivera
bc7659b9af More spelling fixes. 2018-06-22 17:06:33 -05:00
Rene Rivera
a35d2b778b Fix many spelling errors. 2018-06-21 22:02:33 -05:00
Rene Rivera
1a7c1848f4 Escape all occurances of C++ to get correct rendering. 2018-06-21 17:03:55 -05:00
Mateusz Loskot
f62c5fd865 Spell-check Boost.Build .adoc files [ci skip] (#319) 2018-06-21 09:04:36 -05:00
Mateusz Loskot
d6f2c41b49 Ignore .vscode directory [ci skip] (#318) 2018-06-21 09:02:27 -05:00
Mateusz Loskot
71f02a509c Clarify restrictions and role of dashes in values of features (#317) 2018-06-21 09:01:17 -05:00
Rene Rivera
13cc13b821 Enable Boost integrated doc build now that the tools are installed. 2018-06-19 13:13:50 -05:00
Rene Rivera
130c76d9a0 Link directly to github issues. 2018-06-19 08:52:57 -05:00
Rene Rivera
54cd7fa438 Minor fixes for old URLs. And remove obsolete scripts. 2018-06-19 08:25:24 -05: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
faeadc8cd3 Document package manager support. 2018-05-23 20:02:39 -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
Rene Rivera
43738a898b Use --version instead of -dumpversion on Apple clang. This change uses --version on Apple clang as the -dumpversion only reports some old gcc compatibility version. This way we can tell the Apple version specifically. 2018-05-21 18:25:32 -05:00
Steven Watanabe
7433faf1fb Merge remote-tracking branch 'neuschaefer/poll' into develop 2018-05-12 20:08:08 -06:00
Rene Rivera
ba8fb82e73 Disable boost release doc build for now. 2018-04-27 10:53:37 -05:00
Rene Rivera
646d09a93e Ignore root project-config file. 2018-04-26 17:09:46 -05:00
Rene Rivera
75b2264154 Only install asciidoctor when doing web update. 2018-04-26 16:08:09 -05:00
Rene Rivera
ec05ea4146 Remove web site content as it's now in gh-pages branch. 2018-04-26 14:10:01 -05:00