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

LLVM macos pipeline error #680

Closed
ksaur opened this issue Feb 3, 2023 · 4 comments · Fixed by #681
Closed

LLVM macos pipeline error #680

ksaur opened this issue Feb 3, 2023 · 4 comments · Fixed by #681

Comments

@ksaur
Copy link
Collaborator

ksaur commented Feb 3, 2023

Pipeline cache expired, triggering a TVM rebuild.

While installing TVM in pipeline:

-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) 
-- Use llvm-config=/usr/local/opt/llvm@14/bin/llvm-config --link-static
CMake Error at cmake/utils/FindLLVM.cmake:76 (message):
  Fatal error executing: /usr/local/opt/llvm@14/bin/llvm-config --link-static
  --libfiles
Call Stack (most recent call first):
  cmake/modules/LLVM.cmake:[31](https://github.com/microsoft/hummingbird/actions/runs/4009447455/jobs/7046411881#step:16:32) (find_llvm)
-- Configuring incomplete, errors occurred!
  CMakeLists.txt:475 (include)
See also "/Users/runner/work/hummingbird/tvm/build/CMakeFiles/CMakeOutput.log".
@ksaur
Copy link
Collaborator Author

ksaur commented Feb 3, 2023

CC: @mshr-h - Is this something you have seen before?
I was looking for the last successful rebuild of this in the Action history, but I think it expired

@mshr-h
Copy link
Collaborator

mshr-h commented Feb 5, 2023

I haven't seen any similar error. I'll take a look at it.

@mshr-h
Copy link
Collaborator

mshr-h commented Feb 6, 2023

The macOS 12 image has LLVM 15 by default. When building TVM with LLVM@15, we got zstd link error.
By installing LLVM@14 and using it, the problem was solved.

@ksaur
Copy link
Collaborator Author

ksaur commented Feb 6, 2023

The macOS 12 image has LLVM 15 by default. When building TVM with LLVM@15, we got zstd link error.
By installing LLVM@14 and using it, the problem was solved.

Interesting. Thanks so much for the investigation and temp fix!

@ksaur ksaur closed this as completed in #681 Feb 6, 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

Successfully merging a pull request may close this issue.

2 participants