<div dir="ltr"><div>Package: src:llvm-toolchain-14</div><div>Version: 1:14.0.6-10</div><div>Distro: debian bookworkm<br></div><div><br></div><div>I want to cross-compile simple CMake project to mipsel in x86_64 machine. I found than I cannot co-install LLVM versions from different architectures by apt into one Debian machine. Even when I do not need llvm-config and any of llvm binaries of mipsel architecture, only libraries and CMake files, I cannot install llvm-14-dev:mipsel, because it depends on llvm-14:mipsel, where all binaries are packaged, and llvm-14:mipsel conflicts with llvm-14:amd64.</div><div><br></div><div>If all libraries and cmake files will be installed in /usb/lib/DEB_HOST_MULTIARCH/, and will not depend on binaries (or depend on binaries of "native" arch, if it is absolutely required), then CMake projects can be compiled and packaged by cross-building with LLVM.</div><div><br></div><div>For now, it is not possible.</div><div><br></div><div>I found a similar bug, <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897275">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897275</a>, as wontfix. But they are requesting a pkg-config file, which I do not need, I want only better packaging, when I can use LLVM to cross-compile CMake packages by installing it using APT without dirty hacks.</div></div>