Giter Club home page Giter Club logo

Comments (4)

pszymich avatar pszymich commented on July 30, 2024

Hi @hector-cao, this is most likely unrelated, but mixing LLVM versions (libllvmspirvlib-15 vs llvm-14) won't work. Can you retry building using all components on version 14? We also don't fully support building against system LLVM; building from sources is the preferred option.

from intel-graphics-compiler.

eero-t avatar eero-t commented on July 30, 2024

@hector-cao Please provide version of IGC you're building, as IGC has been building fine for me on 23.10.

mixing LLVM versions (libllvmspirvlib-15 vs llvm-14) won't work.

Yep. To build IGC on 23.10, I install following packages:

$ sudo apt install \
    libc-dev libz-dev libpng-dev libboost-all-dev \
    libnl-genl-3-dev ocl-icd-opencl-dev \
    git ca-certificates gcc g++ \
    pkg-config make cmake ninja-build \
    flex bison patch swig python3-mako valgrind \
    llvm-spirv-14 libllvmspirvlib-14-dev \
    clang-14 llvm-14-dev liblld-14-dev libopencl-clang-14-dev

(Valgrind is for optional Valgrind annotations.)

We also don't fully support building against system LLVM; building from sources is the preferred option.

It has worked fine for me, as long as I make sure that everything is built with the same LLVM version (as LLVM changes ABI between versions).

from intel-graphics-compiler.

eero-t avatar eero-t commented on July 30, 2024

@pszymich I think this can be closed:

  • Ubuntu does not support 23.10 any more
  • LLVM does not support mixing use of different LLVM versions (is not ABI/API compatible between them)

from intel-graphics-compiler.

pszymich avatar pszymich commented on July 30, 2024

Closing after 3 months of no response from ticket reporter.

from intel-graphics-compiler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.