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

./scripts/setup_tools.sh error on MAC M1 #205

Closed
lgdu opened this issue Nov 2, 2022 · 2 comments
Closed

./scripts/setup_tools.sh error on MAC M1 #205

lgdu opened this issue Nov 2, 2022 · 2 comments

Comments

@lgdu
Copy link

lgdu commented Nov 2, 2022

Hi,
I got these errors when i run ./scripts/setup_tools.sh on MAC M1 Platform.

CMake Error at /opt/homebrew/Cellar/cmake/3.24.2/share/cmake/Modules/ExternalProject.cmake:2474: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):
  /opt/homebrew/Cellar/cmake/3.24.2/share/cmake/Modules/ExternalProject.cmake:2474 (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 /opt/homebrew/Cellar/cmake/3.24.2/share/cmake/Modules/ExternalProject.cmake:2474: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):
  /opt/homebrew/Cellar/cmake/3.24.2/share/cmake/Modules/ExternalProject.cmake:2474 (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 /opt/homebrew/Cellar/cmake/3.24.2/share/cmake/Modules/ExternalProject.cmake:2474: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):
  /opt/homebrew/Cellar/cmake/3.24.2/share/cmake/Modules/ExternalProject.cmake:2474 (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 /opt/homebrew/Cellar/cmake/3.24.2/share/cmake/Modules/ExternalProject.cmake:2474: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):
  /opt/homebrew/Cellar/cmake/3.24.2/share/cmake/Modules/ExternalProject.cmake:2474 (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 Nov 4, 2022

Looks like the same issue as #204, except that was on Linux and this is on Mac. I'm guessing perhaps an incompatible change in a newer version of cmake or some other tool.

@jbush001
Copy link
Owner

jbush001 commented Dec 3, 2022

duplicate of #204

@jbush001 jbush001 closed this as completed Dec 3, 2022
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