[compiler-rt] r215247 - [CMake] Determine which compiler-rt libraries are supported on

İsmail Dönmez ismail at donmez.ws
Sat Aug 9 04:42:13 PDT 2014


Hi,


On Sat, Aug 9, 2014 at 1:01 AM, Alexey Samsonov <vonosmas at gmail.com> wrote:

> Author: samsonov
> Date: Fri Aug  8 17:01:20 2014
> New Revision: 215247
>
> URL: http://llvm.org/viewvc/llvm-project?rev=215247&view=rev
> Log:
> [CMake] Determine which compiler-rt libraries are supported on
> a given platform in a top-level CMakeLists.txt to use it both
> in lib/ and in test/ subdirectories. Move architecture/platform
> checks to config-ix.
>
> Modified:
>     compiler-rt/trunk/CMakeLists.txt
>     compiler-rt/trunk/cmake/config-ix.cmake
>     compiler-rt/trunk/lib/CMakeLists.txt
>     compiler-rt/trunk/test/CMakeLists.txt
>     compiler-rt/trunk/test/ubsan/CMakeLists.txt
>

Seems to break ARM build here:

cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -
 DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_PIC=ON -DLLVM_TARGET_ARCH=ARM
-DLLVM_TARGETS_TO_BUILD=ARM -
 DLLVM_DEFAULT_TARGET_TRIPLE=armv7l-unknown-linux-gnueabihf
-DLLVM_ENABLE_TIMESTAMPS=OFF -DCMAKE_INSTALL_PREFIX=$PWD/llvm -
DLIBCXXABI_USE_LLVM_UNWINDER=ON -DCLANG_ENABLE_ARCMT=OFF
-DCLANG_ENABLE_STATIC_ANALYZER=OFF -           DENABLE_CLANG_EXAMPLES=OFF
-DLLVM_BUILD_TESTS=OFF -G "Ninja" ..

results in:

CMake Error at projects/compiler-rt/lib/asan/tests/CMakeLists.txt:206
(add_library):
  Objects of target "RTLSanCommon.arm" referenced but no such target exists.
Call Stack (most recent call first):
  projects/compiler-rt/lib/asan/tests/CMakeLists.txt:238
(add_asan_tests_for_arch_and_kind)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140809/f41c2be9/attachment.html>


More information about the llvm-commits mailing list