forked from boostorg/beast
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
301 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM centos:7 | ||
|
||
RUN yum update -y | ||
RUN yum install -y epel-release | ||
RUN yum -y groupinstall "Development Tools" | ||
RUN yum install -y cmake openssl-devel clang libcxx-devel libcxxabi-devel bzip2-devel which zlib-devel | ||
|
||
WORKDIR /devel | ||
RUN git clone -b develop https://github.com/boostorg/boost.git | ||
COPY .dockers/centos-7/user-config.jam /devel/boost/ | ||
COPY .dockers/centos-7/tests.sh /devel/boost/ | ||
|
||
WORKDIR /devel/boost | ||
RUN git submodule update --init --recursive | ||
COPY . /devel/boost/libs/beast/ | ||
|
||
RUN ./bootstrap.sh | ||
RUN ./b2 toolset=gcc variant=release cxxstd=latest headers | ||
RUN ./tests.sh || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
#cxxstd=2a,17,14,11 \ | ||
|
||
./b2 --user-config=./user-config.jam \ | ||
toolset=clang,gcc \ | ||
asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ | ||
variant=release \ | ||
cxxstd=11 \ | ||
-j`grep processor /proc/cpuinfo | wc -l` \ | ||
-q \ | ||
libs/beast/test libs/beast/example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import feature ; | ||
|
||
feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; | ||
feature.compose <asio.mode>nodep : <define>"BOOST_ASIO_NO_DEPRECATED" ; | ||
feature.compose <asio.mode>nots : <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>ts : <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
feature.compose <asio.mode>nodep-nots : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>nodep-ts : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
|
||
using clang : : clang++ : <stdlib>"libc++" <cxxflags>"-Wno-c99-extensions" ; | ||
using gcc : : g++ : <cxxflags>"-Wno-c99-extensions" ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM debian:10 | ||
|
||
RUN apt-get update | ||
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata | ||
RUN apt-get install -y build-essential | ||
RUN apt-get install -y git cmake libssl-dev clang libc++-dev libc++abi-dev libbz2-dev zlib1g-dev mlocate | ||
|
||
WORKDIR /devel | ||
RUN git clone -b develop https://github.com/boostorg/boost.git | ||
COPY .dockers/debian-10/user-config.jam /devel/boost/ | ||
COPY .dockers/debian-10/tests.sh /devel/boost/ | ||
|
||
WORKDIR /devel/boost | ||
RUN git submodule update --init --recursive | ||
COPY . /devel/boost/libs/beast/ | ||
|
||
RUN ./bootstrap.sh | ||
RUN ./b2 toolset=gcc variant=release cxxstd=latest headers | ||
RUN ./tests.sh || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
./b2 --user-config=./user-config.jam \ | ||
toolset=clang,gcc \ | ||
asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ | ||
variant=release \ | ||
cxxstd=2a,17,14,11 \ | ||
-j`grep processor /proc/cpuinfo | wc -l` \ | ||
-q \ | ||
libs/beast/test libs/beast/example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import feature ; | ||
|
||
feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; | ||
feature.compose <asio.mode>nodep : <define>"BOOST_ASIO_NO_DEPRECATED" ; | ||
feature.compose <asio.mode>nots : <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>ts : <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
feature.compose <asio.mode>nodep-nots : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>nodep-ts : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
|
||
using clang : : clang++ : <stdlib>"libc++" <cxxflags>"-Wno-c99-extensions" ; | ||
using gcc : : g++ : <cxxflags>"-Wno-c99-extensions" ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM debian:9 | ||
|
||
RUN apt-get update | ||
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata | ||
RUN apt-get install -y build-essential | ||
RUN apt-get install -y git cmake libssl-dev clang libc++-dev libc++abi-dev libbz2-dev zlib1g-dev mlocate | ||
|
||
WORKDIR /devel | ||
RUN git clone -b develop https://github.com/boostorg/boost.git | ||
COPY .dockers/debian-9/user-config.jam /devel/boost/ | ||
COPY .dockers/debian-9/tests.sh /devel/boost/ | ||
|
||
WORKDIR /devel/boost | ||
RUN git submodule update --init --recursive | ||
COPY . /devel/boost/libs/beast/ | ||
|
||
RUN ./bootstrap.sh | ||
RUN ./b2 toolset=gcc variant=release cxxstd=latest headers | ||
RUN ./tests.sh || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
# modify cxxstd=2a,17,14,11 | ||
|
||
./b2 --user-config=./user-config.jam \ | ||
toolset=clang,gcc \ | ||
asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ | ||
variant=release \ | ||
cxxstd=14,11 \ | ||
-j`grep processor /proc/cpuinfo | wc -l` \ | ||
-q \ | ||
libs/beast/test libs/beast/example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import feature ; | ||
|
||
feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; | ||
feature.compose <asio.mode>nodep : <define>"BOOST_ASIO_NO_DEPRECATED" ; | ||
feature.compose <asio.mode>nots : <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>ts : <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
feature.compose <asio.mode>nodep-nots : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>nodep-ts : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
|
||
using clang : : clang++ : <stdlib>"libc++" <cxxflags>"-Wno-c99-extensions" ; | ||
using gcc : : g++ : <cxxflags>"-Wno-c99-extensions" ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM ubuntu:16.04 | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y build-essential | ||
RUN apt-get install -y git cmake libssl-dev clang libc++-dev libc++abi-dev libbz2-dev zlib1g-dev | ||
|
||
WORKDIR /devel | ||
RUN git clone -b develop https://github.com/boostorg/boost.git | ||
COPY .dockers/ubuntu-16/user-config.jam /devel/boost/ | ||
COPY .dockers/ubuntu-16/tests.sh /devel/boost/ | ||
|
||
WORKDIR /devel/boost | ||
RUN git submodule update --init --recursive | ||
COPY . /devel/boost/libs/beast/ | ||
|
||
RUN ./bootstrap.sh | ||
RUN ./b2 toolset=gcc variant=release cxxstd=latest headers | ||
RUN ./tests.sh || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
# cxxstd=2a,17,14,11 \ | ||
|
||
./b2 --user-config=./user-config.jam \ | ||
toolset=clang,gcc \ | ||
asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ | ||
variant=release \ | ||
cxxstd=14,11 \ | ||
-j`grep processor /proc/cpuinfo | wc -l` \ | ||
-q \ | ||
libs/beast/test libs/beast/example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import feature ; | ||
|
||
feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; | ||
feature.compose <asio.mode>nodep : <define>"BOOST_ASIO_NO_DEPRECATED" ; | ||
feature.compose <asio.mode>nots : <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>ts : <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
feature.compose <asio.mode>nodep-nots : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>nodep-ts : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
|
||
using clang : : clang++ : <stdlib>"libc++" <cxxflags>"-Wno-c99-extensions" ; | ||
using gcc : : g++ : <cxxflags>"-Wno-c99-extensions" ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM ubuntu:18.04 | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y build-essential | ||
RUN apt-get install -y git cmake libssl-dev clang libc++-10-dev libc++abi-10-dev libbz2-dev zlib1g-dev | ||
|
||
WORKDIR /devel | ||
RUN git clone -b develop https://github.com/boostorg/boost.git | ||
COPY .dockers/ubuntu-18-cxxstd-17/user-config.jam /devel/boost/ | ||
COPY .dockers/ubuntu-18-cxxstd-17/tests.sh /devel/boost/ | ||
|
||
WORKDIR /devel/boost | ||
RUN git submodule update --init --recursive | ||
COPY . /devel/boost/libs/beast/ | ||
|
||
RUN ./bootstrap.sh | ||
RUN ./b2 toolset=gcc variant=release cxxstd=latest headers | ||
RUN ./tests.sh || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
# cxxstd=2a,17,14,11 \ | ||
|
||
./b2 --user-config=./user-config.jam \ | ||
toolset=clang,gcc \ | ||
asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ | ||
variant=release \ | ||
cxxstd=17,14,11 \ | ||
-j`grep processor /proc/cpuinfo | wc -l` \ | ||
-q \ | ||
libs/beast/test libs/beast/example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import feature ; | ||
|
||
feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; | ||
feature.compose <asio.mode>nodep : <define>"BOOST_ASIO_NO_DEPRECATED" ; | ||
feature.compose <asio.mode>nots : <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>ts : <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
feature.compose <asio.mode>nodep-nots : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>nodep-ts : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
|
||
using clang : : clang++ : <stdlib>"libc++" <cxxflags>"-Wno-c99-extensions" ; | ||
using gcc : : g++ : <cxxflags>"-Wno-c99-extensions" ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM ubuntu:18.04 | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y build-essential | ||
RUN apt-get install -y git cmake libssl-dev clang libc++-10-dev libc++abi-10-dev libbz2-dev zlib1g-dev | ||
|
||
WORKDIR /devel | ||
RUN git clone -b develop https://github.com/boostorg/boost.git | ||
COPY .dockers/ubuntu-18/user-config.jam /devel/boost/ | ||
COPY .dockers/ubuntu-18/tests.sh /devel/boost/ | ||
|
||
WORKDIR /devel/boost | ||
RUN git submodule update --init --recursive | ||
COPY . /devel/boost/libs/beast/ | ||
|
||
RUN ./bootstrap.sh | ||
RUN ./b2 toolset=gcc variant=release cxxstd=latest headers | ||
RUN ./tests.sh || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
./b2 --user-config=./user-config.jam \ | ||
toolset=clang,gcc \ | ||
asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ | ||
variant=release \ | ||
cxxstd=2a,17,14,11 \ | ||
-j`grep processor /proc/cpuinfo | wc -l` \ | ||
-q \ | ||
libs/beast/test libs/beast/example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import feature ; | ||
|
||
feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; | ||
feature.compose <asio.mode>nodep : <define>"BOOST_ASIO_NO_DEPRECATED" ; | ||
feature.compose <asio.mode>nots : <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>ts : <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
feature.compose <asio.mode>nodep-nots : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>nodep-ts : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
|
||
using clang : : clang++ : <stdlib>"libc++" <cxxflags>"-Wno-c99-extensions" ; | ||
using gcc : : g++ : <cxxflags>"-Wno-c99-extensions" ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM ubuntu:20.04 | ||
|
||
RUN apt-get update | ||
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata | ||
RUN apt-get install -y build-essential | ||
RUN apt-get install -y git cmake libssl-dev clang libc++-10-dev libc++abi-10-dev libbz2-dev zlib1g-dev mlocate | ||
|
||
WORKDIR /devel | ||
RUN git clone -b develop https://github.com/boostorg/boost.git | ||
COPY .dockers/ubuntu-20/user-config.jam /devel/boost/ | ||
COPY .dockers/ubuntu-20/tests.sh /devel/boost/ | ||
|
||
WORKDIR /devel/boost | ||
RUN git submodule update --init --recursive | ||
COPY . /devel/boost/libs/beast/ | ||
|
||
RUN ./bootstrap.sh | ||
RUN ./b2 toolset=gcc variant=release cxxstd=latest headers | ||
RUN ./tests.sh || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
./b2 --user-config=./user-config.jam \ | ||
toolset=clang,gcc \ | ||
asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ | ||
variant=release \ | ||
cxxstd=2a,17,14,11 \ | ||
-j`grep processor /proc/cpuinfo | wc -l` \ | ||
-q \ | ||
libs/beast/test libs/beast/example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import feature ; | ||
|
||
feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; | ||
feature.compose <asio.mode>nodep : <define>"BOOST_ASIO_NO_DEPRECATED" ; | ||
feature.compose <asio.mode>nots : <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>ts : <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
feature.compose <asio.mode>nodep-nots : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_NO_TS_EXECUTORS" ; | ||
feature.compose <asio.mode>nodep-ts : <define>"BOOST_ASIO_NO_DEPRECATED" <define>"BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; | ||
|
||
using clang : : clang++ : <stdlib>"libc++" <cxxflags>"-Wno-c99-extensions" ; | ||
using gcc : : g++ : <cxxflags>"-Wno-c99-extensions" ; |