Skip to content

Commit e57738e

Browse files
YukariChibaZeno-sole
authored andcommitted
feat: init package
1 parent 233a017 commit e57738e

File tree

49,641 files changed

+7985144
-41
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49,641 files changed

+7985144
-41
lines changed

.circleci/config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: cppalliance/boost_superproject_build:20.04-v1
6+
parallelism: 2
7+
steps:
8+
- checkout
9+
- run: wget "https://raw.githubusercontent.com/boostorg/release-tools/master/ci_boost_common.py" -P ${HOME}
10+
- run: wget "https://raw.githubusercontent.com/boostorg/release-tools/master/ci_boost_release.py" -P ${HOME}
11+
- run: python3 ${HOME}/ci_boost_release.py checkout_post
12+
# - run: python3 ${HOME}/ci_boost_release.py dependencies_override
13+
- run: '[ "$CIRCLE_NODE_INDEX" != "0" ] || EOL=LF python3 ${HOME}/ci_boost_release.py test_pre'
14+
- run: '[ "$CIRCLE_NODE_INDEX" != "1" ] || EOL=CRLF python3 ${HOME}/ci_boost_release.py test_pre'
15+
- run: '[ "$CIRCLE_NODE_INDEX" != "0" ] || EOL=LF python3 ${HOME}/ci_boost_release.py test_override'
16+
- run: '[ "$CIRCLE_NODE_INDEX" != "1" ] || EOL=CRLF python3 ${HOME}/ci_boost_release.py test_override'

.travis.yml

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
# Use, modification, and distribution are
2+
# subject to the Boost Software License, Version 1.0. (See accompanying
3+
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4+
#
5+
# Copyright Rene Rivera 2015-2016.
6+
# Copyright Peter Dimov 2017-2021.
7+
8+
branches:
9+
only:
10+
- master
11+
- develop
12+
- /feature\/.*/
13+
14+
dist: bionic
15+
16+
language: cpp
17+
18+
compiler: gcc
19+
20+
git:
21+
submodules: false
22+
23+
env:
24+
matrix:
25+
- TRAVIS_EMPTY_JOB_WORKAROUND=true
26+
27+
matrix:
28+
exclude:
29+
- env: TRAVIS_EMPTY_JOB_WORKAROUND=true
30+
31+
include:
32+
33+
- env: SCRIPT=ci_boost_release MODE=check
34+
addons:
35+
apt:
36+
packages:
37+
- xsltproc
38+
39+
# Simple integrated status tests check.
40+
- env: SCRIPT=ci_boost_status
41+
42+
# Same, but using release layout
43+
- env: SCRIPT=ci_boost_status RELEASE=1
44+
45+
# Run 'quick' tests.
46+
- env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=gcc CXXSTD=03,11,14
47+
compiler: g++
48+
49+
- env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=clang CXXSTD=03,11,14
50+
compiler: clang++
51+
52+
# Build Boost
53+
- env: SCRIPT=ci_boost_build TOOLSET=gcc
54+
compiler: g++
55+
56+
# Build Boost with release layout
57+
- env: SCRIPT=ci_boost_build TOOLSET=gcc RELEASE=1
58+
compiler: g++
59+
60+
# Build Boost with CMake
61+
- env: CMAKE_BUILD=1
62+
dist: xenial
63+
compiler: g++
64+
65+
before_script: true
66+
before_install: true
67+
after_success: true
68+
after_failure: true
69+
after_script: true
70+
71+
addons:
72+
apt:
73+
packages:
74+
- libzstd-dev
75+
76+
install:
77+
- git submodule update --init --jobs 3
78+
79+
script:
80+
- mkdir __build && cd __build
81+
- cmake -DBOOST_INSTALL_LAYOUT=tagged -DBUILD_SHARED_LIBS=ON ..
82+
- cmake --build .
83+
84+
# Install Boost with CMake
85+
- env: CMAKE_INSTALL=1
86+
compiler: g++
87+
88+
before_script: true
89+
before_install: true
90+
after_success: true
91+
after_failure: true
92+
after_script: true
93+
94+
install:
95+
- pip install --user cmake
96+
- git submodule update --init --jobs 3
97+
98+
script:
99+
- mkdir __build && cd __build
100+
- cmake -DBOOST_INSTALL_LAYOUT=tagged -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=~/.local ..
101+
- cmake --build .
102+
- cmake --build . --target install
103+
104+
# Test Boost with CMake
105+
- env: CMAKE_TEST=1
106+
dist: bionic
107+
compiler: g++
108+
109+
before_script: true
110+
before_install: true
111+
after_success: true
112+
after_failure: true
113+
after_script: true
114+
115+
addons:
116+
apt:
117+
packages:
118+
- liblzma-dev
119+
- libzstd-dev
120+
121+
install:
122+
- git submodule update --init --jobs 3
123+
124+
script:
125+
- mkdir __build && cd __build
126+
- cmake -DBUILD_TESTING=ON ..
127+
- cmake --build . -j 3
128+
- cmake --build . --target tests -j 3 -- -k
129+
- ctest --output-on-failure -j 3 -R quick
130+
131+
before_install:
132+
# Fetch the scripts to do the actual building/testing.
133+
- git submodule update --init --jobs 3
134+
- |
135+
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py" -P ..
136+
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/${SCRIPT}.py" -P ..
137+
138+
install: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" install
139+
before_script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" before_script
140+
script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" script
141+
after_success: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_success
142+
after_failure: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_failure
143+
after_script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_script

CMakeLists.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright 2019, 2021 Peter Dimov
2+
# Distributed under the Boost Software License, Version 1.0.
3+
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
4+
5+
cmake_minimum_required(VERSION 3.5...3.16)
6+
7+
# The default build type must be set before project()
8+
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR AND NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
9+
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
10+
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
11+
endif()
12+
13+
project(Boost VERSION 1.83.0 LANGUAGES CXX)
14+
15+
set(BOOST_SUPERPROJECT_VERSION ${PROJECT_VERSION})
16+
set(BOOST_SUPERPROJECT_SOURCE_DIR ${PROJECT_SOURCE_DIR})
17+
18+
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/tools/cmake/include)
19+
20+
include(BoostRoot)

INSTALL

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
See ./index.html for information about this release. The "Getting Started"
2+
section is a useful starting place.
3+
4+
---------------------------
5+
Copyright Beman Dawes, 2008
6+
7+
Distributed under the Boost Software License, Version 1.0.
8+
See ./LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt

0 commit comments

Comments
 (0)