This series contains the changes split over 6 patches.
Patches 1-5 should be squashed when pushed, because 1-4 break the build.

I tested a build with llvmpipe, swr, radeonsi, r600 and radv.
I also tested what happens when no LLVM is installed, 
version < required is installed, not all targets/components are
installed or --disable-gallium-llvm was given to configure.
The build stop and gives the correct error to the user.

v2:
- Don't call functions recursively
- Rework LLVM version handling to make it more equal to other versions

Tobias Droste (6):
  configure.ac: Move LLVM related stuff to the top
  configure.ac: Add helper to add LLVM components/targets
  configure.ac: Move LLVM oCL checks to the oCL section
  configure.ac: Move gallium LLVM to the gallium section
  configure.ac: Rework radeon_llvm_check
  configure.ac: Add required LLVM versions to the top

 configure.ac | 450 +++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 250 insertions(+), 200 deletions(-)

-- 
2.10.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to