KhronosGroup / KhronosGroup/SPIR
Cannot build spirv compiler. What i am doing wrong?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 183
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
Hello
I am trying to build SPIRV compiler.
I think i do all according to instructions:
- git clone -b khronos/spirv-3.6.1 https://github.com/KhronosGroup/SPIRV-LLVM.git llvm
- cd llvm/tools
- git clone -b spirv-1.1 https://github.com/KhronosGroup/SPIR clang
- cd ../..
- mkdir build
- cd build
- ../llvm/configure --prefix=$PWD/done --enable-optimized --enable-targets=x86_64
- make
I get error during compiling:
make[2]: *** No rule to make target '/home/nick/opencl/build/Release+Asserts/lib/libLLVMSPIRVLib.a', needed by '/home/nick/opencl/build/Release+Asserts/bin/llvm-c-test'. Stop.
What i am doing wrong?
Besides that i was able to build older version of SPIR compiler from branch spir_12
But as i understand modern compiler is not a SPIR but SPIRV.. I think i should not study solution from older things..
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the listed SPIRV-LLVM checkout, llvm/configure command, and make invocation. Inspect the build configuration and the missing build/Release+Asserts/lib/libLLVMSPIRVLib.a dependency; the issue is resolved when the documented checkout and build sequence completes successfully or the required correction is identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100