[PATCH] D125052: [HLSL] Enable vector types for hlsl.
Shubham Sandeep Rastogi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 1 23:28:05 PDT 2022
rastogishubham added a comment.
Hi, this patch causes an issue with the CMake Xcode build configuration, if I try to use xcode as the generator with CMake, using the build command:
xcrun cmake -G Xcode -DCMAKE_BUILD_TYPE:STRING=Debug -DLLVM_ENABLE_ASSERTIONS:BOOL=TRUE -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DLLVM_ENABLE_PROJECTS='clang;' -DCMAKE_IGNORE_PATH="/usr/lib;/usr/local/lib;/lib" -DLLVM_TARGETS_TO_BUILD="X86;ARM;AArch64" ../llvm
I get:
CMake Error in /Users/shubham/Development/llvm-project/clang/lib/Headers/CMakeLists.txt:
The custom command generating
/Users/shubham/Development/llvm-project/build/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/lib/clang/15.0.0/include/hlsl.h
is attached to multiple targets:
hlsl-resource-headers
clang-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 /Users/shubham/Development/llvm-project/third-party/benchmark/CMakeLists.txt:
The custom command generating
/Users/shubham/Development/llvm-project/build/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/lib/clang/15.0.0/include/hlsl.h
is attached to multiple targets:
hlsl-resource-headers
clang-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 Generate step failed. Build files cannot be regenerated correctly.
This is similar to the issue that was found in this patch: https://reviews.llvm.org/D123498
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125052/new/
https://reviews.llvm.org/D125052
More information about the cfe-commits
mailing list