Skip to content

Commit 458b25d

Browse files
committed
chore(stacks): add clang support
1 parent 5783639 commit 458b25d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ RUN install-packages \
2626
file \
2727
g++ \
2828
gcc \
29+
clang \
2930
imagemagick \
3031
libbz2-dev \
3132
libc6-dev \

stacks/fluent-bit/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function build() {
1616
&& cd $GOPATH/src/fluent-bit/build \
1717
&& apt update \
1818
&& apt install -yq flex bison libyaml-dev libssl-dev libsasl2-dev \
19-
&& cmake -DFLB_ALL=Yes -DCMAKE_INSTALL_PREFIX=/opt/drycc/fluent-bit ../ \
19+
&& cmake -DFLB_ALL=Yes -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/opt/drycc/fluent-bit ../ \
2020
&& make \
2121
&& make install
2222
cp -rf /opt/drycc/fluent-bit/* "${DATA_DIR}"

0 commit comments

Comments
 (0)