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

Chandler Carruth chandlerc at gmail.com
Sun Jan 18 17:03:05 PST 2015


Author: chandlerc
Date: Sun Jan 18 19:03:05 2015
New Revision: 226420

URL: http://llvm.org/viewvc/llvm-project?rev=226420&view=rev
Log:
[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.

Modified:
    polly/trunk/test/CMakeLists.txt

Modified: polly/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CMakeLists.txt?rev=226420&r1=226419&r2=226420&view=diff
==============================================================================
--- polly/trunk/test/CMakeLists.txt (original)
+++ polly/trunk/test/CMakeLists.txt Sun Jan 18 19:03:05 2015
@@ -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"





More information about the llvm-commits mailing list