Skip to content

Commit a47834e

Browse files
committed
Use system clang for wasm32_unknown_unknown on x86-gnu-integration
Fuchsia clang does not include the wasm32 target, so instead install and use system clang for this purpose.
1 parent 41a9cd4 commit a47834e

File tree

1 file changed

+4
-0
lines changed
  • src/ci/docker/host-x86_64/x86_64-gnu-integration

1 file changed

+4
-0
lines changed

Diff for: src/ci/docker/host-x86_64/x86_64-gnu-integration/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM ubuntu:22.04
33
ARG DEBIAN_FRONTEND=noninteractive
44
RUN apt-get update && apt-get install -y --no-install-recommends \
55
build-essential \
6+
clang-15 \
67
g++ \
78
make \
89
ninja-build \
@@ -46,6 +47,9 @@ ENV TARGETS=x86_64-fuchsia
4647
ENV TARGETS=$TARGETS,x86_64-unknown-linux-gnu
4748
ENV TARGETS=$TARGETS,wasm32-unknown-unknown
4849

50+
# Fuchsia clang does not have wasm target enabled, use system clang.
51+
ENV CC_wasm32_unknown_unknown=clang-15
52+
4953
COPY scripts/sccache.sh /scripts/
5054
RUN sh /scripts/sccache.sh
5155

0 commit comments

Comments
 (0)