From 78ae1c92cae9faf4a03bb1357ab6a46cb9ff61ff Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 19 Jan 2015 01:03:05 +0000 Subject: [PATCH] [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 --- polly/test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polly/test/CMakeLists.txt b/polly/test/CMakeLists.txt index a31562b..76250ee 100644 --- a/polly/test/CMakeLists.txt +++ b/polly/test/CMakeLists.txt @@ -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" -- 2.7.4