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

12506 Commits

Author SHA1 Message Date
SSE4
b863465f87 - fix iconv detection for boost.locale on iOS (#83)
* - fix iconv detection for boost.locale on iOS
* clang-darwin doesn't need --start-group
* clang-darwin doesn't need -lrt
* Also need appletv to have the same exception. `appletv` is another Xcode clang related platform that would have the same limitations.
2021-09-02 22:34:39 -05:00
Dmitry
c276640527 Add Boost.Json to contrib/boost.jam (#82) 2021-09-02 22:30:54 -05:00
Dmitry
7402029c33 Skip targets with <build>no in usage requirements (#81) 2021-09-02 22:30:08 -05:00
Dmitry
ac2cf96483 Evaluate conditionals in a loop (#80) 2021-09-02 22:25:34 -05:00
Nikita Kniazev
23212066f0 Allow only suffixes starting with a digit (#79)
An easiest way to ignore toolset platform subfeature suffixes (-linux/darwin/win).
2021-09-02 22:23:08 -05:00
Volo Zyko
320c2b2ed5 Add arm/arm64 target support in clang-win config (#74) 2021-08-15 22:26:30 -05:00
psandana
37622df644 Avoid warnings about threading model for qt5.
Fixes #64 qt5.jam warning <threading>multi ignored.
2021-08-03 20:26:24 -05:00
Nikita Kniazev
6dda4098e7 Unify Clang and GCC PCH creation (#70)
Clang has GCC-compatible PCH generation interface, no need to override and re-implement PCH generation in Clang at all.
2021-08-03 20:22:23 -05:00
Nikita Kniazev
4380676c06 Use adaptive response files feature on MinGW (#65) 2021-07-31 04:59:04 -05:00
Nikita Kniazev
da10b56586 Remove architecture=combined/combined-x86-power (#63)
combined-x86-power seems to be completely unused and combined is used only in darwin toolset for Objective-C compilation which seems to be broken for 4 years because it uses gcc.set-fpic-options which was removed in 12decb3ce6.

Boost has three libraries that mentions architecture=combined, I have checked they will not brake after this change.
2021-07-30 21:31:56 -05:00
Nikita Kniazev
a844236dd8 Move Objective-C support to GCC toolset (#62)
Removes code duplication in darwin and clang-darwin toolsets.

Removes undocumented `<flags>` from several toolsets, there is documented `<compileflags>` that should be used instead.
2021-07-28 16:57:47 -05:00
Nikita Kniazev
f8c6e33e49 Fix typo in compileflags documentation (#60) 2021-07-27 11:38:24 -05:00
tee3
e37f6e40b4 Support values for instruction-set feature for Xilinx ZYNQ (#34)
* features: Support values for instruction-set feature to support Xilinx ZYNQ.

This adds several values for instruction-set (with extensions) to
support various ARM processors associated with Xilinx ZYNQ processors.

These instruction sets are used in various combinations for bare-metal
or FreeRTOS configurations.

* gcc: Support values for instruction-set feature for Xilinx ZYNQ.
2021-07-27 09:33:01 -05:00
Nikita Kniazev
1501b14289 Cleanup darwin toolsets static linking (#59)
After removing `ranlib` call there is no more darwin-specific logic, it duplicates base/parent logic and could be removed.
2021-07-27 08:21:39 -05:00
YunQiang Su
230cae51fa MIPS: add generic mips architecture (#58)
Currently, mips1 is used as generic mips architectures, but it is
confusion.
We will remove mips1 and other unused mips* architectures.
2021-07-26 22:10:13 -05:00
Nikita Kniazev
2b1a9de81b Replace ranlib call with s flag in ar call (#56)
`ar s` seems to be widely supported for a very long time:
  - at least binutils 2.10 (June 2000)
  - at least Darwin 8.0 (April 2005)
  - since FreeBSD 3.0 (October 1998)

Note: Most of other (non-widely used) toolsets do not call `ranlib` and do not call `ar` with `s` flag either. I have no idea if they are correct or not, so I am not touching them here.
2021-07-25 21:52:12 -05:00
Nikita Kniazev
68adb2ed66 CI: Replace gcc8-devel with gcc8 on CircleCI (#57)
gcc8-devel was removed due to GCC 8 EOL https://cgit.freebsd.org/ports/commit/?id=0280b837667619363cee27f810fd0c3fc42f85fe
2021-07-25 21:10:33 -05:00
Nikita Kniazev
5731edb171 Bail out when list of lists limit is reached (#52)
Previously it was silently not appending anything, what also was leading to silently dropping rule parameters.
2021-07-11 21:39:31 -05:00
Nikita Kniazev
ab2c3a1cef Print scandir error message (#50) 2021-07-11 21:30:54 -05:00
Nikita Kniazev
d89f209402 Fix a memory leak from @() feature implementation (#51)
There are still some memory leaks left to catch, but those are seems to be introduced far back.
2021-07-11 15:15:25 -05:00
Nikita Kniazev
2816f8d5f7 clang-linux cleanup (#47)
Removed empty rules
Removed PCH suffix override (missed in
Fix clang-pch implementation to actually use pch instead of pth. boostorg/build#368)
Removed PCH file explicit removal before creation (should be tested in pch.py test)
Unified <pch>on and <pch>off compilation actions

* clang-linux: space concat via module global variable
* clang-linux: unify pch and non-pch compilation
* clang-linux: remove overridden pch suffix

Missed in #368

* clang-linux: no need to explicitly delete pch file
* remove empty compile.c/c++.pch rules
2021-07-11 14:59:15 -05:00
Nikita Kniazev
98cdf85e5a Fix type bases registering (#46)
The issue is also was a blocker for preprocessed test
2021-06-25 23:20:35 -05:00
Nikita Kniazev
8a20d6c430 Fix preprocessing on MSVC compiler (#44) 2021-06-24 11:35:18 -05:00
Nikita Kniazev
7d0704debb Reanimate bunch of abandoned tests (#43)
* Remove useless and unused railsys test
* Reanimate bunch of abandoned tests
2021-06-23 22:59:17 -05:00
Rene Rivera
96a3008d16 Update compiler test list.
[skip ci]
2021-06-11 22:45:22 -05:00
Rene Rivera
5986194ec8 Note for clang version detect fix. 2021-06-11 22:21:38 -05:00
Nikita Kniazev
b522b50bf0 Clang: Use --version instead of -dumpversion (#39)
* Clang: Use --version instead of -dumpversion

Fixes issue when Clang 8 and below determined as 4.2.1 version.

* Bootstrap and test with versioned toolset

Eliminates need to manual configure toolsets via `user-config.jam` for testing, and allows to pass to `bootstrap.sh` the same toolset string as you would to B2 invocation what eliminates need to specify a custom exec via `--cxx=`.
2021-06-11 17:49:01 -05:00
René Ferdinand Rivera Morell
5318d71dd9 Fix gen of user cofnig. 2021-06-09 22:42:46 -05:00
René Ferdinand Rivera Morell
85df075504 Don't include check sources in self engine build. 2021-06-09 22:36:20 -05:00
René Ferdinand Rivera Morell
73d90d887c Avoid CXX env var collision. 2021-06-09 22:30:52 -05:00
René Ferdinand Rivera Morell
7c35179964 Avoid tests for cygwin, for now. 2021-06-09 22:02:43 -05:00
René Ferdinand Rivera Morell
0c65338b82 Fix appveyor env setup. 2021-06-09 21:53:35 -05:00
René Ferdinand Rivera Morell
2fd5be1d96 Start a patch release. 2021-06-09 21:49:17 -05:00
René Ferdinand Rivera Morell
e634e289f7 Need to specify the toolset for build.bat, for gcc. 2021-06-09 20:08:38 -05:00
René Ferdinand Rivera Morell
369845cdc1 Turn cygwin testing on to verify making it work. 2021-06-09 19:59:26 -05:00
Rene Rivera
b785543c7a Add comment for release. 2021-06-01 13:29:41 -05:00
Rene Rivera
d7346cf2fc Add note for property.find change. 2021-06-01 09:13:37 -05:00
tee3
5c39c4e942 property: Fix print in error condition in property.find. (#35)
* property: Add a test to show the issue with property.find.
* property: Fix property.find to print the ambiguous key
2021-06-01 07:04:35 -05:00
Rene Rivera
91fd728f3e Add a default exec path logic.
This adds default/fallback logic to determine the b2 exec absolute path
as possible. It uses the arg0 and current dir or path to construct the
liekliest path.

fixes #25
2021-05-29 22:09:13 -05:00
Rene Rivera
ecaa7a9bda Allow empty free optional feature valus in CLI.
Features that are narked as 'free' and 'optional' will now be
ignored when the value specified on the command line is
empty. Hence once can specify `cxxflags=` on the command
line without errors. All current "flags" features are now optional.

fixes #5
2021-05-29 10:57:03 -05:00
Rene Rivera
2d8eb9829a Update release notes. 2021-05-28 23:18:39 -05:00
Rene Rivera
f2efcabb90 Fixes missing exec and lib path for intel-linux.
Specifying the intel-linux compiler in the path would result in failure
because the path to the compiler would never get detected and hence
the path to the compiler libs would also be missing. This fixes the
issue by explicitly computing the absolute path to the compiler exec
always for both already specified and as found in PATH.

fixes #23
2021-05-28 21:34:27 -05:00
Samuel Debionne
078c68a2e5 Add default value for cxx and cxxflags options for the cxx toolset (#24)
Add default value for cxx and cxxflags options for the cxx toolset
2021-05-28 19:55:04 -05:00
Rene Rivera
8c18a22fb1 Update compilers and python to latest versions on FreeBSD. 2021-05-28 08:52:38 -05:00
Rene Rivera
2daa520d36 Avoid some warnings from the generated jamgram.cpp.
Some latest compilers are rather eager intheir warnings. This can cause
problems with the generated grammar code. Hence avoid such warnings when
compiling the grammar parser.
2021-05-27 23:14:01 -05:00
Rene Rivera
00e3b9e62f Update grammar with latest bison. 2021-05-26 16:57:50 -05:00
Rene Rivera
7b3e19136f Add latest compilers and Boost to testing. 2021-05-26 16:55:12 -05:00
Rene Rivera
42d21dc952 Add notes for 4.6.0 release. 2021-05-24 23:29:14 -05:00
Peter Dimov
8b923d8eaf Declare the /python//numpy target to hold the include path (fixes #725) 2021-05-24 20:17:08 -05:00
Stéphan Kochen
2c4217ebb6 Set macOS default-toolset to clang (#30) 2021-05-12 07:23:15 -05:00