llvm 64 bit and 32 bit installed at the same time for mesa?
Reggie Wong
zerosportslegacy at yahoo.com
Wed Mar 20 23:52:54 UTC 2024
Hi, is it possible to have llvm (for llvm -config) to have 64 bit and 32 bit installed for mesa? I'm using chrome os crostini default debian bookworm container.
64 bit build of mesa installs fine and it has llvm enabled. 32 bit build of mesa with crossfile like below"
# gcc-i686
[binaries]
c = '/usr/bin/gcc'
cpp = '/usr/bin/g++'
ar = '/usr/bin/gcc-ar'
strip = '/usr/bin/strip'
pkgconfig = '/usr/bin/i686-linux-gnu-pkg-config'
llvm-config = '/usr/bin/llvm-config-16'
[built-in options]
c_args = ['-m32']
c_link_args = ['-m32']
cpp_args = ['-m32']
cpp_link_args = ['-m32']
[host_machine]
system = 'linux'
cpu_family = 'x86'
cpu = 'i686'
endian = 'little'
when building mesa 32 bit it finds llvm but stops with an error.
I believe it's because i don't have llvm-16:i386 installed. However trying to install it, it wants to remove some python packages and even llvm-16 ? If i let it do that, i can no longer compile 32 bit mesa because i'm missing python packages and installing that messes up my system more.
How can I go about installing llvm-16:i386 without removing any other packages?
More information about the mesa-users
mailing list