[multilib] Teach Polly's CMake to use the libdir suffix variable. This

lets 'ninja check-polly' pass for me with a lib64 build of LLVM.

I've not updated the standalone side as I don't use it and don't have an
easy way to test any changes I've made there. I mostly wanted to be able
to actually run Polly's tests when I update its use of LLVM's APIs
during my refactorings on the (very unlikely) off chance that I make
a change which compiles but does the wrong thing.

llvm-svn: 226420
This commit is contained in:
Chandler Carruth 2015-01-19 01:03:05 +00:00
parent ded8207c43
commit 78ae1c92ca
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ else (NOT DEFINED LLVM_MAIN_SRC_DIR)
set(LLVM_BINARY_DIR "${LLVM_BINARY_DIR}")
set(LLVM_TOOLS_DIR "${LLVM_TOOLS_BINARY_DIR}")
set(LLVM_LIBS_DIR "${LLVM_BINARY_DIR}/lib")
set(LLVM_LIBS_DIR "${LLVM_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}")
set(POLLY_LIB_DIR "${LLVM_LIBS_DIR}")
add_lit_testsuite(check-polly "Running polly regression tests"