[PATCH] D127812: [AArch64] FMV support and necessary target features dependencies.

Pavel Iliin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 21 15:49:38 PST 2022


ilinpv added a comment.

In D127812#4011437 <https://reviews.llvm.org/D127812#4011437>, @hctim wrote:

> 2. Build a sanitizer libcxx.
>
>   $ cd /tmp/2
>   $ cmake \
>   -DCMAKE_C_COMPILER=/tmp/1/bin/clang \
>   -DCMAKE_CXX_COMPILER=/tmp/1/bin/clang++ \
>   -GNinja \
>   -DLLVM_USE_SANITIZER=Memory \
>   -DCMAKE_BUILD_TYPE=Release \
>   -DLLVM_ENABLE_ASSERTIONS=ON \
>   -DLLVM_ENABLE_RUNTIMES="'libcxx;libcxxabi'" \
>   -DLLVM_USE_LINKER="'lld'" \
>   /path/to/llvm/runtimes/ # <-------- Make sure this is *runtimes*, not llvm.
>   $ ninja cxx cxxabi

Thank you for help! On second step pointing to llvm-project/llvm/runtimes/ I got:

  CMake Error at CMakeLists.txt:29 (include):                                                                                   
    include could not find requested file:                                                                                      
                                                                                                                                
      LLVMExternalProjectUtils 
  ...
  CMake Error at CMakeLists.txt:379 (if):
    if given arguments:
  
      "openmp" "IN_LIST" "LLVM_ENABLE_RUNTIMES"
  
    Unknown arguments specified
                                                                                                   


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127812/new/

https://reviews.llvm.org/D127812



More information about the cfe-commits mailing list