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

setup_tools.sh failure #204

Open
LGarnet opened this issue Oct 19, 2022 · 10 comments
Open

setup_tools.sh failure #204

LGarnet opened this issue Oct 19, 2022 · 10 comments

Comments

@LGarnet
Copy link

LGarnet commented Oct 19, 2022

I have all the required packages and I've tried the python3 fix described in the readme, but upon running the script I get the following error:

CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:2471: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:2471 (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:2471: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:2471 (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:2471: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:2471 (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:2471: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:2471 (cmake_language)
  cmake/modules/LLVMExternalProjectUtils.cmake:239 (ExternalProject_Add_Step)
  runtimes/CMakeLists.txt:216 (llvm_ExternalProject_Add)
  runtimes/CMakeLists.txt:275 (builtin_default_target)
@jbush001
Copy link
Owner

jbush001 commented Oct 19, 2022 via email

@LGarnet
Copy link
Author

LGarnet commented Oct 19, 2022

this is on arch linux

@jbush001
Copy link
Owner

jbush001 commented Oct 19, 2022 via email

@LGarnet
Copy link
Author

LGarnet commented Oct 19, 2022

@jbush001
Copy link
Owner

Thanks! It looks like there are multiple failures in the log. Can you do cmake --version?

@LGarnet
Copy link
Author

LGarnet commented Oct 20, 2022

cmake version 3.24.1

@jbush001
Copy link
Owner

I'm afraid I'm a bit stumped. It appears a number of things are failing.

In the interim, there is a Docker image with the tool chain here: https://hub.docker.com/r/jeffbush001/nyuzi-build. The CI script demonstrates how to use it: https://github.com/jbush001/NyuziProcessor/blob/master/.github/workflows/ci.yml.

@LGarnet
Copy link
Author

LGarnet commented Oct 20, 2022

ah i see, thank you

@jbush001
Copy link
Owner

jbush001 commented Dec 3, 2022

This is actually an issue in https://github.com/jbush001/NyuziToolchain.

@loonggi
Copy link

loonggi commented Oct 15, 2023

I encountered the same issue and fixed it by changing cmake from version 3.26.3 to 3.16.3.

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

3 participants