Skip to content

Cannot build spirv compiler. What i am doing wrong? #44

Description

@marsohod4you

Hello

I am trying to build SPIRV compiler.
I think i do all according to instructions:

  1. git clone -b khronos/spirv-3.6.1 https://github.com/KhronosGroup/SPIRV-LLVM.git llvm
  2. cd llvm/tools
  3. git clone -b spirv-1.1 https://github.com/KhronosGroup/SPIR clang
  4. cd ../..
  5. mkdir build
  6. cd build
  7. ../llvm/configure --prefix=$PWD/done --enable-optimized --enable-targets=x86_64
  8. 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..

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions