From: Duncan Sands Date: Fri, 17 Sep 2010 17:05:27 +0000 (+0000) Subject: Some of the tests build an executable with llvm-gcc. For this to work, llvm-gcc X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7201c9f1f12a91bad33311be0e812ce3cd924799;p=oota-llvm.git Some of the tests build an executable with llvm-gcc. For this to work, llvm-gcc needs to find some libraries, which may require searching the directories given by LIBRARY_PATH on curiously configured systems. So pass on LIBRARY_PATH. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114186 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py index 5c1b2739485..440375a588b 100644 --- a/utils/lit/lit/TestingConfig.py +++ b/utils/lit/lit/TestingConfig.py @@ -10,6 +10,7 @@ class TestingConfig: if config is None: # Set the environment based on the command line arguments. environment = { + 'LIBRARY_PATH' : os.environ.get('LIBRARY_PATH',''), 'LD_LIBRARY_PATH' : os.environ.get('LD_LIBRARY_PATH',''), 'PATH' : os.pathsep.join(litConfig.path + [os.environ.get('PATH','')]),