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

12536 Commits

Author SHA1 Message Date
Rene Rivera
ef558e9662 Add PPC64 to verify QEMU issues are resolved.
Add ppc64 Ubuntu testing to verify that there are no more qemu
problems.

Fixes #49 - https://github.com/boostorg/build/issues/663
2021-09-27 11:46:51 -05:00
Rene Rivera
26f2dbccbc Turn on partial LFS for posix like platforms.
When running b2 inside a qemu mixed mode environment (32 inside 64)
it errors with some system calls not properly translating from 64 to 32.
This works around the problem by making the 32 bit b2 build use 64 bit
file system calls in libc.

Potentially fix for:
* https://github.com/bfgroup/b2/issues/49
* https://github.com/conan-io/conan-center-index/issues/6059
* https://github.com/boostorg/build/issues/663
2021-09-27 08:46:38 -05:00
Rene Rivera
23e101a3ac Avoid some error conditions until qemu issues are resolved. 2021-09-26 09:43:29 -05:00
Rene Rivera
10ff0fce1b Ignore non-AZP CI files for AZP ci. 2021-09-26 09:37:17 -05:00
Rene Rivera
aa4aea822d No default py, use py3. 2021-09-25 23:16:37 -05:00
Rene Rivera
17b52643e3 Add toolset install. 2021-09-25 22:58:51 -05:00
Rene Rivera
4037c45f5d Bring back ther workdir. 2021-09-25 22:47:29 -05:00
Rene Rivera
139842e6c5 No quotes on mount? 2021-09-25 22:42:00 -05:00
Rene Rivera
7e2106db72 Mount as one arg? 2021-09-25 22:36:41 -05:00
Rene Rivera
a39393083d Check if the target mount dir is bad. 2021-09-25 22:21:08 -05:00
Rene Rivera
2f63df021e Add some debug info output. 2021-09-25 20:27:22 -05:00
Rene Rivera
74b626e5c6 No workdir? 2021-09-25 20:19:28 -05:00
Rene Rivera
b935209c08 Use -w instead of --workdir 2021-09-25 19:10:32 -05:00
Rene Rivera
adccef6cfe Can't use "--mount". 2021-09-25 18:48:13 -05:00
Rene Rivera
b186984993 Need "sudo" for apt. 2021-09-25 18:40:43 -05:00
Rene Rivera
b4428d6ba3 No need for setup-qemu-action. 2021-09-25 18:39:10 -05:00
Rene Rivera
af73d29451 Fix gha tyop. 2021-09-25 12:18:14 -05:00
Rene Rivera
abcecb9af7 Fix dock-run-action setup. 2021-09-25 12:17:19 -05:00
Rene Rivera
1ccae2b0e7 Fix gha directory name. 2021-09-25 12:15:50 -05:00
Rene Rivera
839c7a3c33 Add arm testing through QEMU. 2021-09-25 12:04:28 -05:00
Rene Rivera
8ad44268ef Support alternate Linux systems (than ubuntu) for ci. 2021-09-25 10:36:01 -05:00
Rene Rivera
2022e93af8 Bump version to 4.7.0. 2021-09-21 22:15:28 -05:00
Rene Rivera
22ea221702 Git ignore patterns for examples and tests.
fixes #10
2021-09-21 22:03:08 -05:00
Matt Chambers
0a0df47a67 Use 64-bit MSVC tools on 64-bit host (#88) 2021-09-17 09:04:44 -05:00
Rene Rivera
fe26f653ea Add macOS-11 CI up to xcode 13.0. 2021-09-17 08:27:16 -05:00
Rene Rivera
23692f04d8 Add Boost 1.77 and VS 2022. 2021-09-16 22:26:00 -05:00
DoctorNoobingstoneIPresume
861cd41c2b The engine can now be built with MinGW-w64 configured with --threads=win32. (#68)
* The engine can now be built with MinGW-w64 configured with --threads=win32.

This is the case for i686-w64-mingw32-g++ and x86_64-w64-mingw32-g++
distributed with the last versions of Cygwin compatible with Windows XP
(www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html).

The MinGW-w64 toolchains are very powerful, just like their gcc counterparts.
Even the ones with win32 threading model (as opposed to posix threading model),
while not able to use std::thread, can still build-and-use Boost.Thread.
(which, arguably, is more powerful than the Standard counterpart
for example with its support for thread interruption
-- which is less intrusive than the one offered by C++20 std::jthread).

For Windows XP, MinGW-w64 toolchains might be the only ones to support C++11.
Visual C++ has only been supporting C++11 since 2013
(and those versions require-and-often-target newer versions of Windows).

The only part of <thread> we were using was std::thread::hardware_concurrency
(in order to obtain the default value for b2's -j option).
For Windows, we now use dwNumberOfProcessors (in SYSTEM_INFO) and GetSystemInfo.
2021-09-09 08:24:22 -05:00
gnaggnoyil
1ad9483a0d remove NOENTRY flag of suppress-import-lib feature under MSVC (#86) 2021-09-08 20:31:01 -05:00
Brad Smith
dcffeb632e Do not unconditionally define unix on OpenBSD. (#85)
This resolves a warning that popped up when we switched to Clang as
Clang defines unix in addition to __unix__ unlike GCC.
2021-09-07 07:11:52 -05:00
René Ferdinand Rivera Morell
bea6753d66 Replace "develop" with correct "main" branch.
closes #73
2021-09-03 09:10:37 -05:00
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