Re: Problem compiling Mesa on CentOS 8.3
Aki Ketolainen <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
On 2021-03-18 19:45, Aki Ketolainen wrote: > Hi, > > I got this problem resolved by compiling llvm 7.0.1 on CentOS 8.3. It's > a pretty big task as the disk space that > it took was 30 gigs for the compilation and 22 gigs for the target > install part. I chose the 7.0.1 version because > that's what I had on CentOS 7. > > Now I don't get that "Assertion 'get() != pointer()' failed" error but > the Kivy application opens and works correctly in the X2go session. > > Best regards, > > Aki Ketolainen > Turku, Finland > _______________________________________________ > mesa-users mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/mesa-users Hi, It's possible to make the llvm disk space requirements much lower with the following cmake options and using strip on the compiled files: tar -xf /root/llvm-7.0.1.src.tar.xz --no-same-owner cd /root/llvm-7.0.1.src mkdir build cd build cmake -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_LLVM_DYLIB=on /root/llvm-7.0.1.src cmake --build . cmake -DCMAKE_INSTALL_PREFIX=/opt/llvm/7.0.1 -P cmake_install.cmake strip /opt/llvm/7.0.1/bin/* strip --strip-unneeded /opt/llvm/7.0.1/lib/*.a /opt/llvm/7.0.1/lib/*.so.* Best regards, Aki Ketolainen Turku, Finland _______________________________________________ mesa-users mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-users