Skip to content

LLVMSPIRVLib.h: No such file or directory #21117

@hpcpony

Description

@hpcpony

Describe the bug

/opt/Intel/Software/OneAPI/NVIDIA/6.3.0/llvm/llvm/tools/spirv-to-ir-wrapper/spirv-to-ir-wrapper.cpp:22:10: fatal error: LLVMSPIRVLib.h: No such file or directory
22 | #include "LLVMSPIRVLib.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.

To reproduce

git clone https://github.com/intel/llvm -b v6.3.0

cd llvm/llvm

cmake -S . -B build -DUR_BUILD_TESTS=OFF -DUR_ENABLE_TRACING=ON -DUR_BUILD_ADAPTER_CUDA=ON -DUR_BUILD_ADAPTER_HIP=OFF -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="NVPTX" -DCMAKE_INSTALL_PREFIX="/scr/oneapi/unified-runtime/install"

Environment

  • OS: rhel 9.7
  • Target device and vendor: NVPTX

Additional context

same problem in 6.2.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions