[Mesa-dev] [PATCH v5 00/20] configure.ac and llvm the 5th
Tobias Droste
tdroste at gmx.de
Sat Nov 19 01:38:52 UTC 2016
Patches 1-11 and 13-16 are only rebased, no change in functionality and have a reviewed by.
Patch 12 is changed based on review of Emil (I used "HAVE_GALLIUM_LLVM" instead of "USE_MESA_LLVM").
Patch 17 is changed based on review of Emil
Patch 18 is split in 18, 19 and 20 as these were independent changes
@Emil:
I resent the whole series because there was some rebasing todo.
You only need to look at 12, 17-20 the others are unchanged.
Sorry it took so long, but real life needed me :)
After each patch I made sure that these drivers:
r300,r600,radeonsi,radv,llvmpipe
either build or fail to configure under these conditions:
a) LLVM installed and version >= version required
--> build
b) LLVM not installed
--> fail to configure
c) LLVM installed and version < version required
--> fail to configure
d) LLVM installed, version >= version required but missing target/component
--> fail to configure
e) "enable-gallium-llvm" needed but "disable-gallium-llvm" used
--> fail to configure
I also made sure that i965 ("classic" dri driver) and softpipe build
regardless of the LLVM version or if LLVM is installed.
Tobias Droste (20):
configure.ac: Don't search llvm-config if it's known
configure.ac: Add helper function for targets/components
configure.ac: Use new llvm_add_default_components
configure.ac: Use new helper function for LLVM
configure.ac: Move LLVM version check to the top
configure.ac: Move LLVM functions to the top
configure.ac: Move llvm-config searching outside the function
configure.ac: Remove useless oCL LLVM check
configure.ac: Use short names for r600 und r300
configure.ac: Check gallium LLVM version in gallium_require_llvm
configure.ac: Remove swr_llvm_check()
configure.ac: Move llvm_set_environment_variables higher.
configure.ac: Move oCL LLVM checks to the oCL section
configure.ac: Move LLVM ac_subst closer to usage
configure.ac: Move radv check to the Vulkan section
configure.ac: Reorder arguments in radeon_llvm_check
configure.ac: Only add default LLVM components if needed
configure.ac: Add required LLVM versions to the top
configure.ac: Get complete LLVM version from header
configure.ac: Create correct LLVM_VERSION_INT with minor >= 10
configure.ac | 445 ++++++++++++++++------------
src/gallium/auxiliary/Makefile.am | 2 +-
src/gallium/targets/d3dadapter9/Makefile.am | 2 +-
src/gallium/targets/dri/Makefile.am | 2 +-
src/gallium/targets/libgl-xlib/Makefile.am | 2 +-
src/gallium/targets/omx/Makefile.am | 2 +-
src/gallium/targets/osmesa/Makefile.am | 2 +-
src/gallium/targets/pipe-loader/Makefile.am | 2 +-
src/gallium/targets/va/Makefile.am | 2 +-
src/gallium/targets/vdpau/Makefile.am | 2 +-
src/gallium/targets/xa/Makefile.am | 2 +-
src/gallium/targets/xvmc/Makefile.am | 2 +-
12 files changed, 267 insertions(+), 200 deletions(-)
--
2.10.2
More information about the mesa-dev
mailing list