-
Notifications
You must be signed in to change notification settings - Fork 157
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
clangrt builtins lib not found #336
Comments
What was the resolution to this? I've encountered the same issue. |
I think this issue is normally encountered when using |
OK guess it is my job to find out then |
Sorry, I closed the issue because there was no response. |
The additional steps required when using open source intel/llvm are: After configuring as normal, e.g.
go to the generated build folder and adjust your CMakeCache.txt:
Then build intel/llvm as normal. then when building oneMKL compiler-rt should be found. |
A fix that worked for me was either:
Let me know if either of these work for you. Thanks. |
@muhammad-tanvir-1211 Neither of the above steps worked resulting in the error. Where as explicitly building the
|
I tried a bunch of these tricks. I tried to build LLVM on ORNL Crusher but either I had the wrong banch or the wrong C++ compiler or something, but I gave up after a couple of hours. |
Thank you for your solutions to the issue! |
Do users need to install additional library for building rocblas with DPC++ ?
-- CMAKE_BUILD_TYPE: None, set to Release by default
-- C compiler: icx was not found in PATH, using clang instead
-- The CXX compiler identification is Clang 17.0.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /path/to/dpcpp/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- TARGET_DOMAINS: blas
-- Looking for dpc++
-- Performing Test is_dpcpp
-- Performing Test is_dpcpp - Success
-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS
-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS - Failed
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- hip::amdhip64 is SHARED_LIBRARY
CMake Error at /opt/rocm/hip/lib/cmake/hip/hip-config.cmake:331 (message):
clangrt builtins lib not found
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/opt/rocm/lib/cmake/rocblas/rocblas-config.cmake:90 (find_dependency)
cmake/FindrocBLAS.cmake:36 (find_package)
src/blas/backends/rocblas/CMakeLists.txt:24 (find_package)
The text was updated successfully, but these errors were encountered: