[polly] r208619 - do not build llc and lli for polly test
Sebastian Pop
spop at codeaurora.org
Mon May 12 12:43:21 PDT 2014
Author: spop
Date: Mon May 12 14:43:20 2014
New Revision: 208619
URL: http://llvm.org/viewvc/llvm-project?rev=208619&view=rev
Log:
do not build llc and lli for polly test
Modified:
polly/trunk/test/CMakeLists.txt
polly/trunk/test/lit.cfg
Modified: polly/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CMakeLists.txt?rev=208619&r1=208618&r2=208619&view=diff
==============================================================================
--- polly/trunk/test/CMakeLists.txt (original)
+++ polly/trunk/test/CMakeLists.txt Mon May 12 14:43:20 2014
@@ -62,7 +62,7 @@ if (NOT DEFINED LLVM_MAIN_SRC_DIR)
else (NOT DEFINED LLVM_MAIN_SRC_DIR)
set(LLVM_LIT ${LLVM_TOOLS_BINARY_DIR}/llvm-lit)
- set(POLLY_TEST_DEPS opt lli llc LLVMPolly FileCheck not)
+ set(POLLY_TEST_DEPS opt LLVMPolly FileCheck not)
set(LLVM_BINARY_DIR "${LLVM_BINARY_DIR}")
set(LLVM_TOOLS_DIR "${LLVM_TOOLS_BINARY_DIR}")
Modified: polly/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/lit.cfg?rev=208619&r1=208618&r2=208619&view=diff
==============================================================================
--- polly/trunk/test/lit.cfg (original)
+++ polly/trunk/test/lit.cfg Mon May 12 14:43:20 2014
@@ -99,15 +99,15 @@ if config.test_exec_root is None:
lit_config.load_config(config, site_cfg)
raise SystemExit
-# llc knows whether he is compiled with -DNDEBUG.
+# opt knows whether it is compiled with -DNDEBUG.
import subprocess
try:
- llc_cmd = subprocess.Popen([os.path.join(llvm_tools_dir, 'llc'), '-version'],
+ opt_cmd = subprocess.Popen([os.path.join(llvm_tools_dir, 'opt'), '-version'],
stdout = subprocess.PIPE)
except OSError, why:
- print "Could not find llc in " + llvm_tools_dir
+ print "Could not find opt in " + llvm_tools_dir
exit(42)
-if re.search(r'with assertions', llc_cmd.stdout.read()):
+if re.search(r'with assertions', opt_cmd.stdout.read()):
config.available_features.add('asserts')
-llc_cmd.wait()
+opt_cmd.wait()
More information about the llvm-commits
mailing list