Rene Rivera
8e3edfb0d6
Remove temp debug echo-s.
2020-03-31 22:16:18 -05:00
Rene Rivera
f414639736
Remove vc11 engine build.
2020-03-31 21:47:38 -05:00
Rene Rivera
48fb55c653
Temp: echo build execute.
2020-03-31 20:40:47 -05:00
Rene Rivera
24626819c2
Temp: print config_toolset execution.
2020-03-31 20:15:50 -05:00
Rene Rivera
8f3bd9e842
Remove left-over gcc pragma.
2020-03-31 14:59:26 -05:00
Rene Rivera
a47bd89c60
Fix missing predef or.
2020-03-31 14:36:22 -05:00
Rene Rivera
085fc552c9
Avoid pragma syntax warning in non-msvc compilers.
2020-03-31 14:33:44 -05:00
Rene Rivera
107c3d30c8
Have to disable warning in Windows header.
2020-03-31 12:24:13 -05:00
Rene Rivera
7f85769fd0
Fix implicit bool cast warning.
2020-03-31 11:33:46 -05:00
Rene Rivera
d799bcc52a
Avoid warning from STL during build on msvc14.
2020-03-30 22:33:19 -05:00
Marcel Raad
3982f4808a
Unbreak building from VS Preview command prompt ( #549 )
...
Commit de026bc61e changed the order to first detect the unusable vcunk
toolset before the vc142 and vc141 toolsets. This breaks building from
the Visual Studio Preview command prompt if no other Visual Studio
version is detected. Move the vcunk block down to where it was before
to restore this functionality.
2020-03-18 22:11:26 -05:00
Rene Rivera
ecb7bd6b84
Bump version number.
2020-03-18 21:05:56 -05:00
Rene Rivera
3595602a14
Big rename from Boost.Build to B2.
2020-03-09 11:08:48 -05:00
Mateusz Łoskot
bdccf53eec
Make sure b2 exits immediately on syntax errors ( #540 )
...
Add test verifying Jam syntax error results in non-zero exit status.
Refines #538
Fixes #539
2020-03-02 14:03:38 -06:00
Mateusz Łoskot
71b8d4b823
Switch to explicit ANSI variants of Win32 API functions ( #543 )
...
Allow clean compilation with /DUNICODE defined.
Fixes #542
2020-02-28 07:32:34 -06:00
Rene Rivera
aa9b558bb2
Restore cygwin/vms only function.
...
fixes #541
2020-02-27 22:58:14 -06:00
Rene Rivera
4077c4fe41
More Windows build warning removal.
2020-02-26 16:25:43 -06:00
Rene Rivera
520ebfd0bf
Remove some warnings on NT/Windows.
2020-02-26 14:36:54 -06:00
Rene Rivera
391939c93b
Avoid MSVC secure, and one more un/signed warning.
2020-02-25 10:28:38 -06:00
Rene Rivera
e115f07729
Clean up build warnings (gcc & clang).
2020-02-24 22:10:15 -06:00
Mateusz Łoskot
b02e4c4e50
Fix non-zero exit code on Jam parsing errors ( #538 )
...
Prevent resetting the non-Zero status returned from yyanyerrors
on any parsing errors.
2020-02-22 15:24:06 -06:00
Rene Rivera
4dea1934c6
Rebuild grammar parser with latest Bison.
2020-02-18 20:49:39 -06:00
Rene Rivera
415bede6bc
Nicer cxx11 error message pass from bootstrap to build.
...
Expanded error message for cxx11 requirment. And now passing bootstrap
arguments to build script to allow choosing toolset from bootstrap also.
2020-02-13 20:36:30 -06:00
Rene Rivera
89a7ac58db
Add checks for C++11 with informative error.
...
This adds a check_cxx11.cpp source that is checked for compile with the
chosen toolset before actually building. This include an appropriate
user error. To see such errors, we also nolonger output to
bootstrap.log. Instead the bootstrap outputs to cerr and sets the
error code.
2020-02-13 07:30:17 -06:00
Rene Rivera
8182f7a91a
Bump version for next release.
...
Also add current CI test compilers and OSes.
2020-02-09 11:31:20 -06:00
vahtis
6963718145
Fixes build on Sun toolset by adding C++11 compile option.
...
Add c++11 flags because sysinfo uses c++11 features
fixes #530
2020-01-29 09:11:25 -06:00
YunQiang Su
e67fc8a4be
define OSPLAT: MIPS64/MIPS32 instead of MIPS ( #517 )
...
context need to define abi as o32 for MIPS32, while n64 for MIPS64.
we need a way to know about it.
2019-12-26 09:23:27 -06:00
Andrey Semashev
146ab9a227
Renamed strings.h to jam_strings.h to distinguish from POSIX strings.h. ( #476 )
...
Some system headers on POSIX systems indirectly include strings.h in extern "C"
region. This sometimes results in Boost.Build's strings.h being included into
such region, which marks all string_* functions as extern "C" and changes their
name mangling rules accordingly, which causes linking errors. To resolve this
header conflict, this commit renames strings.h to jam_strings.h. And strings.cpp
to jam_strings.cpp for consistency.
Fixes https://github.com/boostorg/build/issues/468 .
2019-09-10 22:25:12 -05:00
Juan Alday
25ce5386f3
Extracts version of IBM and Sun compilers ( #474 )
...
xlc and suncc do not support the --version flag. This PR fixes the bootstrapper to use the correct flags.
2019-08-28 07:08:16 -05:00
Andrey Semashev
2b9645cd7e
Fix compiler warnings about -std=gnu11 on Cygwin. ( #458 )
...
-std=gnu11 is a flag for C source files, for C++ -std=gnu++11 should be used.
2019-07-11 06:34:28 -05:00
Rene Rivera
35c86a1bed
Start of 4.1.0 release.
2019-07-11 06:32:18 -05:00
Rene Rivera
a83f94aad2
Fix bad number of args to cpu count macro.
2019-06-18 09:24:18 -05:00
Rene Rivera
79c248c57a
Restore POSIX & Linux core count.
...
Looks like the std core count function is no worse than the POSIX &
Linux specific methods. Re-enabling those platform methods.
2019-06-18 08:09:48 -05:00
Rene Rivera
9e4bb2e28b
Disable the POSIX & Linux core count until stable.
...
Some methods for quering the cpu counts are unreliable when run
in a container or other cpuset restrictions. Disable them to prefer
the std query.
2019-06-14 23:48:59 -05:00
Rene Rivera
495410e2c1
Avoid warnings about redef of _GNU_SOURCE.
2019-06-11 21:34:58 -05:00
Rene Rivera
c27d575fb3
Rework sysinfo cpu to avoid overcounts.
...
When running in Linux containers the POSIX sysconf can return "too many"
cores or cpus. Instead we prefer using Linux specific sched_getaffinity
there.
2019-06-11 21:26:25 -05:00
Rene Rivera
a8ab76ef97
Final fallback for cpu count to use std::thread.
2019-06-04 17:07:24 -05:00
Rene Rivera
52d0cb791c
Fix some 11 warnings.
2019-06-04 09:07:39 -05:00
Rene Rivera
451059949d
Implement minimal cpu sys info for POSIX.
...
This implements partial cpu count information on POSIX systems using
`sysconf` call. This should be the fallback for most Unix like systems
if they don't have a more accurate cpu count API.
2019-06-04 08:25:47 -05:00
Rene Rivera
150d69bd57
Default to available cpu threads for -j option.
...
This adds a `b2::system_info` class to obtain available information on
system we are running in. Currently provides CPU counts.
And currently only implemented for macOS.
2019-06-03 18:39:22 -05:00
Rene Rivera
37bcce2f35
Minor change for b2 to build with bcc32.
2019-05-08 22:46:08 -05:00
Rene Rivera
f553984b77
Fix cygwin engine build from missing syms.
...
[fixes 427]
2019-05-01 17:05:54 -05:00
Steven Watanabe
2d306dbe9c
Fix errors reported by ubsan. (memcpy w/ nullptr).
2019-04-24 16:31:31 -06:00
Rene Rivera
0f6f083806
Attemp to fix Linux OS predef detection spec.
2019-04-16 21:15:30 -05:00
Rene Rivera
663d2a82d9
Need to def NT as 1 to match default -DNT.
2019-04-15 09:28:54 -05:00
Rene Rivera
8667d6df4d
Add auto-detect of NT and VMS.
2019-04-15 08:30:31 -05:00
Rene Rivera
b3ef77492e
Remove obsolete build file.
2019-04-14 20:44:29 -05:00
Rene Rivera
0b9914ea90
Add jambase source generation to build.
2019-04-08 18:24:31 -05:00
Rene Rivera
bece47c602
Update grammar gen for latest bison.
2019-04-08 10:34:24 -05:00
Rene Rivera
460f4aa1f4
Fix jamgram.h/pp reference.
2019-04-08 10:22:24 -05:00