File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ RUN sudo apt-get update \
3030 libdbus-1-dev \
3131 libharfbuzz-dev \
3232 ccache \
33- clang \
3433 libgstreamer1.0-dev \
3534 libgstreamer-plugins-base1.0-dev \
3635 libgstreamer-plugins-bad1.0-dev \
@@ -40,13 +39,9 @@ RUN sudo apt-get update \
4039 xpra \
4140 && sudo rm -rf /var/lib/apt/lists/*
4241
43- # Sadly, Servo can't be built with Clang yet.
44- ENV CC gcc
45- ENV CXX g++
46- ENV HOST_CC gcc
47- ENV HOST_CXX g++
48- RUN sudo sed -i "s/CC=clang-[0-9.]\+ /CC=gcc/" /etc/environment \
49- && sudo sed -i "s/CXX=clang++-[0-9.]\+ /CXX=g++/" /etc/environment
42+ # Help clang-sys find LLVM.
43+ # See https://github.com/servo/servo/issues/22384#issuecomment-453240318
44+ ENV CLANG_BASE /usr/lib/llvm-6.0/lib/
5045
5146# Enable required Xvfb extensions for Servo.
5247# Source: https://github.com/servo/servo/issues/7512#issuecomment-216665988
You can’t perform that action at this time.
0 commit comments