[llvm-commits] CVS: llvm-test/Makefile.rules Makefile.tests

Reid Spencer reid at x10sys.com
Fri Jan 21 12:34:10 PST 2005



Changes in directory llvm-test:

Makefile.rules updated: 1.6 -> 1.7
Makefile.tests updated: 1.3 -> 1.4
---
Log message:

Quote the value of PATH= lines so that platforms with spaces in their
paths can build without failure.


---
Diffs of the changes:  (+3 -3)

Index: llvm-test/Makefile.rules
diff -u llvm-test/Makefile.rules:1.6 llvm-test/Makefile.rules:1.7
--- llvm-test/Makefile.rules:1.6	Sat Jan 15 21:16:09 2005
+++ llvm-test/Makefile.rules	Fri Jan 21 14:34:00 2005
@@ -252,8 +252,8 @@
 #--------------------------------------------------------------------------
 # The LLVM GCC front-end in C and C++ flavors
 #
-LLVMGCC := PATH=$(LLVMTOOLCURRENT):$(PATH) $(LLVMGCCDIR)/bin/llvm-gcc
-LLVMGXX := PATH=$(LLVMTOOLCURRENT):$(PATH) $(LLVMGCCDIR)/bin/llvm-g++
+LLVMGCC := PATH="$(LLVMTOOLCURRENT):$(PATH)" $(LLVMGCCDIR)/bin/llvm-gcc
+LLVMGXX := PATH="$(LLVMTOOLCURRENT):$(PATH)" $(LLVMGCCDIR)/bin/llvm-g++
 
 #--------------------------------------------------------------------------
 # The compiled LLVM tools


Index: llvm-test/Makefile.tests
diff -u llvm-test/Makefile.tests:1.3 llvm-test/Makefile.tests:1.4
--- llvm-test/Makefile.tests:1.3	Wed Sep  1 09:33:16 2004
+++ llvm-test/Makefile.tests	Fri Jan 21 14:34:00 2005
@@ -39,7 +39,7 @@
 LLCFLAGS =
 FAILURE  = $(LLVM_SRC_ROOT)/test/Failure.sh
 TESTRUNR = @echo Running test: $<; \
-             PATH=$(LLVMTOOLCURRENT):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH) \
+             PATH="$(LLVMTOOLCURRENT):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH)" \
                   $(LLVM_SRC_ROOT)/test/TestRunner.sh
 
 LLCLIBS := $(LLCLIBS) -lm






More information about the llvm-commits mailing list