Use this tag for questions about llvmlite, a lightweight LLVM python binding for writing JIT compilers
Questions tagged [llvmlite]
59 questions
1
vote
3 answers
Error while installing turicreate using pip ...while building wheel for llvmlite
I am trying to install turicreate using pip install turicreate but receive the error below. I don't know what this error is telling me to do.
Someone in the comments asked if I installed llvm correctly. How would I do this?
I tried upgrading Scipy…

harshavardhan H R
- 39
- 1
- 2
1
vote
1 answer
Is llvmlite dependent on LLVM version or pip version?
This Question might sound strange ! But this is my observation.
I'm currently using Debian wheezy , it initially had python-pip 1.1 version. installing llvmlite with the above pip version requested for a LLVM_CONFIG path , Compatible versions of…

thiran509
- 11
- 2
1
vote
0 answers
Installing librosa on raspberry pi3
I am currently trying to install librosa and after days trying to figure it out I'm now quite helpless. I have tried several solutions, such as running librosa & numba on raspberry pi 3
and also https://stackoverflow.com/a/52941768/10499025
Neither…

Lola Pfeifer
- 21
- 4
1
vote
2 answers
produce binarycode from IR generate from llvmlite
Does anyone know if it is possible to have binary code from IR generated with llvmlite? in llvm, we can simply clang -emit-llvm -o foo.bc -c foo.c. What if I am using llvmlite?

user3126804
- 119
- 3
- 10
0
votes
1 answer
numba RuntimeError: No available targets are compatible with triple "arm-unknown-linux-gnu"
I am running a Python application on a Raspberry Pi (Model 4B - 8GB) and I am getting a runtime error. I had a lot of trouble even getting numba to run in the first place, because the available binary distribution of LLVM was too old (version 11),…

stackoverflowing321
- 333
- 4
- 14
0
votes
0 answers
how to install rembg module with pip and pass llvmlite error
when i want to install rembg module in anaconda prompt with pip , i got an error about 'llvmlite'
what should i do for solving this problem???
and I have this problem even to update the llvmlite module...
(base) C:\Users\Admin>pip install…

shayan
- 1
- 1
0
votes
1 answer
how can install llvm11 in an apline image?
I am trying to install top2vec in an alpine docker image. however it is throwing error that did not find llvm-config.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.8/132.8 kB 6.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Building…

Davood
- 353
- 4
- 14
0
votes
0 answers
LLVM IR to vectore representation
I am searching about " how to convert llvm IR into vector representation to be used as input for a deep learning model, I found some codes in which the IR converted by llvm pass ( code has been written in c++) , I want a method to be done by python…

Frank
- 21
- 1
0
votes
1 answer
Why is my LLVM IR program crashing when i print a variable only 1 time but not 2?
If I print the value of %".2" 1 time, the program crashes but when I print it 2 times it works, I don't understand why.
I think the problem is the _aligned_free function, is there any other solution to free the allocated memory? The program works…

Aus.
- 3
- 4
0
votes
0 answers
llvmlite: Implementing an i64 array copy function
I'm trying to implement a copy function that receives two pointers to source and destination arrays and an integer representing their length:
fcopy = ir.FunctionType(ir.PointerType(integer), [ir.PointerType(integer), ir.PointerType(integer),…

Max Turchin
- 1
- 1
0
votes
0 answers
Installing numba on raspberry pi
I am trying to install numba on raspberry pi python version 3.7.4 but I am having the following issue:
I am doing
sudo pip3.7 install numba==0.49.1
Is there any advice how to solve this issue? Thank you.

stracc
- 507
- 1
- 4
- 10
0
votes
0 answers
Troubles with the installing of package vectorbt in Python
I´m trying to install the package vectorbt by Jupyter Notebook using the command below:
!pip install vectorbt
Occurs that the process doesn´t conclude and the following message error appears after the results lines below:
"... Installing collected…

Marcel
- 1
- 3
0
votes
0 answers
llvmlite Global Variable Gets Pointerized when trying to access it with get_global
I am writing a compiler for a programming language I am making in python, I am also using llvmlite to generate ir and object files. For some reason when I use the mod.get_global function it returns the GlobalVariable but it pointerizes it. However…

Grigori Iakimenko
- 33
- 1
- 6
0
votes
0 answers
Calling Numba-generated PyCFunctionWithKeywords from Python
I serialized a jitted Numba function to a byte array and now want to deserialize and call it. This works fine for primitive data types with llvm_cfunc_wrapper_name:
import numba, ctypes
import llvmlite.binding as llvm
@numba.njit("f8(f8)")
def…

BlueSky
- 109
- 1
- 3
0
votes
1 answer
'PointerType' object has no attribute 'type'
I'm trying convert this raw LLVM code:
%UnwEx = type { i64, i8*, i64, i64 }
@UnwEx.size = constant i64 ptrtoint (%UnwEx* getelementptr (%UnwEx* null, i32 1) to i64)
To the llvmlite:
unw_ex = context.get_identified_type("UnwEx")
unw_ex.elements =…

David Ragazzi
- 300
- 2
- 6