Rene Rivera
cc84fc59b4
Use std::free instead of C free.
...
Fixes #671 .
2020-12-27 09:49:59 -06:00
Rene Rivera
f5584205b0
Fix missing C++ flags args for msvc.
...
Recent change fixed the use of CFLAGS vs. C++FLAGS which caused a bunch
of C++ options to dissappear. This brings then back by setting them to
appropriate OPTIONS, CFLAGS, or C++FLAGS var.
2020-12-27 07:54:24 -06:00
Rene Rivera
8d37b68e1d
Move more/all link options after /link.
2020-12-25 23:25:11 -06:00
Rene Rivera
30a7e738ad
Move link option order to fix clang-cl invoke.
...
Clanf-cl is a bit more picky than plain msvc link command about order of
link option when linking. This moves the linkflags to the end of the
command as clang-cl needs.
2020-12-25 22:24:52 -06:00
Rene Rivera
ab34158599
Make clags and cxxflags apply to their respective compile commands.
...
This undoes what this 1a0949fbe6
did in a different way. As we now expect to have the two flags separate.
fixes #690
2020-12-25 16:14:36 -06:00
Rene Rivera
e0870c4321
Possible fix for missing response file args in clang-win.
2020-12-22 23:08:16 -06:00
Rene Rivera
6716658f6d
Still need py2 for building docs.
2020-12-22 19:19:58 -06:00
Rene Rivera
4625ec7524
Update the versions we support/test.
2020-12-22 14:45:32 -06:00
Rene Rivera
4076c6b201
Update various CI versions.
2020-12-22 14:45:02 -06:00
Rene Rivera
8b4c58c0a4
Add more release notes for 4.4.0.
2020-12-22 13:45:36 -06:00
Rene Rivera
af486c017f
Damn python not groking utf-8.
2020-12-21 21:30:15 -06:00
Rene Rivera
714840f36f
Add documentation for response-file feature.
2020-12-21 21:08:12 -06:00
Rene Rivera
bc36ce8134
Merge remote-tracking branch 'origin/develop' into feature/response-file-feature
2020-12-21 19:07:37 -06:00
WindR
02bf50d3f7
Fix broken Visual Studio 2019 support ( #688 )
...
Microsoft still releases VS 2019 Previews, no need to drop their support yet.
2020-12-20 09:47:58 -06:00
Rene Rivera
64a895a331
Adds redirection index.html file for Boost distro.
2020-12-17 09:37:45 -06:00
René Ferdinand Rivera Morell
f62f474ed3
Fix use of mutiple conflicting @() in one action.
...
In the case where multiple @() substitutions happen in one action the
dynamic choice of file vs content would apply to all. This would cause
problems as some of them might not be command options. This change
adds an ":O=" options specifier to variables that can control what type
of @() substitution can happen for each expansion. By specifying "O:=FC"
one can select to allow either file or content expansion making that @()
instance dynamic. When not specified the default is as if "O:=F".
2020-12-17 08:41:47 -06:00
René Ferdinand Rivera Morell
4f86b3da88
Merge remote-tracking branch 'origin/develop' into feature/response-file-feature
2020-12-14 14:58:18 -06:00
Pino Toscano
25879fc24d
Basic changes for GNU/Hurd ( #676 )
...
* Define OSMINOR & OS_HURD on GNU/Hurd
Add a way to identify GNU/Hurd with b2, and also in the Python support.
* Use /proc/self/exe for executable_path on Hurd
Use the Linux compatibility procfs translator to get the full path of
the current executable.
* Define _GNU_SOURCE on any GNU libc-based OS
Make sure to enable GNU features when building on any OS that uses
GNU libc.
2020-12-14 13:37:32 -06:00
Tanzinul Islam
c7016328c3
Update "borland" toolset to bcc32c for building B2 ( #680 )
...
For bootstrapping `b2` itself, the current `borland` toolset is broken
now as `bcc32.exe` doesn't support C++11. Update that toolset to use
the Clang-based `bcc32c.exe`, which has largely the same cmdline args.
2020-12-14 11:36:54 -06:00
René Ferdinand Rivera Morell
4e26e133fa
Fix coercion warning.
2020-12-14 09:55:44 -06:00
René Ferdinand Rivera Morell
b2043d7c7a
Support dynamic response files for msvc.
2020-12-14 09:15:10 -06:00
René Ferdinand Rivera Morell
1e658bae2b
Fix missing subscript operator on new @() evals.
2020-12-14 08:19:59 -06:00
Rene Rivera
03ef46ec4d
Add python coding hint as py is too dumb to figure it out by itself.
2020-12-13 21:52:12 -06:00
Rene Rivera
e206f0d602
Initial implementation of dynamic response files.
...
This implements the ability for response file "@()" substitution to
dynamically adjust to either expand the content or create the response
file depending on the possible command line length. This should
reduce the create of such response temp files improving build
performance.
2020-12-13 21:30:03 -06:00
Tanzinul Islam
495b7ee997
Ensure Embarcadero toolset name is only "embtc" ( #675 )
...
* Ensure Embarcadero toolset name is only "bcb"
This brings uniformity with the `borland` toolset. There is no danger of
mixing object files compiled with both the classic and Clang-based
compilers, as the linker now [warns about it][1].
This change, along with boostorg/config#346 , fixes the expected library
names in a versioned-layout build.
[1]: https://blogs.embarcadero.com/issues-mixing-classic-and-clang-objects-linker-warnings-improving-app-stability/
* Change toolset name to embtc
2020-12-02 09:44:47 -06:00
Basil Fierz
003a3c29c1
Adapt for Emscripten 2.0 change of default behaviour for archives ( #674 )
...
When building archives Emscripten 2.0 requires the usage of the `-r` in order to create an archive and not link an executable.
2020-11-24 17:04:10 -06:00
Andrey Semashev
5a7c36c8b5
Added missing include stdlib.h. ( #672 )
...
The header is needed for free().
Fixes https://github.com/boostorg/build/issues/671 .
2020-11-22 08:49:19 -06:00
Miroslaw Stein
550f99c846
Fix memory leak in startup::bootstrap (boostorg#668) ( #669 )
...
The executable_path allocates a string (strdup) which was never released
Tested with ASAN and valgrind
Co-authored-by: Miroslaw Stein <miroslaw.stein@isode.com >
2020-11-14 21:22:19 -06:00
Rene Rivera
aea65c9c7a
Update xcode test versions on AZP.
2020-11-14 17:12:53 -06:00
René Ferdinand Rivera Morell
482c25f3a2
Minor fix for py3 compat.
2020-10-22 21:04:49 -05:00
Giovanni Mascellani
0b06096db7
Fix encoding in copyright headers. ( #662 )
2020-10-11 11:15:36 -05:00
Rene Rivera
2f7f2922e3
Create empty build file to check if install works.
2020-09-27 12:24:37 -05:00
Rene Rivera
b29603fa88
Fix path to bootstrap for back compat.
...
fixes #650
2020-09-26 18:02:59 -05:00
Rene Rivera
1f352e0d14
Another powershell syntax issue fixed.
2020-09-26 16:36:26 -05:00
Rene Rivera
f3e0a4d14a
Fix some (power)shell syntax.
2020-09-26 15:36:18 -05:00
Rene Rivera
57f2b8602c
Extend tests to check bootstrap install.
2020-09-26 15:10:10 -05:00
Rene Rivera
c6b74d0683
Add missing BOOST_ROOT to boot strap search.
...
When the Jambase got ported we lost also searching BOOST_ROOT for the
bootstrap file. This is strictly a backward compatibility fix for Boost.
fixes #622
2020-09-26 09:01:23 -05:00
Rene Rivera
add4dfcd4f
Fix for engine compile on FreeBSD.
2020-09-17 09:22:25 -05:00
Rene Rivera
6026697837
Add Cirrus CI testing for FreeBSD.
2020-09-16 22:28:46 -05:00
EGuesnet
37832aa3eb
Erase -brtl for AIX ( #628 )
2020-09-16 20:04:33 -05:00
Rene Rivera
2a7844ee35
As we are using std lib we need exception handling in msvc.
...
fixes #654
2020-09-13 09:17:07 -05:00
Rene Rivera
9140ce3c9a
Really use ci playground script.
2020-09-13 00:39:45 -05:00
Rene Rivera
c31c3e2f34
Fix accidental removal of yaml key.
2020-09-12 23:34:40 -05:00
Rene Rivera
88a097097e
Use CI Playground linux install script.
2020-09-12 23:32:28 -05:00
Rene Rivera
e3f2caf4b6
Fix duplicate yaml key.
2020-09-12 22:29:12 -05:00
Rene Rivera
fdaedb3e38
Add latest compilers, and Boost versions.
2020-09-12 22:24:55 -05:00
Rene Rivera
30bb04845e
Add missing compileflags feature.
...
fixes #653
2020-09-12 09:13:44 -05:00
Nikita Kniazev
ec31848830
Default MSVC to a native platform ( #596 )
...
This also removes ambiguous implicit address-model ARM/ARM64 values.
2020-09-11 14:14:12 -05:00
Ivan Melnikov
b97746e29c
Fix detection of MIPS32 ( #655 )
...
_ABI64 and _ABIO32 are always defined on every
Linux MIPS system, at least if it's glibc-based:
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/mips/sgidefs.h;h=c9e00c6da53b1a13d83b4056f01ef5c30efe76ab
The correct way to use them is to compare them
against _MIPS_SIM symbol provided by the compiler.
With this change, engine correctly detects 32-bit
MIPS systems.
Signed-off-by: Ivan A. Melnikov <iv@altlinux.org >
2020-09-11 08:58:03 -05:00
Rene Rivera
7abf398446
History note for 32/64 address-model engine build.
2020-09-11 08:52:05 -05:00