diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2010-02-18 04:43:02 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2010-02-18 04:43:02 +0000 |
commit | c451027db973e6906112e698f1cfc1540453e807 (patch) | |
tree | a0d04c71f4107af584edbb4ac404e0f2f1fe12aa /llvm/test/Unit | |
parent | cb9572e7b3d104e610dfa088e10ffcd40e310949 (diff) | |
download | bcm5719-llvm-c451027db973e6906112e698f1cfc1540453e807.tar.gz bcm5719-llvm-c451027db973e6906112e698f1cfc1540453e807.zip |
Roll back the shared library, r96559. It broke two darwins and arm, mysteriously.
llvm-svn: 96569
Diffstat (limited to 'llvm/test/Unit')
-rw-r--r-- | llvm/test/Unit/lit.cfg | 9 | ||||
-rw-r--r-- | llvm/test/Unit/lit.site.cfg.in | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/llvm/test/Unit/lit.cfg b/llvm/test/Unit/lit.cfg index 5fe07324a1b..34372bb6cbe 100644 --- a/llvm/test/Unit/lit.cfg +++ b/llvm/test/Unit/lit.cfg @@ -23,14 +23,7 @@ config.test_format = lit.formats.GoogleTest(llvm_build_mode, 'Tests') ### -# If necessary, point the dynamic loader at libLLVM.so. -if config.enable_shared: - libdir = os.path.join(config.llvm_obj_root, config.llvm_build_mode, 'lib') - shlibpath = config.environment.get(config.shlibpath_var,'') - if shlibpath: - shlibpath = ':' + shlibpath - shlibpath = libdir + shlibpath - config.environment[config.shlibpath_var] = shlibpath +import os # Check that the object root is known. if config.test_exec_root is None: diff --git a/llvm/test/Unit/lit.site.cfg.in b/llvm/test/Unit/lit.site.cfg.in index 51b5bc416f6..c190ffa68e5 100644 --- a/llvm/test/Unit/lit.site.cfg.in +++ b/llvm/test/Unit/lit.site.cfg.in @@ -5,8 +5,6 @@ config.llvm_obj_root = "@LLVM_BINARY_DIR@" config.llvm_tools_dir = "@LLVM_TOOLS_DIR@" config.llvmgcc_dir = "@LLVMGCCDIR@" config.llvm_build_mode = "@LLVM_BUILD_MODE@" -config.enable_shared = @ENABLE_SHARED@ -config.shlibpath_var = "@SHLIBPATH_VAR@" # Let the main config do the real work. lit.load_config(config, "@LLVM_SOURCE_DIR@/test/Unit/lit.cfg") |