[llvm-commits] CVS: llvm/runtime/Makefile
Reid Spencer
reid at x10sys.com
Thu Apr 6 15:16:03 PDT 2006
Changes in directory llvm/runtime:
Makefile updated: 1.25 -> 1.26
---
Log message:
Avoid building the runtime libraries if llvm-gcc version 4 is detected.
---
Diffs of the changes: (+8 -0)
Makefile | 8 ++++++++
1 files changed, 8 insertions(+)
Index: llvm/runtime/Makefile
diff -u llvm/runtime/Makefile:1.25 llvm/runtime/Makefile:1.26
--- llvm/runtime/Makefile:1.25 Sun Apr 2 09:34:26 2006
+++ llvm/runtime/Makefile Thu Apr 6 17:15:51 2006
@@ -10,6 +10,13 @@
LEVEL = ..
include $(LEVEL)/Makefile.config
+ifneq ($(LLVMGCC_MAJVERS),3)
+PARALLEL_DIRS :=
+install all::
+ $(Echo) "Warning: The runtime libraries only need to be built with"
+ $(Echo) "Warning: llvm-gcc version 3. They are automatically included"
+ $(Echo) "Warning: with llvm-gcc version 4 and beyond"
+else
ifneq ($(wildcard $(LLVMGCC)),)
PARALLEL_DIRS := GCCLibraries libdummy libprofile libtrace GC
else
@@ -26,6 +33,7 @@
ifeq ($(ARCH), Sparc)
PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
endif
+endif
include $(LEVEL)/Makefile.common
More information about the llvm-commits
mailing list