[llvm-commits] [compiler-rt] r156983 - /compiler-rt/trunk/lib/tsan/Makefile.old
Kostya Serebryany
kcc at google.com
Thu May 17 01:33:15 PDT 2012
Author: kcc
Date: Thu May 17 03:33:14 2012
New Revision: 156983
URL: http://llvm.org/viewvc/llvm-project?rev=156983&view=rev
Log:
[tsan] fix dependency rules in Makefile.old
Modified:
compiler-rt/trunk/lib/tsan/Makefile.old
Modified: compiler-rt/trunk/lib/tsan/Makefile.old
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/Makefile.old?rev=156983&r1=156982&r2=156983&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/Makefile.old (original)
+++ compiler-rt/trunk/lib/tsan/Makefile.old Thu May 17 03:33:14 2012
@@ -20,7 +20,7 @@
INCLUDES=-Irtl $(GTEST_INCLUDE)
-all: $(LIBTSAN) test
+all: libtsan test
help:
@ echo "A little help is always welcome!"
@@ -31,7 +31,9 @@
@ echo
@ echo "For more info, see http://code.google.com/p/data-race-test/wiki/ThreadSanitizer2"
-$(LIBTSAN):
+$(LIBTSAN): libtsan
+
+libtsan:
$(MAKE) -C rtl -f Makefile.old DEBUG=$(DEBUG)
unit_tests/%_test.o: unit_tests/%_test.cc $(UNIT_TEST_HDR)
@@ -46,7 +48,7 @@
tsan_test: $(TEST_OBJ) $(UNIT_TEST_OBJ) $(RTL_TEST_OBJ) $(LIBTSAN) $(GTEST_LIB)
$(CXX) $^ -o $@ $(LDFLAGS)
-test: $(LIBTSAN) tsan_test
+test: libtsan tsan_test
run: all
(ulimit -s 8192; ./tsan_test)
More information about the llvm-commits
mailing list