Skip to content
This repository was archived by the owner on Jul 22, 2023. It is now read-only.

Commit 78ec4cc

Browse files
committed
update svn checkout process
1 parent f449d4b commit 78ec4cc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

make/mt-config/tests/mt-tests-fuzz.mk

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,14 @@ IOTC_FUZZ_TEST_LIBRARY := -lFuzzer
3333

3434
IOTC_CLANG_TOOLS_DIR := $(LIBIOTC)/src/import/clang_tools
3535

36-
IOTC_LIBFUZZER_URL := https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/fuzzer
37-
IOTC_LIBFUZZER_DOWNLOAD_DIR := $(IOTC_CLANG_TOOLS_DIR)/downloaded_libfuzzer
36+
IOTC_LIBFUZZER_URL := https://github.com/llvm/llvm-project/trunk/compiler-rt/lib/fuzzer
37+
IOTC_LIBFUZZER_DOWNLOAD_DIR := $(IOTC_CLANG_TOOLS_DIR)/fuzzer
3838
IOTC_LIBFUZZER := $(IOTC_LIBFUZZER_DOWNLOAD_DIR)/libFuzzer.a
3939

4040
$(IOTC_LIBFUZZER_DOWNLOAD_DIR):
41-
@-mkdir -p $(IOTC_LIBFUZZER_DOWNLOAD_DIR)
42-
svn checkout $(IOTC_LIBFUZZER_URL) $(IOTC_LIBFUZZER_DOWNLOAD_DIR)
41+
pushd $(IOTC_CLANG_TOOLS_DIR)
42+
svn export $(IOTC_LIBFUZZER_URL)
43+
popd
4344

4445
$(IOTC_LIBFUZZER): $(IOTC_LIBFUZZER_DOWNLOAD_DIR)
4546
(cd $(IOTC_LIBFUZZER_DOWNLOAD_DIR) && clang++ -c -g -O2 -lstdc++ -std=c++11 *.cpp -IFuzzer && ar ruv libFuzzer.a Fuzzer*.o)

0 commit comments

Comments
 (0)