Rene Rivera
b02801596e
Update docs for current build.sh reality.
2021-02-01 08:54:03 -06:00
Rene Rivera
acca9f83a8
Don't need to specify --cxx for the default tests.
2021-01-31 17:24:23 -06:00
Rene Rivera
88cdccdaeb
Missed some more CI --cxx changes.
2021-01-31 17:18:38 -06:00
Rene Rivera
1bd74f9097
Forgot CI changes for --cxx option changes.
2021-01-31 17:12:50 -06:00
Rene Rivera
7497f61dde
Rework build.sh to use options instead of env vars.
...
The CXX/FLAGS env vars caused a variety of issues, mainliy for Cloud CI.
This change replaces the env vars with some extra options.
2021-01-31 16:07:00 -06:00
Rene Rivera
e52464b88e
Some minor doc fixes.
2021-01-31 12:12:57 -06:00
Rene Rivera
4a7dd4937f
Use pathnt.cpp on mingw.
2021-01-26 21:04:28 -06:00
Rene Rivera
7e6cc793fb
No need to cd to engine dir for build.
2021-01-25 14:33:44 -06:00
Rene Rivera
5de634b3fa
AZP templates to avoid duplication of steps.
2021-01-24 22:11:09 -06:00
Rene Rivera
52efe2b26f
AZP doesn't support YML anchors.. lame!
2021-01-23 12:25:57 -06:00
Rene Rivera
3382716793
Rework AZP stages for quicker fails.
2021-01-23 12:08:23 -06:00
Rene Rivera
895c49ccc4
Fix a bunch of problems with resetting various vars.
...
There was a systemic error of using ":=" instead of ":-" var expansion
that caused all kinds of problems. Replacing all the instances to be
correct fixed them. But also brought to light other problems. The
changes include fixing the intel detection to no leak and persist it's
setup. And to also support setup script generally if required.
Fixes #705
2021-01-23 10:56:53 -06:00
Rene Rivera
3468fa7b63
Fix POSIX sh inheriting early exit causing failed compiler detection.
2021-01-22 22:51:05 -06:00
Rene Rivera
54847f1c24
Move build tests to pre-stage for faster turn around.
2021-01-22 22:46:49 -06:00
Rene Rivera
2e66a93bc5
Add clang only default build check.
2021-01-22 22:39:29 -06:00
Rene Rivera
97847c71cd
Fix test job name.
2021-01-22 22:34:45 -06:00
Rene Rivera
a79d60c913
Test build variations.
...
Adding tests for building b2 engine in different ways. Initially test that
the default basic build works in a mostly clean environment.
2021-01-22 22:29:20 -06:00
Rene Rivera
6a21474e00
Merge branch 'develop' of https://github.com/boostorg/build into develop
2021-01-22 07:39:20 -06:00
Rene Rivera
5ede4e8d8d
Rewrite intel-linux to support oneAPI release.
...
This rewrites the inte-linux toolset to support auto detection and
oneAPI version of compiler.
2021-01-22 07:39:14 -06:00
René Ferdinand Rivera Morell
e61e058746
Allow verbose and debug build control from env vars.
...
Allows presetting `B2_VERBOSE` and `B2_DEBUG` env vars to build displaying extra build info and building debug version of engine respectively.
2021-01-21 08:27:32 -06:00
Rene Rivera
2377e08262
Support building on Windows bash with mingw.
...
fixes #703
2021-01-20 16:17:28 -06:00
Edward Diener
e63cedb6c4
Support the new Intel OneAPI product ( #700 )
...
Fix for the latest icl.exe in the Intel OneAPI product. The icl.exe major version number in the oneAPI product starts with "2021" rather than "21", but the fix supports also specifying the major version number of icl.exe in the oneAPI as starting with "21". In the oneAPI product the setup file is called "setvars.bat" and not "iclvars.bat". Finally all tests for icl major versions are changed from the previously faulty string comparisons to the correct number comparisons.
2021-01-18 10:40:46 -06:00
Rene Rivera
c4f6ad58ec
Update doc build env to latest.
2021-01-16 21:24:43 -06:00
Rene Rivera
f3aa3f9ae8
Fixes for POSIX sh.
2021-01-16 16:59:28 -06:00
Rene Rivera
c6937c0228
Guard against non-bash shells.
2021-01-16 13:02:13 -06:00
Rene Rivera
7231fa11bf
Fix @() parsing errors.
2021-01-16 12:10:02 -06:00
Rene Rivera
69b1c679bb
Fix script to work when run from outside dirs.
2021-01-16 10:41:04 -06:00
Rene Rivera
38e16bee51
Move local var to top to try and avoid Ubuntu errors.
2021-01-15 17:02:40 -06:00
Rene Rivera
e0fb497c0c
Fix bac local var name on some shells.
2021-01-15 13:20:00 -06:00
Rene Rivera
9c8bb1d22f
Make the use CXX only replace the exec.
...
CXX was previously only used to replace the exec part of the compiler
commands. This change restores that aspect. It also makes the toolset
checks short circuit so that we do get the best toolset and command
detected.
2021-01-15 12:59:34 -06:00
Rene Rivera
98a6f94994
Rewrite, and simplify, build for better detection.
...
This rewrites the build.sh to remove duplication of base compiler
command to combine checking the command and specifying it.
Which allows for only detecting valid working commands, and
hence toolsets. This also adds the new Intel oneAPI compiler.
2021-01-15 09:05:20 -06:00
Rene Rivera
537dabb6d3
Revert more list alloc changes.
2021-01-01 16:40:42 -06:00
Rene Rivera
2f1dce9b26
Merge branch 'develop' of https://github.com/boostorg/build into develop
2021-01-01 15:43:56 -06:00
Rene Rivera
d1e5ae08c5
Revert list alloc changes.
2021-01-01 15:43:52 -06:00
Rene Rivera
ba075e6ac9
Slightly more optimal list alloc by using realloc.
2021-01-01 14:22:23 -06:00
Rene Rivera
1e294144db
Forgot to put back the list dealloc.
2021-01-01 11:08:44 -06:00
Rene Rivera
6bba7e3bc4
Fix list alloc crashes.
...
This is a brute force fix for the instability of list allocations. It
gets rid of the caching of lists in favor of straight de/alloc.
2021-01-01 11:06:50 -06:00
Rene Rivera
5fa06452bf
Fix coercion warning.
2020-12-31 11:34:26 -06:00
Rene Rivera
51d3a6d1c3
Abstract apply mods value.
2020-12-31 08:39:17 -06:00
Rene Rivera
359b4f2885
Minor clean up list cache code.
2020-12-31 08:38:31 -06:00
Rene Rivera
ddf2a8c5e0
Add support to override b2 exec for testing.
...
Adds use of `B2` env var to specify the b2 exec to use for testing.
This allows us to use debug and sanitizer builds for testing.
2020-12-31 08:34:59 -06:00
Rene Rivera
29baa79c7e
Fix two memory leaks from new @() features.
2020-12-29 11:36:17 -06:00
Peter Dimov
93dabd5a9a
Autodetect the clang-win default address-model from Target: in the -v output ( #694 )
2020-12-29 10:08:17 -06:00
Peter Dimov
527589168e
Add missing case for <architecture>x86/<address-model> ( #692 )
2020-12-28 05:26:13 -06:00
Rene Rivera
3ba30f17e0
Merge branch 'develop' into pr/660
2020-12-27 10:28:13 -06:00
Rene Rivera
cc84fc59b4
Use std::free instead of C free.
...
Fixes #671 .
2020-12-27 09:49:59 -06:00
Rene Rivera
30d2bd61ff
Use std::free instead of C free.
...
Fixes #671 .
2020-12-27 09:49:16 -06:00
Rene Rivera
f7cadeffcf
Merge branch 'develop' into pr/660
2020-12-27 08:47:18 -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
f694f2eedd
Adjust new asan support.
...
The proposed asan support didn't fit into the regular msvc init structure.
This fixes that aspect and cleans up the support to correctly be minimal
and to add the missing runtime libs needed to actually enable the
asan support.
2020-12-26 23:21:47 -06:00