From 2290b8080c04081ad933158dc6426c89f26ca421 Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Thu, 12 Dec 2019 11:15:57 -0800 Subject: [PATCH] [llvm_libcxx] switch to the new github repo (#3113) --- projects/llvm_libcxx/Dockerfile | 3 +-- projects/llvm_libcxx/build.sh | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/llvm_libcxx/Dockerfile b/projects/llvm_libcxx/Dockerfile index 5777a4caf..389b3653c 100644 --- a/projects/llvm_libcxx/Dockerfile +++ b/projects/llvm_libcxx/Dockerfile @@ -14,6 +14,5 @@ # ################################################################################ FROM gcr.io/oss-fuzz-base/base-builder -RUN svn co http://llvm.org/svn/llvm-project/libcxxabi/trunk libcxxabi -RUN svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx +RUN git clone --depth 1 https://github.com/llvm/llvm-project.git COPY build.sh $SRC/ diff --git a/projects/llvm_libcxx/build.sh b/projects/llvm_libcxx/build.sh index 961a912f2..6cea2f8a4 100755 --- a/projects/llvm_libcxx/build.sh +++ b/projects/llvm_libcxx/build.sh @@ -15,6 +15,8 @@ # ################################################################################ +cd llvm-project + if [[ $SANITIZER = *undefined* ]]; then CXXFLAGS="$CXXFLAGS -fsanitize=unsigned-integer-overflow -fsanitize-trap=unsigned-integer-overflow" fi