Skip to content

Commit

Permalink
B2 version 4.4.2. First BFG release.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Feb 27, 2021
2 parents 76da80f + 1f1af25 commit e97436d
Show file tree
Hide file tree
Showing 752 changed files with 2,915 additions and 2,039 deletions.
23 changes: 11 additions & 12 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
freebsd_task:
# All the GCC's and Clang's currently supported by FreeBSD ports.
matrix:
- { name: 'FreeBSD, GCC 11', env: { TOOLSET: gcc, TEST_TOOLSET: gcc, CXX: 'g++11', PACKAGE: 'gcc11-devel' }, freebsd_instance: { image_family: 'freebsd-13-0-snap' } }
- { name: 'FreeBSD, GCC 10', env: { TOOLSET: gcc, TEST_TOOLSET: gcc, CXX: 'g++10', PACKAGE: 'gcc10-devel' }, freebsd_instance: { image_family: 'freebsd-13-0-snap' } }
- { name: 'FreeBSD, GCC 9', env: { TOOLSET: gcc, TEST_TOOLSET: gcc, CXX: 'g++9', PACKAGE: 'gcc9-devel' }, freebsd_instance: { image_family: 'freebsd-13-0-snap' } }
- { name: 'FreeBSD, GCC 8', env: { TOOLSET: gcc, TEST_TOOLSET: gcc, CXX: 'g++8', PACKAGE: 'gcc8-devel' }, freebsd_instance: { image_family: 'freebsd-13-0-snap' } }
- { name: 'FreeBSD, GCC 7', env: { TOOLSET: gcc, TEST_TOOLSET: gcc, CXX: 'g++7', PACKAGE: 'gcc7' }, freebsd_instance: { image_family: 'freebsd-13-0-snap' } }
- { name: 'FreeBSD, Clang 10', env: { TOOLSET: clang, TEST_TOOLSET: clang, CXX: 'clang++10', PACKAGE: 'llvm10' }, freebsd_instance: { image_family: 'freebsd-13-0-snap' } }
- { name: 'FreeBSD, Clang 9', env: { TOOLSET: clang, TEST_TOOLSET: clang, CXX: 'clang++90', PACKAGE: 'llvm90' }, freebsd_instance: { image_family: 'freebsd-13-0-snap' } }
- { name: 'FreeBSD, Clang 8', env: { TOOLSET: clang, TEST_TOOLSET: clang, CXX: 'clang++80', PACKAGE: 'llvm80' }, freebsd_instance: { image_family: 'freebsd-13-0-snap' } }
- { name: 'FreeBSD, Clang 7', env: { TOOLSET: clang, TEST_TOOLSET: clang, CXX: 'clang++70', PACKAGE: 'llvm70' }, freebsd_instance: { image_family: 'freebsd-13-0-snap' } }
- { name: 'FreeBSD, Clang 6', env: { TOOLSET: clang, TEST_TOOLSET: clang, CXX: 'clang++60', PACKAGE: 'llvm60' }, freebsd_instance: { image_family: 'freebsd-13-0-snap' } }
- { name: 'FreeBSD, GCC 11', env: { TOOLSET: gcc, TEST_TOOLSET: gcc, CXX: 'g++11', PACKAGE: 'gcc11-devel' }, freebsd_instance: { image_family: 'freebsd-12-2' } }
- { name: 'FreeBSD, GCC 10', env: { TOOLSET: gcc, TEST_TOOLSET: gcc, CXX: 'g++10', PACKAGE: 'gcc10-devel' }, freebsd_instance: { image_family: 'freebsd-12-2' } }
- { name: 'FreeBSD, GCC 9', env: { TOOLSET: gcc, TEST_TOOLSET: gcc, CXX: 'g++9', PACKAGE: 'gcc9-devel' }, freebsd_instance: { image_family: 'freebsd-12-2' } }
- { name: 'FreeBSD, GCC 8', env: { TOOLSET: gcc, TEST_TOOLSET: gcc, CXX: 'g++8', PACKAGE: 'gcc8-devel' }, freebsd_instance: { image_family: 'freebsd-12-2' } }
- { name: 'FreeBSD, GCC 7', env: { TOOLSET: gcc, TEST_TOOLSET: gcc, CXX: 'g++7', PACKAGE: 'gcc7' }, freebsd_instance: { image_family: 'freebsd-12-2' } }
- { name: 'FreeBSD, Clang 10', env: { TOOLSET: clang, TEST_TOOLSET: clang, CXX: 'clang++10', PACKAGE: 'llvm10' }, freebsd_instance: { image_family: 'freebsd-12-2' } }
- { name: 'FreeBSD, Clang 9', env: { TOOLSET: clang, TEST_TOOLSET: clang, CXX: 'clang++90', PACKAGE: 'llvm90' }, freebsd_instance: { image_family: 'freebsd-12-2' } }
- { name: 'FreeBSD, Clang 8', env: { TOOLSET: clang, TEST_TOOLSET: clang, CXX: 'clang++80', PACKAGE: 'llvm80' }, freebsd_instance: { image_family: 'freebsd-12-2' } }
- { name: 'FreeBSD, Clang 7', env: { TOOLSET: clang, TEST_TOOLSET: clang, CXX: 'clang++70', PACKAGE: 'llvm70' }, freebsd_instance: { image_family: 'freebsd-12-2' } }
- { name: 'FreeBSD, Clang 6', env: { TOOLSET: clang, TEST_TOOLSET: clang, CXX: 'clang++60', PACKAGE: 'llvm60' }, freebsd_instance: { image_family: 'freebsd-12-2' } }
# To install with ports we need to initialize the package manager. To avoid
# confirmation prompts we need to set an env var.
install_script: [
Expand All @@ -28,8 +28,7 @@ freebsd_task:
build_script: [
"set -e",
"cd src/engine",
"set PATH=${PATH};${CXX_PATH}",
"./build.sh ${TOOLSET}",
"./build.sh --cxx=${CXX} ${TOOLSET}",
"./b2 -v",
"cd ../.."
]
Expand Down
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: Feature Request
about: Create an issue that requests a feature or other improvement
title: ''
labels: enhancement
assignees: ''

---

### Make sure you completed the following tasks

- [ ] I searched the [discussions](https://github.com/bfgroup/b2/discussions)
- [ ] I searched the closed and open [issues](https://github.com/bfgroup/b2/issues?q=is%3Aissue)

### Environment and version details

* Operating System+version: **Linux Ubuntu 18.04**
* Compiler+version: **GCC 8**
* Shell: **Bash, Batch, etc**
* B2 Version: Output of `b2 -v` and `b2 --version`

### Describe your use case

Describe the problem you're trying to solve. This is not mandatory and we do
consider features without a specific use case, but real problems have priority.

**If a project of yours is blocked on this feature, please, mention it explicitly.**

### Describe the solution you'd like

Please explain what the wanted solution should look like. You are strongly
encouraged to attach a snippet of (pseudo)code.

### Alternatives, if applicable

A clear and concise description of any alternative solutions or features
you've managed to come up with, if any.

### Additional context

Add any other context about the feature request here.
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/problem-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: Problem Report
about: Report a bug, something does not work as it supposed to
title: ''
labels: bug
assignees: ''

---

### Make sure you completed the following tasks

- [ ] I searched the [discussions](https://github.com/bfgroup/b2/discussions)
- [ ] I searched the closed and open [issues](https://github.com/bfgroup/b2/issues?q=is%3Aissue)
- [ ] I read the [contribution guidelines](https://github.com/bfgroup/b2/blob/main/CONTRIBUTING.adoc)

### Environment and version details

* Operating System+version: **Linux Ubuntu 18.04**
* Compiler+version: **GCC 8**
* Shell: **Bash, Batch, etc**
* B2 Version: Output of `b2 -v` and `b2 --version`
* B2 Configuration: Output of `b2 --debug-configuration` in your project.

```
Place output of "b2 --debug-configuration" here.
```

### Brief problem description

### Steps to reproduce the issue

### Actual behavior summary

When I do like *this*, *that* is happening and I think it shouldn't.

**If a project of yours is blocked due to this bug, please, mention it explicitly.**

```
Attach, or place here, log output showing the bug including running
with the options: -d2 --debug-configuration
```

### Expected behavior summary

I think *this* should happen instead.
33 changes: 33 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## Proposed changes

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

## Types of changes

What types of changes does your code introduce?

_Put an `x` in the boxes that apply_

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Documentation content changes
- [ ] Other (please describe):

## Checklist

_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._

- [ ] I searched the [discussions](https://github.com/bfgroup/b2/discussions)
- [ ] I searched the closed and open [issues](https://github.com/bfgroup/b2/issues?q=is%3Aissue)
- [ ] I read the [contribution guidelines](https://github.com/bfgroup/b2/blob/main/CONTRIBUTING.adoc)
- [ ] I added myself to the copyright attributions for significant changes
- [ ] I checked that tests pass locally with my changes
- [ ] I added tests that prove my fix is effective or that my feature works
- [ ] I added necessary documentation (if appropriate)

## Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
15 changes: 5 additions & 10 deletions CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2019-2020 Rene Rivera
// Copyright 2003, 2006 Vladimir Prus
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.txt or http://www.boost.org/LICENSE_1_0.txt)
// (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)

= B2 contributor guidelines

Expand All @@ -11,23 +11,18 @@ contains guidelines which helps to assure that development goes on smoothly, and
changes are made quickly.

The guidelines are not mandatory, and you can decide for yourself which one to
follow. But note, that 10 mins that you spare writing a comment, for example,
follow. But note, the 10 mins that you spare writing a comment, for example,
might lead to significantly longer delay for everyone.

Before contributing, make sure you are subscribed to our mailing list
at [email protected].

== Additional resources include

=== The issue tracker

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

=== Mailing list
https://github.com/bfgroup/b2/issues

[email protected]
=== Discussion forums

http://lists.boost.org/boost-build/
https://github.com/bfgroup/b2/discussions

== BUGS and PATCHES

Expand Down
2 changes: 1 addition & 1 deletion Jamroot.jam
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright 2016 Vladimir Prus
# Copyright 2017 Edward Diener
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
# (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)

import "class" : new ;
import bison ;
Expand Down
22 changes: 15 additions & 7 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,37 @@
B2 makes it easy to build C++ projects, everywhere.

image:https://img.shields.io/badge/license-BSL%201.0-blue.svg["Boost Software License 1.0", link="LICENSE.txt"]
image:https://img.shields.io/github/languages/code-size/boostorg/build.svg["GitHub code size in bytes", link="https://github.com/boostorg/build"]
image:https://img.shields.io/github/languages/code-size/bfgroup/b2.svg["GitHub code size in bytes", link="https://github.com/bfgroup/b2"]

== License

Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
file LICENSE.txt or copy at https://www.bfgroup.xyz/b2/LICENSE.txt)

== Testing

Continuously tested on:

* Linux Clang 3.5, 3.6, 3.7, 3.8, 3.9, 4, 5, 6, 7, 8, 9, 10
* FreeBSD Clang 6, 7, 8, 9
* FreeBSD GCC 6, 7, 8, 9, 10, 11
* Linux Clang 3.5, 3.6, 3.7, 3.8, 3.9, 4, 5, 6, 7, 8, 9, 10, 11
* Linux GCC 4.7, 4.8, 4.9, 5, 6, 7, 8, 9, 10
* macOS Xcode 10.0, 10.1, 10.2, 10.2.1, 11.2.1, 11.3, 11.3.1, 11.4.1, 11.5, 11.6, 11.7
* macOS Xcode 10.0, 10.1, 10.2, 10.2.1, 11.2.1, 11.3, 11.3.1, 11.4.1, 11.5, 11.6, 11.7, 12.0.1, 12.1.1, 12.2
* Windows MinGW 8.1.0
* Windows VS 2013, 2015, 2017, 2019

image:https://img.shields.io/azure-devops/build/grafikrobot/200cb3a3-3fcf-4a47-85ad-3cc17f2bec9e/3/master.svg?label=master&logo=azuredevops["Linux/Windows/macOS: master", link="https://dev.azure.com/grafikrobot/B2"]
image:https://img.shields.io/azure-devops/build/grafikrobot/200cb3a3-3fcf-4a47-85ad-3cc17f2bec9e/3/develop.svg?label=develop&logo=azuredevops["Linux/Windows/macOS: develop", link="https://dev.azure.com/grafikrobot/B2"]
image:https://img.shields.io/azure-devops/build/bfgroup/3a4e7a7e-c1b4-4e2f-9199-f52918ea06c6/3/release.svg?label=release&logo=azuredevops["Linux/Windows/macOS: release", link="https://dev.azure.com/bfgroup/B2"]
image:https://img.shields.io/azure-devops/build/bfgroup/3a4e7a7e-c1b4-4e2f-9199-f52918ea06c6/3/main.svg?label=main&logo=azuredevops["Linux/Windows/macOS: main", link="https://dev.azure.com/bfgroup/B2"]
image:https://img.shields.io/appveyor/build/bfgroup/b2?logo=appveyor["Windows", link="https://ci.appveyor.com/project/bfgroup/b2"]
image:https://img.shields.io/cirrus/github/bfgroup/b2/release?label=release&logo=cirrus-ci["FreeBSD: release", link="https://cirrus-ci.com/github/bfgroup/b2/release"]
image:https://img.shields.io/cirrus/github/bfgroup/b2/main?label=main&logo=cirrus-ci["FreeBSD: main", link="https://cirrus-ci.com/github/bfgroup/b2/main"]

NOTE: A C+\+11 capable compiler is needed to build the `b2` engine. But using
the `b2` engine and build system does not require C++11.

== More

See the link:https://boostorg.github.io/build/[website] for more information.
See the link:https://www.bfgroup.xyz/b2/[website] for more information.

See the link:CONTRIBUTING.adoc[guidelines for contributing] if you would like
to get involved in the development.
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
# Copyright Rene Rivera 2015-2020.
# Copyright Rene Ferdinand Rivera Morell 2015-2020.

branches:
only:
- /master.*/
- /develop.*/
- /main/
- /release/
- /feature\/.*/

environment:
Expand Down
Loading

0 comments on commit e97436d

Please sign in to comment.