[PATCH] D136906: [Clang][LoongArch] Implement __builtin_loongarch_dbar builtin

冀卓疌 via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 20 21:33:18 PST 2022


WowbaggersLiquidLunch added a comment.

Hi, this seems to be causing some problems when generating Xcode project.

When I try to generate the Xcode project with the following command:

  cmake -G "Xcode" -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_OPTIMIZED_TABLEGEN=ON -DLLVM_ENABLE_IDE=ON -DLLVM_CCACHE_BUILD=ON ../../llvm

I get the following error:

> CMake Error in /path/to/llvm-project/clang/lib/Headers/CMakeLists.txt:
>
>   The custom command generating
>   
>     /path/to/llvm-project/build/Xcode-Debug/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/lib/clang/16/include/larchintrin.h
>   
>   is attached to multiple targets:
>   
>     clang-resource-headers
>     loongarch-resource-headers
>   
>   but none of these is a common dependency of the other(s).  This is not
>   allowed by the Xcode "new build system".
>
> CMake Error in /path/to/llvm-project/third-party/benchmark/CMakeLists.txt:
>
>   The custom command generating
>   
>     /path/to/llvm-project/build/Xcode-Debug/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/lib/clang/16/include/larchintrin.h
>   
>   is attached to multiple targets:
>   
>     clang-resource-headers
>     loongarch-resource-headers
>   
>   but none of these is a common dependency of the other(s).  This is not
>   allowed by the Xcode "new build system".




Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136906



More information about the cfe-commits mailing list