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

12109 Commits

Author SHA1 Message Date
Jonathan Wakely
9ac7d67758 Fix comment typo in gcc.jam (#508) 2019-11-18 09:10:01 -06:00
Michał Janiszewski
ba2993e595 Add proper armasm[64] support for MSVC toolchain (#502)
armasm and armasm64, the MSVC toolchain's assemblers for arm and arm64
respectively, have completely different invocations than their ml and
ml64 counterparts targetting x86 and x86-64.

Here's the full output of armasm's help:
```
cmd> armasm64 -h
Microsoft (R) ARM Macro Assembler Version 14.23.28106.4 for 64 bits
Copyright (C) Microsoft Corporation.  All rights reserved.

 Usage:      armasm [<options>] sourcefile objectfile
             armasm [<options>] -o objectfile sourcefile
             armasm -h              for help

<options>:            (Upper case shows allowable abbreviation)
  -Errors     errorsfile       redirect stderr diagnostics to errorsfile
  -I          dir[;dir]        add dirs to include search path
  -PreDefine  directive        pre-execute a SET{L,A,S} directive
  -NOWarn                      turn off warning messages
  -ignore <warning-num>        don't report warning-num
  -Help                        help (this information)
  -via <file>                  read further arguments from <file>
  -machine <machine>           set the PE machine type field
  -g                           generate debugging info
  -gh:SHA_256                  use SHA256 for file checksum in debug info (experimental)
  -errorReport:<option>        report internal assembler errors to Microsoft
      none - do not send report
      prompt - prompt to immediately send report
      queue - at next admin logon, prompt to send report (default)
      send - send report automatically

<machine>:  ARM64
```
2019-11-14 16:24:42 -06:00
Dmitry
8fbb25a18b make explicit only the targets created by the rule (#505) 2019-11-14 12:25:23 -06:00
Dmitry
e04b0c206e update stdlib feature (#494)
Adds gnu11 (libstdc++ with new ABI) and libc++ values to stdlib feature.
The value gnu was already in use by sun toolset, so this commit sets it as
libstdc++ with old ABI. Adds support for that feature to gcc, clang-linux and
clang-darwin toolsets. Refactors sun toolset to use stdlib feature via toolset
flags.
2019-10-29 05:35:25 -05:00
Rene Rivera
115dc4c83e Merge branch 'develop' of https://github.com/boostorg/build into develop 2019-10-28 13:12:06 -05:00
Rene Rivera
7af6ee618a Add new Xcode versions to CI. 2019-10-28 13:11:52 -05:00
Dmitry
b54f53ccbc Document features (#498)
* move feature documentation into each feature's source file

* sort features in the docs

* updated docs for features
2019-10-28 07:22:42 -05:00
Peter Dimov
ffecbecf86 Fix errors when a source doesn't have a type; refs #493 (#496) 2019-10-28 07:19:48 -05:00
Dmitry
1a0ff1113b add LTO support (#495)
* add LTO support

Adds lto feature with 2 values: off (the default) and on. The feature
enables link-time optimizations. Also adds support for the feature to
gcc, clang and msvc toolsets.

* add docs for lto feature

* add lto-mode subfeature

* change lto-mode=full to be the default for uniform behaviour

* make lto feature optional
2019-10-28 07:18:51 -05:00
Rene Rivera
63de6eaed4 Add macOS Boost tets. 2019-10-15 21:32:26 -05:00
Rene Rivera
faba649128 Add missing jobs map for AZP. 2019-10-09 11:31:45 -05:00
Rene Rivera
0e7c64ec43 Try again with AZP job names. 2019-10-09 11:20:38 -05:00
Rene Rivera
f65ff18ee7 Fix AZP name errors. 2019-10-09 11:18:30 -05:00
Rene Rivera
4c29a9272b Add Boost develop & master CI testing. 2019-10-09 11:12:52 -05:00
Rene Rivera
1111fb4287 Add Xode11 CI. 2019-10-08 23:30:44 -05:00
Rene Rivera
b53318ebcd Add Boost 1.71.0 to status checks. 2019-09-29 20:44:48 -05:00
Michael Haubenwallner
c331f126cd Improve using MSVC from within Cygwin (#480)
* build: Support toolset=msvc even as Cygwin build.

Fixes: https://github.com/boostorg/build/issues/459

* msvc.jam: Avoid segmentation fault if ProgramFiles env is missing.

When we run in an 'env -i' session in Cygwin, which may not have the
"ProgramFiles(x86)" or "ProgramFiles" environment variables set, we
really should not end up in a segmentation fault.

* msvc.jam: On Cygwin, query cygpath on missing ProgramFiles env.

When we run in an 'env -i' session in Cygwin, which may not have the
"ProgramFiles(x86)" or "ProgramFiles" environment variables set, we can
try to query cygpath instead.
2019-09-29 09:09:01 -05:00
Neale Ferguson
844067eca1 Add z15 to the s390x platform (#484) 2019-09-20 11:48:26 -06:00
Edward Diener
927ba8e60e Remove repeating option not created by condition. (#479) 2019-09-19 10:55:30 -06:00
Edward Diener
3e3fd1d70d Added <cxxstd> for the IBM compiler. (#478) 2019-09-11 07:08:32 -05:00
Andrey Semashev
146ab9a227 Renamed strings.h to jam_strings.h to distinguish from POSIX strings.h. (#476)
Some system headers on POSIX systems indirectly include strings.h in extern "C"
region. This sometimes results in Boost.Build's strings.h being included into
such region, which marks all string_* functions as extern "C" and changes their
name mangling rules accordingly, which causes linking errors. To resolve this
header conflict, this commit renames strings.h to jam_strings.h. And strings.cpp
to jam_strings.cpp for consistency.

Fixes https://github.com/boostorg/build/issues/468.
2019-09-10 22:25:12 -05:00
Edward Diener
d8cdc48fa6 Warning about writing to the console when running the tests for Boost Build. (#470)
* Add a warning to running the Boost Build tests about outputting to the console in a configuration jam file.

* Fix the tests if the toolset passed has a version.
2019-08-28 07:10:31 -05:00
Juan Alday
25ce5386f3 Extracts version of IBM and Sun compilers (#474)
xlc and suncc do not support the --version flag. This PR fixes the bootstrapper to use the correct flags.
2019-08-28 07:08:16 -05:00
Aurelien Chartier
4e2be04c2c Add QNX support for threading-flags (#467) 2019-08-23 12:23:16 -05:00
Edward Diener
56f15f0edc Merge pull request #460 from eldiener/develop
Corrected intel-win Intel 19.0 VC++ support and added optional <root> option in intel-win as in intel-linux
2019-08-21 11:24:28 -04:00
Edward Diener
265c567757 Make code safer when attempting to use shell fails and there are no items. 2019-08-15 02:47:12 -04:00
Rene Rivera
35df939f69 Add example using creating multiple PCHs at "once". 2019-08-12 18:35:11 -05:00
Edward Diener
1e4fe9e090 Eliminated space at the end of a comment line. 2019-07-27 13:38:04 -04:00
Edward Diener
7f6496f590 Corrected comment. 2019-07-27 13:35:15 -04:00
Edward Diener
58e0eedd3d Corrected comment to avoid confusion. 2019-07-27 12:22:14 -04:00
Edward Diener
c15b3239d2 Updated documentation for the 'root' option for the intel toolset on Windows. 2019-07-27 12:10:45 -04:00
Edward Diener
923ce29a88 Corrected setting of root from the command. 2019-07-27 11:29:26 -04:00
Edward Diener
9e742cec13 The root should have a trailing / for the dirictory. 2019-07-27 10:53:30 -04:00
Edward Diener
03a14395d4 Merge branch 'develop' of https://github.com/boostorg/build into develop 2019-07-26 14:57:18 -04:00
Edward Diener
e1d19a69e1 Correct fix for grouping syntax. 2019-07-25 09:19:40 -04:00
Edward Diener
c23efb0210 Whoops, removed fix. 2019-07-25 09:15:26 -04:00
Edward Diener
5777341a39 I had assumed '!' has higher precedence than '&&' in the bjam language, but just in case that is not so I have made this fix. 2019-07-25 09:12:35 -04:00
Edward Diener
72d9e39555 Use root to find the archiver and ranlib if they are not specified. 2019-07-22 08:06:12 -04:00
Edward Diener
a866b6d216 Add support for a <root> option which points at runtime to the root directory of the gcc installation which clang uses at its backend. This is mainly for clang targeting gcc on Windows where multiple versions of mingw(-64)/gcc can be installed. On Linux clang will normally use the version of gcc in the PATH, so this option is normally not used in Linux. The idea is that the toolset command is a script, which sets the PATH for clang and gcc before invoking clang++, and then the <root> option points to the gcc installation at runtime so that any shared libraries will be found. 2019-07-19 22:27:20 -04:00
Edward Diener
f00ca383e0 Don't show direct compiler setup output. 2019-07-15 08:03:14 -04:00
Edward Diener
7c4f1b6643 Improve handling of <root> option. Add back VS2019 support for Intel 19.0 for Windows even though the /Q parameter warns about vc14.2 ( see https://software.intel.com/en-us/forums/intel-c-compiler/topic/814333 ). Add support for option <rewrite-setup-scripts>always to force regeneration of the single msvc-setup.bat file when using multiple Intel C++ for Windows toolsets and/or multiple vc++ compatibilities for a given toolset. 2019-07-15 00:16:50 -04:00
Rene Rivera
b6c05c9a92 Bump jam source version to 4.1 also. 2019-07-11 08:21:28 -05:00
Rene Rivera
d50d14ce91 Update history. 2019-07-11 06:36:47 -05:00
Andrey Semashev
2b9645cd7e Fix compiler warnings about -std=gnu11 on Cygwin. (#458)
-std=gnu11 is a flag for C source files, for C++ -std=gnu++11 should be used.
2019-07-11 06:34:28 -05:00
Rene Rivera
35c86a1bed Start of 4.1.0 release. 2019-07-11 06:32:18 -05:00
Edward Diener
64e484ade5 Intel 19.0 only supports VS2017 (vc++14.1), and not VS2019 (vc++14.2) as I originally erroneously coded. Also added is the same support for an optional <root> option as the intel-linux compiler. In intel-win the optional <root> option must point to the user's directory where iclvars.bat exists for a particular intel-win installation. Like intel-linux the <root> option is mean for intel-win toolsets where the toolset 'command' is a script rather than either a full path to an invocation of the compiler as icl.exe or left blank. 2019-07-11 01:07:05 -04:00
Rene Rivera
583c4dd56c Can't do <=1.65.1 yet bacause of feature refactor. 2019-07-10 23:43:16 -05:00
Rene Rivera
efa04b093a Only b2 output is important. 2019-07-10 23:40:00 -05:00
Rene Rivera
8001e1932a Add Boost checks back to 1.64.0. 2019-07-10 23:32:45 -05:00
Rene Rivera
633703e469 Fix toolset spec. 2019-07-10 22:56:50 -05:00