File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,9 @@ RUN mkdir -p /syzkaller/gopath/src/github.com/google/syzkaller && \
3737
3838# Download and install the custom Clang required to build KMSAN.
3939# TODO(@ramosian-glider): switch to stable Clang once KMSAN is upstreamed.
40- RUN curl https://storage.googleapis.com/syzkaller/clang-2b554920f11c-patched.tar.gz | tar -C /syzkaller -xz
41- RUN ln -s /syzkaller/clang-2b554920f11c-patched /syzkaller/clang-kmsan
40+ ENV CLANG_KMSAN_VER 38e16e1cebb8
41+ RUN curl https://storage.googleapis.com/syzkaller/clang-${CLANG_KMSAN_VER}.tar.gz | tar -C /usr/local/ -xz
42+ RUN ln -s /usr/local/clang-${CLANG_KMSAN_VER} /usr/local/clang-kmsan
4243
4344# The default Docker prompt is too ugly and takes the whole line:
4445# I have no name!@0f3331d2fb54:~/gopath/src/github.com/google/syzkaller$
Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ ENV PATH /usr/local/go/bin:$PATH
3434
3535# Download and install the custom Clang required to build KMSAN.
3636# TODO(@ramosian-glider): switch to stable Clang once KMSAN is upstreamed.
37- RUN mkdir -p /syzkaller
38- RUN curl https://storage.googleapis.com/syzkaller/clang-2b554920f11c-patched .tar.gz | tar -C /syzkaller -xz
39- RUN ln -s /syzkaller/ clang-2b554920f11c-patched /syzkaller /clang-kmsan
37+ ENV CLANG_KMSAN_VER 38e16e1cebb8
38+ RUN curl https://storage.googleapis.com/syzkaller/clang-${CLANG_KMSAN_VER} .tar.gz | tar -C /usr/local/ -xz
39+ RUN ln -s /usr/local/ clang-${CLANG_KMSAN_VER} /usr/local /clang-kmsan
4040
4141# Not really GRTE, but it's enough to run some scripts that hardcode the path.
4242RUN mkdir -p /usr/grte/v5/bin && ln -s /usr/bin/python3 /usr/grte/v5/bin/python2.7
You can’t perform that action at this time.
0 commit comments