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

12481 Commits

Author SHA1 Message Date
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
tkoecker
5aaf51b80e Check for needing -pthread for gcc engine build.
Some platforms, like AIX, when building with gcc need `-pthread` option to enable std thread support. This adds an alternate check with that option as fallback to plain gcc compile.
2021-05-04 08:53:48 -05:00
tkoecker
635fa23ee1 work around parse error on old busybox shells (#22) 2021-05-03 14:32:25 -05:00
Tanzinul Islam
da7efaa25b Avoid use of "local" in /bin/sh-based script (#26)
Looks like `/bin/sh` on Solaris doesn't have extra `bash`/`ksh` features, and [`local` is not in POSIX](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html).

Closes: boostorg/build#722
2021-05-03 13:47:52 -05:00
tkoecker
5b4ae4477c preserve arguments (#21) 2021-05-03 13:37:57 -05:00
Nikita Kniazev
64dbb277b0 Include pch header automatically and on-demand (#19)
Previously it was needed to include pch header in every source file, but Clang does it automatically making the usage non-uniform. It is also a very noisy process to add pch header to an existing project. Automatic on-demand header inclusion solves both issues.

* pch: msvc source automatic header folder inclusion
* pch test refactoring
* pch test msvc automatic pch source generation
* Include pch header automatically and on-demand
* no more need in gcc pch naming hack
2021-05-03 10:56:15 -05:00
Nikita Kniazev
9552adf7e5 Versioned Clang automatic configuration (#1)
* Versioned Clang automatic configuration

Currently, without annoying `toolset.using` directives in `user-config.jam`, `b2 toolset=clang-xx` silently uses clang++ binary, even if it is a different version than requested. Instead of copycating GCC or reinventing a wheel I have generalized GCC automatic configuration and used it for Clang.
2021-04-23 18:42:53 -05:00
René Ferdinand Rivera Morell
aabf877be6 Start of 4.6.0 2021-04-23 18:40:31 -05:00
René Ferdinand Rivera Morell
4b56c50e19 Start of 4.6.0 2021-04-23 18:39:52 -05:00
Rene Rivera
b4e1a65a39 Fix spelling errors. 2021-03-30 21:42:51 -05:00
Rene Rivera
c7a67d2484 Doc additions/fixes for release. 2021-03-30 21:39:32 -05:00
NeroBurner
3a8593fa9e Handle spaces in CXX path in config_toolset.bat (#13)
Surround the `CXX` path with double quotes to support spaces in the path.
Otherwise if the `CXX` variable is set to a path containing spaces like

```
C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe
```

the following error message is printed:

```
'C:/Program' is not recognized as an internal or external command,
operable program or batch file.
```
2021-03-26 20:02:30 -05:00
Rene Rivera
af7a01d213 Disable pygments.rb as it has crossversion compat issues.
Using pygments.rb fails on Ruby3 because of missing class create
methods. Which makes using the same script for ruby2 and ruby3
a problem. We aren't using pygments currently anyway, so
disable it for now.
2021-03-26 07:51:27 -05:00
Mateusz Łoskot
429321a7f9 .vscode/tasks.json: Add build tasks for Bootstrap and Build with B2 (#12)
This change complements the build instructions in the CONTRIBUTING.adoc,
where it is explained to bootstrap the 'stable' engine to
create b2 at the root.

Then, run one of the

   two ways to build this be engine.
   You can either (a) run b2 b2 at the root,
   or (b) run build.sh/bat in src/engine.
2021-03-25 22:11:23 -05:00
Mateusz Łoskot
2c1e03f7ae .vscode/tasks.json: Fix working directory location for build tasks (#11)
Apparently, neither src/engine nor ./src/engine is taken as relative path
by VS Code and leads to task failure:

  Executing task: ./build.sh
  The terminal process failed to launch: Starting directory (cwd) /src/engine does not exist.
2021-03-25 21:54:09 -05:00
Mateusz Łoskot
f9d4d984f7 Fix examples to return 0 on success (#9) 2021-03-24 09:41:46 -05:00
Alexander Grund
ca7d1729b1 Also check for m-suffixed python include folder (#4)
* src/tools/python.jam
    (compute-default-paths): When the python include folder without any
    suffix does not exist, but one with a m-suffix does, use the latter
2021-03-24 09:30:33 -05:00
René Ferdinand Rivera Morell
dec7030d3f Reenable ability of generators to return property-set as first item
Re-introduces functionality that was present in B2, but removed when the "" feature was introduced
Previously, generators could return a property-set as the first item in the result list, this feature removed that. It doesn't seem clear to me that removing this functionality was intentional or necessary to make the feature work. I suspect it was overlooked because the built-in generators did not utilize this functionality that the system supported
2021-03-23 07:18:53 -05:00
Rene Rivera
c4151cbfcf Bump version to 4.5.0 for next release cycle. 2021-03-08 22:49:57 -06:00
Rene Rivera
1f1af25c24 Add C++11 note to docs. 2021-02-26 07:34:04 -06:00
Rene Rivera
60672f48ce Add C++11 note. 2021-02-26 07:29:03 -06:00
Rene Rivera
ab4be3125b Add PR template. 2021-02-25 22:22:30 -06:00
Rene Rivera
087c90c570 Add contrib doc link and point to filed out issues. 2021-02-25 20:13:22 -06:00
Rene Rivera
6d203e3e85 Delete the not-magical github files. 2021-02-24 22:39:25 -06:00
René Ferdinand Rivera Morell
1e70d7b29e Update issue templates 2021-02-24 22:37:22 -06:00
Rene Rivera
16503df5db Rename real templates to what github magically wants. 2021-02-24 22:32:59 -06:00