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

[Issue]: fail to build hipBlasLt client #1561

Closed
zhangnju opened this issue Jan 16, 2025 · 2 comments
Closed

[Issue]: fail to build hipBlasLt client #1561

zhangnju opened this issue Jan 16, 2025 · 2 comments

Comments

@zhangnju
Copy link

Problem Description

when building hipBlasLt client, the below cmake issue happened.

-- CLIENT COMMON CXX_OPTIONS:
-- CLIENT COMMON LINK: OpenMP::OpenMP_CXX;-L/opt/rocm/llvm/lib;-Wl,-rpath=/opt/rocm/llvm/lib;Threads::Threads
-- Found ROCmSMI: /opt/rocm/lib/librocm_smi64.so
_CMake Error at clients/benchmarks/CMakeLists.txt:119 (find_package):
_Could not find a package configuration file provided by "LLVM" with any of
_the following names:

LLVMConfig.cmake
llvm-config.cmake

Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
"LLVM_DIR" to a directory containing one of the above files. If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.___

-- Configuring incomplete, errors occurred!

Operating System

ubuntu 22.04

CPU

AMD EPYC 9454 48-Core Processor

GPU

AMD Instinct MI250

Other

GPU:MI300X, Rocm:6.3, Docker: rocm/dev-ubuntu-22.04:6.3-complete

ROCm Version

ROCm 6.2.3

ROCm Component

hipBLASLt

Steps to Reproduce

  1. launch the docker rocm/dev-ubuntu-22.04:6.3-complete
  2. git pull the latest hipblasLT codes
  3. run ./install.sh -idc

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

@taylding-amd
Copy link

Hi @zhangnju, I reproduced the bug on my machine using the same Docker image. After installing LLVM with sudo apt install llvm-dev, I was able to compile successfully. Would you mind giving that a try?

@zhangnju
Copy link
Author

HI @taylding-amd Thanks for your reply. it can work. let me close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants