Comments (4)
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.
@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.
@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.
Closing after 3 months of no response from ticket reporter.
from intel-graphics-compiler.
Related Issues (20)
- Error! Loading of FCL library has failed! Filename: libigdfcl.so.1
- CMake doesn't handle the case when multiple `opencl-c.h` are found
- Internal compiler error when building LLVM along with IGC HOT 3
- celeron n2920 cpu ,can it supported by vulkan or need to build something.its currently on windows 11 and support wsl. HOT 1
- Assertion failure compiling code calling log10f HOT 2
- Assertion failure
- Build broken on Ubuntu noble due to redefining -D_FORTIFY_SOURCE HOT 2
- Does this repo support Arc 770? HOT 1
- G4 verification failure HOT 1
- Undefined reference in ocloc when compiling compute-runtime HOT 3
- Null pointer dereference is not possible due to preconditions. HOT 1
- genx_volatile-attributed globals pointers can indeed be used by bitcast (constant expressions or in instruction form) before being used in genx.vload/vstore.
- Undefined Behavior in a call to TranslateImpl() HOT 2
- cmake error with cmakelists HOT 1
- 1.0.16747.5: not ready for latest LLVM 18.1.5 (it wants two years old 14.0.6) HOT 8
- Lowering test for llvm.bitreverse for 2/4-bit scalars fails on GPU HOT 1
- Building IGC and LLVM from source with `-static-libgcc` and `-static-libstdc++` produces libs of several gigabytes in size
- vcb segfaults building with musl HOT 2
- Build error BuiltinTranslator.cpp:124: undefined reference to llvm::GenXIntrinsic::getGenXDeclaration
- Need help for using IGC and NEO HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intel-graphics-compiler.