Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TARGET_FILE:llvm-strip : build error #207

Closed
xingfeT opened this issue Jul 8, 2023 · 1 comment
Closed

TARGET_FILE:llvm-strip : build error #207

xingfeT opened this issue Jul 8, 2023 · 1 comment

Comments

@xingfeT
Copy link

xingfeT commented Jul 8, 2023

CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:2373:EVAL:2 (add_custom_command):
Error evaluating generator expression:

$<TARGET_FILE:llvm-ranlib>

Target "llvm-ranlib" is not an executable or library.
Call Stack (most recent call first):
/usr/share/cmake/Modules/ExternalProject.cmake:2373 (cmake_language)
cmake/modules/LLVMExternalProjectUtils.cmake:239 (ExternalProject_Add_Step)
runtimes/CMakeLists.txt:216 (llvm_ExternalProject_Add)
runtimes/CMakeLists.txt:275 (builtin_default_target)

CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:2373:EVAL:2 (add_custom_command):
Error evaluating generator expression:

$<TARGET_FILE:llvm-strip>

Target "llvm-strip" is not an executable or library.
Call Stack (most recent call first):
/usr/share/cmake/Modules/ExternalProject.cmake:2373 (cmake_language)
cmake/modules/LLVMExternalProjectUtils.cmake:239 (ExternalProject_Add_Step)
runtimes/CMakeLists.txt:216 (llvm_ExternalProject_Add)
runtimes/CMakeLists.txt:275 (builtin_default_target)

CMake Warning (dev) at cmake/modules/TableGen.cmake:72 (add_custom_command):
Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
add_custom_command(). Run "cmake --help-policy CMP0116" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
unittests/Option/CMakeLists.txt:8 (tablegen)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.

@jbush001
Copy link
Owner

jbush001 commented Jul 9, 2023

duplicate of #204

@jbush001 jbush001 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants