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

12302 Commits

Author SHA1 Message Date
Rene Rivera
ca8e6b1235 Support building as both 32 and 64 bit address model. 2020-09-11 07:05:12 -05:00
Rene Rivera
9188c2da73 Moce int32_t fix to config.h.
Not all source include jam.h and hence don't get the int32_t patch.
But everythign include config.h. So put the type patch there.
2020-09-10 23:35:00 -05:00
Rene Rivera
088c4bce3d Provide for compilers with missing int32_t. 2020-09-10 23:22:35 -05:00
Rene Rivera
b086888dd8 Reconcile warning on using BJAM_MALLOC for size_t. 2020-09-10 22:00:24 -05:00
Rene Rivera
fff0aafffb Fix bad arg on mac tests. 2020-09-09 23:50:36 -05:00
Rene Rivera
a5a10d570d Another round of warnings on 32/64+debug/release. 2020-09-09 23:39:06 -05:00
Rene Rivera
fb078814e8 Fix mac cpu queries. 2020-09-09 22:58:32 -05:00
Rene Rivera
4096b2d51c Fix ignored return for fscanf. 2020-09-09 22:43:10 -05:00
Rene Rivera
84dae08aa0 Fix outstanding 32/64 warnings on Linux gcc+clang. 2020-09-09 21:49:17 -05:00
René Ferdinand Rivera Morell
84666e77fa 64/32 bit compile working by using int32 types as needed. 2020-09-09 09:46:08 -05:00
Gei0r
1c3636e8ed Enable building with clang on Windows (#651) 2020-09-07 20:01:18 -05:00
Rene Rivera
210cef7ae2 Another attempt at correct cmd length check. 2020-09-03 22:33:02 -05:00
Rene Rivera
8eeed08f01 More b64 fixes for windows. 2020-09-03 08:43:46 -05:00
Rene Rivera
874fadedbd Fix msvc/windows 64 bit build on older compilers. 2020-09-03 07:38:48 -05:00
Rene Rivera
7cacaef335 Tweaks to support 64 bit compile of engine. 2020-09-02 23:46:48 -05:00
Rene Rivera
5a5736696d Merge branch 'develop' into feature/address-model-64 2020-09-02 08:48:58 -05:00
hia3
0485ed055b optional package-name of package.install-data (#630)
Judging by this line:
package-name ?= target-name ;
package-name argument meant to be optional.
2020-09-01 21:53:40 -05:00
sjcooke
59065850ec Add missing relevant features for searched lib targets (Fixes #515) (#640)
* Add missing relevant features for searched lib targets (#515)
* Added a regression test for searched lib targets (#515)
2020-09-01 21:52:44 -05:00
viccie30
681362ba31 Add quotes to fix error on CXXFLAGS (#648) 2020-09-01 21:51:03 -05:00
Alain Miniussi
86271a4286 Bugfix/634 intel linux icpc (#639)
* repace icc with "official" icpc driver with intel-linux
* the right dialect selecton option needs a space with intel-linux
* Check for oneapi setvar script with intel-linux
* Consider oneapi from Intel if compiler not provided.
* Fix comment about fallback when looking for compiler
2020-08-31 23:34:59 -05:00
Martin Aumüller
456be0b7ec use '-arch arm64' for 64-bit builds using darwin.jam (#642)
Even for 64-bit architectures, b2 would add '-arch arm' to the compiler
options - but this is only valid for 32-bit arm builds.
The problem was also observed here: https://stackoverflow.com/a/47096479
2020-08-29 00:02:45 -05:00
David McFarland
1da0fe27d1 Use /proc/self/exe for executable_path on Cygwin (#644) 2020-08-28 23:54:24 -05:00
Rene Rivera
64248802f8 Bump to v4.4. 2020-08-28 21:20:16 -05:00
Rene Rivera
54f811b759 Remove limit on one link at a time limit.
The reason for limiting links to one at a time is long obsolete. Hence
we can remove almost all uses of JAM_SEMAPHORE to impose that
one-link-at-a-time limit.
2020-08-28 10:36:41 -05:00
Rene Rivera
444e7f91d1 Tweaks to engine build.
Fixes left over build residue. Supports using CXFLAGS during engine
build. Add thread flags for building with gcc on AIX.
2020-08-28 10:21:04 -05:00
René Ferdinand Rivera Morell
512ea1f073 Release notes for 4.3.0. 2020-06-25 18:04:14 -05:00
Rene Rivera
6b40dd361e Fix path to portable install style bootstrap. 2020-06-25 13:52:05 -05:00
Rene Rivera
713c6037af Merge branch 'develop' into feature/native-jambase 2020-06-25 09:51:05 -05:00
Rene Rivera
34bcd0ae07 Merge branch 'feature/portable-install' into develop 2020-06-25 09:20:42 -05:00
Rene Rivera
a3bdb4fd98 Use newest available VS for bootstrap build.
This was detecting the "oldest" VS install instead of the most recent
one when multiple VS installs are available. It's always better to use
the latest one as it will have bug fixes.
2020-06-25 09:15:48 -05:00
Rene Rivera
15e1928399 Fix is_root check to account for Windows paths.
Windows drive style paths should also be considered rooted as otherwise
we can't bootstrap when we specify one of those paths. This caused a
regression in Boost where that is regularly used.
2020-06-25 08:37:43 -05:00
Rene Rivera
4f6f4a2510 Add missing early exits to bootstrap sequence.
Some tests failed because the bootstrap would continue to run even
detecting a problem. This puts in the missing early return statements
in the boost-build builtin rule to get the short circuit on error
like the original Jambase.
2020-06-23 22:15:07 -05:00
Rene Rivera
e037347820 Add "portable" install layout for B2.
This implements two styles of install layouts for B2: standard and
portable. This uses the new symbolic stage install locations. The
portable layout creates a structure relative to the B2 executable.
And hence allows for moving the B2 executable anywhere. This is
important for Windows and MacOS where there is no reasonable
packagining structures.
2020-06-23 07:46:53 -05:00
Rene Rivera
275dc6e6bf Work around some older compiliers.
Some older compilers don't coerce in the ctor even if there's one
available.
2020-06-22 17:36:23 -05:00
Rene Rivera
a511f6517c Add new startup.cpp for b2 engine build. 2020-06-22 10:38:48 -05:00
Rene Rivera
59b7a6dc69 Port Jambase to C++.
This ports the minimal Jambase to native C++. This removes the need for
mkjambase and the Jambase files. To accomplish that it adds C++
utility wrapers around Jam language primitives. Which makes future
similar work much easier.
2020-06-22 08:48:24 -05:00
Rene Rivera
c9e858223d Add some CI testing for 64bit warnings. 2020-06-10 18:19:24 -05:00
Rene Rivera
e42700d3f6 Merge remote-tracking branch 'origin/develop' into feature/address-model-64 2020-06-10 18:15:45 -05:00
Nikita Kniazev
269272327e Add MSVC /Gw switch (#618)
The flag makes it possible to LTO data along with code.
2020-06-10 17:54:17 -05:00
joriscarrier
5faca0dfca fix: link statically against boost-python on linux (#581)
Co-authored-by: Joris Carrier <joris.carrier@ugloo.com>
2020-06-10 17:52:11 -05:00
Edward Diener
22757bbd6f Merge pull request #567 from eldiener/develop
Allow linking for gcc/mingw and clang targeting gcc on Windows to use response files to mitigate Windows command line limitations.
2020-06-09 20:12:26 -04:00
Rene Rivera
598425e294 Start of 64bit clean compile of b2 engine. 2020-06-07 08:07:08 -05:00
Rene Rivera
c553a3a17a Fix replacede location translation within conditionals.
When using conditionals the location, if using replacements, would get
mungerd as the replacement part would fall in the middle of the path.
Using a custom translate-path rule we can prevent the munging
from happening before it gets to back to the stage target class.
2020-06-06 08:01:03 -05:00
Rene Rivera
798f7fb94d Add translate-path feature.
The translate-path feature allows for custom path handling, with a
provided rule, on a per target basis. This can be used to support custom
path syntax.
2020-06-06 07:56:41 -05:00
Edward Diener
992e1044ba Using latest clang-linux-3.9.0.py. Corrected msvc.jam once again. 2020-06-04 22:21:11 -04:00
Edward Diener
0139e6f24e Merge branch 'develop' of https://github.com/boostorg/build into cppbuilder 2020-06-04 18:40:42 -04:00
Rene Rivera
148a69cc9b Allow for new stage dirs without sub-path.
It's useful to set up stage install dirs as aliases to others to allow
for external overrides. This makes it possible to also have such
aliases without needing to make them a sub-path of an
existing dir path.
2020-05-31 08:04:10 -05:00
Rene Rivera
ba26d04fd0 Post-fix doc tag names to be more descriptive.
Change doc tag names on stage changes to be more descriptive.
And add missing copyright statements  on changes.
2020-05-28 21:34:32 -05:00
Dmitry
51ad47134a implement configurable installation prefixes that use features (#503)
* a feature to control install prefix for install targets

* usable default for install-prefix on Windows

* additional named installation prefixes based on Autotools

* allow users to add named installation directories

* fix named directories <location> handling when requesting a subproject build

* examples for named installation directories

* document named install directories-related functions, make get-package-name more conveninent to users

* feature to allow staging into a location different than active install-prefix

* support for getting relative paths with stage.get-dir
2020-05-28 07:50:06 -05:00
Nikita Kniazev
b613e6dbf3 Embed manifest via linker (#604)
The feature is enabled by default only for MSVC 11 and above not to break
derived toolsets.

Unfortunately, it cannot be enabled on clang-cl with MSVC linker at the moment
because it because of some path issues:
```
>clang-cl test.cpp /link /manifest:embed
LINK : fatal error LNK1158: cannot run 'rc.exe'
clang-cl: error: linker command failed with exit code 1158 (use -v to see invocation)
```

Note: `embed-manifest-file` feature was broken before the change and still is
broken under `embed-manifest-via=mt`. The fix seems to be obvious, but I am not
fully understand what happens inside link/link.dll rule to fix it here.
2020-05-27 14:43:52 -05:00