-
Hi, I'm trying to build DPC++ with following options: -DLLVM_ENABLE_RUNTIMES=openmp then running from buildbot/
and
After that (from the build directory):
Produces: file INSTALL cannot find
"/home/tapio/PROJECT/repositories/llvm_oneapi_T/llvm/third-party-programs.txt":
No such file or directory.
Call Stack (most recent call first):
_deps/unified-runtime-build/source/common/cmake_install.cmake:47 (include)
_deps/unified-runtime-build/source/cmake_install.cmake:47 (include)
_deps/unified-runtime-build/cmake_install.cmake:56 (include)
tools/sycl/cmake_install.cmake:47 (include)
tools/cmake_install.cmake:532 (include)
cmake_install.cmake:127 (include)
FAILED: CMakeFiles/install.util
cd /home/tapio/PROJECT/repositories/llvm_oneapi_T/build && /usr/bin/cmake -P cmake_install.cmake
ninja: build stopped: subcommand failed. Despite this error, up until last week I have been able to compile and offload SYCL code, but doing a fresh build today there seems to be an issue with missing libLLVMSPIRVLib.so. More specifically, this library seems to exist in the /lib of the build path, but it never makes it to the /lib of the installation path. So, any ideas how to prevent the error shown above (I assume that is preventing some of the libraries being copied to the installation path)? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
What do you expect from building BTW, |
Beta Was this translation helpful? Give feedback.
-
Thanks, this explains it! |
Beta Was this translation helpful? Give feedback.
Okay, now I see the problem. You link LLVM libraries dynamically. It's not recommended for users.
See LLVM's documentation - https://llvm.org/docs/CMake.html#llvm-related-variables
LLVM shared libraries are not installed. Installation logic assumes that LLVM libraries are linked statically.