osmesa-install icon indicating copy to clipboard operation
osmesa-install copied to clipboard

Documentation : indicate how to configure installer to download LLVM

Open jzy3d opened this issue 3 years ago • 0 comments

Thanks for this tool!

I suggest to change documentation to inform the user that it is better to let this installer download and build LLVM with export LLVM_BUILD=1. It took me a while before understanding it can do it on its own.

On Ubuntu 20, I can only sudo apt-get install llvm-7, or llvm-8, llvm-9, llvm-10. LLVM website does not provide info on how to install earlier versions of LLVM. The LLVM shell installer does not support earlier versions as well.

I tried working with llvm-9 as it is mentionned in console output but it provides the same result than the other : build fail as follow.

/usr/lib/llvm-9/include/llvm/ADT/ArrayRef.h:101:37: warning: initializing ‘llvm::ArrayRef<llvm::Value*>::Data’ from ‘std::initializer_list<llvm::Value*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
  CXX      rasterizer/common/libmesaswr_la-os.lo
  CXX      rasterizer/common/libmesaswr_la-rdtsc_buckets.lo
  CXX      rasterizer/common/libmesaswr_la-swr_assert.lo
make[5]: *** [Makefile:2888 : libmesaswr_la-swr_shader.lo] Erreur 1
make[5]: *** Attente des tâches non terminées....
make[5] : on quitte le répertoire « /home/martin/Dev/jzy3d/external/osmesa-install/mesa-18.3.6/src/gallium/drivers/swr »
make[4]: *** [Makefile:1892 : all] Erreur 2
make[4] : on quitte le répertoire « /home/martin/Dev/jzy3d/external/osmesa-install/mesa-18.3.6/src/gallium/drivers/swr »
make[3]: *** [Makefile:635 : all-recursive] Erreur 1
make[3] : on quitte le répertoire « /home/martin/Dev/jzy3d/external/osmesa-install/mesa-18.3.6/src/gallium »
make[2]: *** [Makefile:896 : all-recursive] Erreur 1
make[2] : on quitte le répertoire « /home/martin/Dev/jzy3d/external/osmesa-install/mesa-18.3.6/src »
make[1]: *** [Makefile:681 : all] Erreur 2
make[1] : on quitte le répertoire « /home/martin/Dev/jzy3d/external/osmesa-install/mesa-18.3.6/src »
make: *** [Makefile:693 : all-recursive] Erreur 1

jzy3d avatar Jan 10 '22 16:01 jzy3d