Skip to content

Commit 1d411ef

Browse files
committed
Add Brotli compression and decompression
1 parent f1bf938 commit 1d411ef

20 files changed

Lines changed: 1365 additions & 988 deletions

.drone.star

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,20 @@ def main(ctx):
1515
# Compilers
1616
[
1717
'gcc >=5.0',
18-
'clang >=3.8',
18+
'clang >=3.9',
1919
'msvc >=14.1',
2020
'arm64-gcc latest',
2121
's390x-gcc latest',
2222
# 'freebsd-gcc latest',
2323
'apple-clang *',
2424
'arm64-clang latest',
2525
's390x-clang latest',
26-
# 'x86-msvc latest'
26+
'freebsd-clang latest',
27+
'x86-msvc latest'
2728
],
2829
# Standards
2930
'>=11',
30-
packages=['zlib1g', 'zlib1g-dev'])
31+
packages=['zlib1g', 'zlib1g-dev', 'libbrotli-dev'])
3132

3233
# from https://github.com/cppalliance/ci-automation
3334
load("@ci_automation//ci/drone/:functions.star", "linux_cxx", "windows_cxx", "osx_cxx", "freebsd_cxx", "generate")

.drone/drone.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ echo using zlib : : : ^<warnings^>off ^; >> !BOOST_ROOT!\project-config.jam
4343
REM Customizations
4444
cd
4545
pushd !BOOST_ROOT!\libs
46-
git clone https://github.com/CPPAlliance/buffers -b !BOOST_BRANCH!
46+
git clone https://github.com/cppalliance/buffers -b !BOOST_BRANCH! --depth 1
47+
popd
48+
pushd !BOOST_ROOT!\libs
49+
git clone https://github.com/cppalliance/rts -b !BOOST_BRANCH! --depth 1
4750
popd
4851

4952
echo '==================================> COMPILE'

.drone/drone.sh

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,13 @@ common_install () {
3737

3838
if [ ! -d "$BOOST_ROOT/libs/buffers" ]; then
3939
pushd $BOOST_ROOT/libs
40-
git clone https://github.com/CPPAlliance/buffers -b $BOOST_BRANCH --depth 1
40+
git clone https://github.com/cppalliance/buffers -b $BOOST_BRANCH --depth 1
41+
popd
42+
fi
43+
44+
if [ ! -d "$BOOST_ROOT/libs/rts" ]; then
45+
pushd $BOOST_ROOT/libs
46+
git clone https://github.com/cppalliance/rts -b $BOOST_BRANCH --depth 1
4147
popd
4248
fi
4349
}
@@ -117,10 +123,14 @@ git submodule update --init --recursive
117123
# Customizations
118124
if [ ! -d "$BOOST_ROOT/libs/buffers" ]; then
119125
pushd $BOOST_ROOT/libs
120-
git clone https://github.com/CPPAlliance/buffers -b $BOOST_BRANCH --depth 1
126+
git clone https://github.com/cppalliance/buffers -b $BOOST_BRANCH --depth 1
127+
popd
128+
fi
129+
if [ ! -d "$BOOST_ROOT/libs/rts" ]; then
130+
pushd $BOOST_ROOT/libs
131+
git clone https://github.com/cppalliance/rts -b $BOOST_BRANCH --depth 1
121132
popd
122133
fi
123-
124134
cd libs/$SELF
125135
mkdir __build__ && cd __build__
126136
cmake -DCMAKE_INSTALL_PREFIX=~/.local ..

0 commit comments

Comments
 (0)