summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'public/master' into vulkanJason Ekstrand2016-04-151-16/+35
|\
| * configure: Add support for the Intel Vulkan driverJason Ekstrand2016-04-151-0/+63
| | | | | | | | | | | | | | | | | | | | This adds a --with-vulkan-drivers option with one driver, "intel". In the future, we may add more drivers to this list. v2: Don't enable any drivers by default. This should prevent this patch from breaking anyone's build. Reviewed-by: Kenneth Graunke <[email protected]>
| * gallium/swr: confine c++11 flag to swr driverTim Rowley2016-04-151-2/+7
| | | | | | | | | | | | | | | | On the philosophy that a driver shouldn't change the compile flags for the entire tree, take the clove approach of moving the c++11 flag to the swr driver directory. Reviewed-by: Emil Velikov <[email protected]>
| * gallium/swr: allow swr use as a swrast dri driverTim Rowley2016-04-151-0/+3
| | | | | | | | | | Reviewed-by: Emil Velikov <[email protected]> Tested-by: Ilia Mirkin <[email protected]>
| * configure: Add support for detecting valgrind headersJason Ekstrand2016-04-151-0/+21
| | | | | | | | | | | | | | | | We have several places where the Vulkan driver explicitly hooks into valgrind when it's available. We need to be able to detect it. Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* | Merge remote-tracking branch 'public/master' into vulkanJason Ekstrand2016-04-141-2/+0
|\|
| * gallium/swr: fold the almost identical MakefilesEmil Velikov2016-04-141-2/+0
| | | | | | | | | | | | | | | | | | | | | | Rather than having two almost identical Makefiles, with various VPATH hacks just fold them, using COMMON_* variables and actually getting things buildable/shipable. v2: whitespace fixes, remove Makefile.sources-arch Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Tim Rowley <[email protected]>
* | configure: Add initial support for enabling Vulkan driversJason Ekstrand2016-04-141-2/+66
| |
* | Merge remote-tracking branch 'public/master' into vulkanJason Ekstrand2016-04-131-2/+2
|\|
| * configure.ac: update the path of the generated filesEmil Velikov2016-04-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | ... in order to determine if we need bison/flex. Failing to locate the files will lead to mandating bison/flex even when building from a release tarball. CC: "11.2" <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Acked-by: Jason Ekstrand <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* | Merge remote-tracking branch 'public/master' into vulkanJason Ekstrand2016-03-241-16/+5
|\|
| * r600g: remove TGSI->LLVM translationMarek Olšák2016-03-201-14/+1
| | | | | | | | | | | | | | | | | | | | It was useful for testing and as a prototype for radeonsi bringup, but it's not used anymore and doesn't support OpenGL 3.3 even. v2: try to fix OpenCL build Reviewed-by: Nicolai Hähnle <[email protected]> Tested-by: Jan Vesely <[email protected]>
| * configure.ac: enable_asm=yes when x-compiling across same X86 archDongwon Kim2016-03-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, configure script is forcing 'enable_asm' to be 'no' whenever cross-compilation is performed on X86 host. This is based on an assumption that target architecture is different from host's (i.e. ARM). But there's always a case that we do cross-compilation for target that is also X86 based just like host in which same ASM codes will be supported. 'enable_asm' should not be forced to be "no" anymore in this case. v2: corrected commit message Reviewed-by: Matt Turner <[email protected]> Signed-off-by: Dongwon Kim <[email protected]>
* | Merge remote-tracking branch 'public/master' into vulkanJason Ekstrand2016-03-151-1/+40
|\|
| * configure.ac: require libdrm 2.4.66 for drmGetDeviceMarek Olšák2016-03-141-1/+1
| | | | | | | | | | | | since 737b6ed13e8f813987b5566004f0f45e9c55f1e8 src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c no longer compiles: error: unknown type name ‘drmDevicePtr’
| * st/mesa: conditionally enable GL_NV_vdpau_interopChristian König2016-03-081-0/+1
| | | | | | | | | | | | | | Only enable it when we compile the state tracker as well. Signed-off-by: Christian König <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
| * mesa/build: add OpenSWR to buildTim Rowley2016-03-021-0/+38
| | | | | | | | | | | | | | Tested on Linux (centos, ubuntu, and suse variants) Reviewed-by: Emil Velikov <[email protected]> Acked-by: Jose Fonseca <[email protected]>
* | Merge remote-tracking branch 'origin/master' into vulkanKristian Høgsberg Kristensen2016-02-241-1/+4
|\|
| * freedreno: query max gpu freqRob Clark2016-02-171-1/+1
| | | | | | | | | | | | | | | | This will be needed to support converting from cycle counts to time for performance related queries (initially time-elapsed, but there are some additional performance counters that could be wired up). Signed-off-by: Rob Clark <[email protected]>
| * configure: Bail out on llvm-config component errorJan Vesely2016-02-161-0/+3
| | | | | | | | | | Signed-off-by: Jan Vesely <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
* | Move the intel vulkan driver to src/intel/vulkanJason Ekstrand2016-02-181-2/+2
| |
* | Move isl to src/intelJason Ekstrand2016-02-181-1/+1
| |
* | vulkan: Move XML and generator into src/intel/genxmlJason Ekstrand2016-02-181-0/+2
| |
* | anv: Make driver and icd file installableKristian Høgsberg Kristensen2016-02-161-1/+0
| | | | | | | | | | | | | | Change the name of the .so to libvulkan_intel.so and add an installable icd with the installed paths. Keep the icd file with build-tree paths, but rename to dev_icd.json to make it clear that it's for development purposes.
* | Merge remote-tracking branch 'mesa-public/master' into vulkanJason Ekstrand2016-02-111-8/+2
|\|
| * configure: Eliminate MSVC2008 compatibility.Jose Fonseca2016-02-111-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We no longer need to build any part of Mesa with Windows SDK 7.0.7600 or MSVC 2008. MSVC 2013 will be the oldest we support. In practice this means people are now free to declare variables in the middle of blocks, on the whole Mesa tree. Care should still be taken with variable length arrays and void pointer arithmetic. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Hella-acked-by: Ian Romanick <[email protected]>
| * gallium/radeon: drop support for LLVM 3.5Marek Olšák2016-02-111-1/+1
| | | | | | | | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> v2: adjust the comment in the amdgpu winsys
* | Merge remote-tracking branch 'mesa-public/master' into vulkanJason Ekstrand2016-02-051-0/+5
|\|
| * configure.ac: don't require EGL/DRM and GBM if OpenGL is disabledMarek Olšák2016-01-261-0/+5
| | | | | | | | | | | | | | This allows building VDPAU/OMX/VA drivers without OpenGL and its dependencies. Reviewed-by: Michel Dänzer <[email protected]>
* | Merge commit mesa-public/master into vulkanJason Ekstrand2016-02-051-1/+1
|\| | | | | | | This pulls in the patches that move all of the compiler stuff around
| * glsl: move to compiler/Emil Velikov2016-01-261-1/+0
| | | | | | | | | | | | Signed-off-by: Emil Velikov <[email protected]> Acked-by: Matt Turner <[email protected]> Acked-by: Jose Fonseca <[email protected]>
| * compiler: introduce a libcompiler static libraryEmil Velikov2016-01-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently it's an empty library, although it'll be used to store common code between GLSL and NIR that is compiler specific (rather than generic as the one in src/util). XXX: strictly speaking we could add a python/mako parser to generate the relevant files instead including builtin_type_macros.h in such a manner. Signed-off-by: Emil Velikov <[email protected]> Acked-by: Matt Turner <[email protected]> Acked-by: Jose Fonseca <[email protected]>
* | Merge ../mesa into vulkanKristian Høgsberg Kristensen2016-01-121-1/+1
|\| | | | | | | | | Merge master again to get the brw_device_info with the correct slice counts for KBL.
| * configure.ac: always define __STDC_CONSTANT_MACROSOded Gabbay2016-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ISO C99 standard (7.18.4) specifies that C++ implementations should define UINT64_C only when __STDC_CONSTANT_MACROS is defined. Because we now use UINT64_C in our cpp files (since commit 208bfc493debe0344d0b9cb93975981f14412628), we need to add this define. This also solves compilation errors with GCC 4.8.x on ppc64le machines. v2: add this define to SCons build system Signed-off-by: Oded Gabbay <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
* | Merge ../mesa into vulkanKristian Høgsberg Kristensen2016-01-081-0/+76
|\|
| * configure.ac: add --enable-profileOded Gabbay2016-01-081-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For profiling mesa's code, especially llvmpipe, PROFILE should be defined. Currently, this define can only be generated if mesa is built using scons. This patch makes it possible to generate this define also when building mesa through automake tools. v2: - Change --enable-llvmpipe-profile to --enable-profile - Add -fno-omit-frame-pointer to CFLAGS and CXXFLAGS when enabling profile Signed-off-by: Oded Gabbay <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
| * configure.ac: Detect if running on POWER8 archOded Gabbay2016-01-061-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To determine if we could use special POWER8 assembly directives, we first need to detect whether we are running on POWER8 architecture. This patch adds this detection to configure.ac and adds the necessary compilation flags accordingly. v2: - Add option to disable POWER8 instructions generation - Detect whether building on BE or LE machine and build with -mpower8-vector only on LE machine - Make the printed messages more standard Signed-off-by: Oded Gabbay <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
* | Merge remote-tracking branch 'mesa-public/master' into vulkanJason Ekstrand2015-12-271-10/+15
|\| | | | | | | This pulls in tessellation and the store_var changes that go with it.
| * nouveau: bump required libdrm version to 2.4.66Ben Skeggs2015-12-221-2/+2
| | | | | | | | | | | | | | | | | | v2. forgot bump for non-gallium driver Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Tested-by: Samuel Pitoiset <[email protected]>
| * configura.ac: fix test for SSE4.1 assembler supportOded Gabbay2015-12-171-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch modifies the SSE4.1 test in configure.ac to use a global variable to initialize vector variables. In addition, we now return the value of the computation instead of 0. This is done so gcc 4.9 (and lower) won't optimize the SSE4.1 assembly instructions (when using -O1 and higher), because then the configure test might incorrectly pass even though the assembler doesn't support the SSE4.1 instructions (the test will pass because the compiler does support the intrinsics). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91806 Cc: "11.0 11.1" <[email protected]> Signed-off-by: Oded Gabbay <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
| * configure: check for python2.7 for PYTHON2Jonathan Gray2015-12-171-1/+1
| | | | | | | | | | | | | | | | | | Check for a 'python2.7' binary, 'python' and 'python2' are not provided by the OpenBSD python 2.7.x packages. Signed-off-by: Jonathan Gray <[email protected]> Cc: "11.0 11.1" <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
| * configure.ac: use pkg-config for libelfJonathan Gray2015-12-171-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | Use PKG_CHECK_MODULES to get the flags to link libelf v2: keep AC_CHECK_LIB as a fallback for elfutils provided libelf that doesn't install a pkg-config file. Signed-off-by: Jonathan Gray <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Tested-by: Michel Dänzer <[email protected]> Cc: "11.0 11.1" <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* | isl: Move it a standalone directoryChad Versace2015-12-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The plan all along was to eventualyl move isl out of the Vulkan directory, because I intended i965 and anvil to share it. A small problem I encountered when attempting to write unit tests for isl precipitated the move. I discovered that it's easier to get isl unit tests to build if I remove the extra, unneeded dependencies injected by src/vulkan/Makefile.am. And the easiest way to remove those unneeded dependencies is to move isl out of src/vulkan. (Unit tests come in subsequent commits).
* | Merge remote-tracking branch 'mesa-public/master' into vulkanJason Ekstrand2015-12-101-0/+7
|\| | | | | | | | | This pulls in nir_intrinsic_load/store changes and the switch of all uniforms in i965 to bytes. This accounts for the Vulkan changes.
| * configure.ac: Refuse to build with Sun C compiler.Jose Fonseca2015-12-021-0/+7
| | | | | | | | | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=93189 Reviewed-by: Matt Turner <[email protected]> Tested-by: Vinson Lee <[email protected]> Acked-by: Alan Coopersmith <[email protected]>
* | Merge remote-tracking branch 'mesa-public/master' into vulkanJason Ekstrand2015-11-231-42/+32
|\| | | | | | | This pulls in nir cloning and some much-needed upstream refactors.
| * configure.ac: default to disabled dri3 when --disable-dri is setEmil Velikov2015-11-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Not too long ago, the dri3 code was living in src/glx, which in itself was guarded by HAVE_DRI_GLX. As the name suggests we didn't dive into the folder when dri was disabled, thus we missed that dri3 does not consider/honour --enable-dri. Cc: [email protected] Fixes: 6bd9ba7d074 "loader: Add dri3 helper" Cc: Pali Rohár <[email protected]> Reported-by: Pali Rohár <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
| * vc4: Just put USE_VC4_SIMULATOR in DEFINES.Eric Anholt2015-11-221-1/+3
| | | | | | | | | | | | | | | | In the pipe-loader reworks, it was missed in one of the new directories it was used. Cc: [email protected] Reviewed-by: Emil Velikov <[email protected]>
| * automake: remove no longer needed HAVE_LOADER_GALLIUM conditionalEmil Velikov2015-11-211-30/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of last few commits we have a static and dynamic pipe-loader. Either of which will be used with (almost) all targets.. We can look into allowing the user to select which way the targets are built, be that 'static for all' or 'per target' in follow up commits. After which we can look into building only the static or dynamic version, although building both shouldn't cause any issues. Hack/workaround alert: Control the standalone pipe-drivers via HAVE_CLOVER. Will need to be fixed as the targets are converted/configure knobs are in. Signed-off-by: Emil Velikov <[email protected]> Acked-by: Rob Clark <[email protected]>
| * pipe-loader: remove HAVE_DRM_LOADER_GALLIUM and HAVE_PIPE_LOADER_DRMEmil Velikov2015-11-211-9/+0
| | | | | | | | | | | | | | | | | | | | | | ... in favour of HAVE_LIBDRM. After all we solely want to build the code when the latter is available. In the not too distant future we will remove the libudev/sysfs dependency and simplify configure.ac even further. Signed-off-by: Emil Velikov <[email protected]> Acked-by: Rob Clark <[email protected]>