[llvm-commits] [hlvm] r38140 - /hlvm/trunk/build/configure.py

saem at cs.uiuc.edu saem at cs.uiuc.edu
Sat Jul 7 17:00:18 PDT 2007


Author: saem
Date: Sat Jul  7 19:00:17 2007
New Revision: 38140

URL: http://llvm.org/viewvc/llvm-project?rev=38140&view=rev
Log:
update configure.py  now you can have a file named paths in the build dir, there one can put paths (one path per line), which will be read and PREPRENDED to paths var that the script uses.

Modified:
    hlvm/trunk/build/configure.py

Modified: hlvm/trunk/build/configure.py
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/build/configure.py?rev=38140&r1=38139&r2=38140&view=diff

==============================================================================
--- hlvm/trunk/build/configure.py (original)
+++ hlvm/trunk/build/configure.py Sat Jul  7 19:00:17 2007
@@ -76,6 +76,11 @@
   paths += [
     '/proj','/proj/install','/opt/local','/opt/','/sw','/usr/local','/usr','/'
   ]
+  #Quick hack until I figure out how to do it the SCons way.
+  extrapaths=open('build/paths','r')
+  if not extrapaths==None:
+    for path in extrapaths:
+      paths.insert(0,path.strip())
   # Check each path
   for p in paths:
     # Clear old settings from previous iterations





More information about the llvm-commits mailing list