- 26 Oct, 2018 1 commit
-
-
Brian Paul authored
This reverts commit a5fd54f8. The whole point was to add a way to pass -DVMX86_STATS to the build, but we can do that with a command line argument when we invoke scons. Reviewed-by:
José Fonseca <jfonseca@vmware.com>
-
- 16 Aug, 2018 2 commits
-
-
Dylan Baker authored
v2: - Use distutils to do the version checking Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107565Acked-by:
Eric Engestrom <eric.engestrom@intel.com> Reviewed-by:
Jose Fonseca <jfonseca@vmware.com>
-
Dylan Baker authored
less than 2.7 is not supported. v2: - Remove check for python >= 2.0, since we've already enforced 2.7 Reviewed-by:
Eric Engestrom <eric.engestrom@intel.com> Reviewed-by:
Jose Fonseca <jfonseca@vmware.com>
-
- 17 Jun, 2018 1 commit
-
-
Timothy Arceri authored
ARB_texture_float references US Patent #6,650,327 [1] which has a filing date of June 16 1998. According to [2], patents filed after 1995 expire 20 years from the filing date, giving an expiration of June 17 2018. [1] https://www.google.com/patents/US6650327 [2] https://en.wikipedia.org/wiki/Term_of_patent_in_the_United_StatesReviewed-by:
Matt Turner <mattst88@gmail.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
- 23 Mar, 2018 1 commit
-
-
Eric Engestrom authored
Cc: Maxin B. John <maxin.john@gmail.com> Cc: Khem Raj <raj.khem@gmail.com> Cc: Rob Herring <robh@kernel.org> Suggested-by:
Jon Turney <jon.turney@dronecode.org.uk> Signed-off-by:
Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Dylan Baker <dylan@pnwbakers.com> Cc: <mesa-stable@lists.freedesktop.org>
-
- 19 Mar, 2018 1 commit
-
-
Jose Fonseca authored
We've seen this fail internally. Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
-
- 16 Nov, 2017 1 commit
-
-
Nicolai Hähnle authored
Tested with Travis and Appveyor. v2: add HAVE_TIMESPEC_GET for non-Windows Scons builds v3: use check_functions in Scons (Eric) Cc: Rob Herring <robh@kernel.org> Cc: Alexander von Gluck IV <kallisti5@unixzen.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103674 Fixes: f1a36487 ("threads: update for late C11 changes") Reviewed-by:
Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by:
Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk> (v2)
-
- 25 Sep, 2017 2 commits
-
-
Eric Engestrom authored
These changes were generated using python's `2to3` tool. Signed-off-by:
Eric Engestrom <eric.engestrom@imgtec.com>
-
Eric Engestrom authored
These changes were generated using python's `2to3` tool. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102852Reported-by:
Alex Granni <liviuprodea@yahoo.com> Signed-off-by:
Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by:
Jose Fonseca <jfonseca@vmware.com>
-
- 03 Sep, 2017 1 commit
-
-
Eric Engestrom authored
Glibc 2.26 has dropped xlocale.h, but the functions needed (strtod_l() and strdof_l()) can be found in stdlib.h. Improve the detection method to allow newer builds to still make use of the locale-setting. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102454 Cc: Laurent Carlier <lordheavym@gmail.com> Cc: Emil Velikov <emil.l.velikov@gmail.com> Cc: Rob Herring <robh@kernel.org> Signed-off-by:
Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by:
Laurent Carlier <lordheavym@gmail.com> Reviewed-by:
Jose Fonseca <jfonseca@vmware.com>
-
- 14 Jul, 2017 1 commit
-
-
Eric Engestrom authored
Signed-off-by:
Eric Engestrom <eric.engestrom@imgtec.com>
-
- 06 Jul, 2017 1 commit
-
-
Vinson Lee authored
Don't assume the header is present on some platforms - use the more robust CheckHeader() instead. glibc 2.26 removed xlocale.h. https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27 Fix this build error with glibc 2.26. Compiling src/util/strtod.c ... src/util/strtod.c:32:10: fatal error: xlocale.h: No such file or directory #include <xlocale.h> ^~~~~~~~~~~ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101657Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Cc: mesa-stable@lists.freedesktop.org Reviewed-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Eric Engestrom <eric.engestrom@imgtec.com> Tested-by:
Eric Engestrom <eric.engestrom@imgtec.com>
-
- 15 Mar, 2017 1 commit
-
-
Emil Velikov authored
We'll be using the drmGetDevice[s]2 API in src/loader with next patch. v2: Rebase. Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> (v1) Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (v1) Tested-by:
Mike Lothian <mike@fireburn.co.uk>
-
- 13 Feb, 2017 2 commits
-
-
Emil Velikov authored
Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Matt Turner <mattst88@gmail.com>
-
Emil Velikov authored
Noticed while skimming through, although admittedly there's many other dependencies that are not tracked by the scons build. Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Matt Turner <mattst88@gmail.com>
-
- 27 Jan, 2017 1 commit
-
-
Emil Velikov authored
Analogous to previous commit - just set the lot once throughout. Cc: Jose Fonseca <jfonseca@vmware.com> Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by:
Jose Fonseca <jfonseca@vmware.com>
-
- 18 Jan, 2017 1 commit
-
-
Emil Velikov authored
We must make sure that xserver has an equivalent one-line change to its configure.ac as the glx/glapi headers get copied over. Then again, xserver does _not_ seem to set HAVE_ALIAS to begin with so one might want to look into that first. Cc: Adam Jackson <ajax@redhat.com> Signed-off-by:
Emil Velikov <emil.velikov@collabora.com>
-
- 25 Oct, 2016 1 commit
-
-
Vinson Lee authored
configure.ac already requires 2.4.66. Fix SCons build. drmDevicePtr is not available until libdrm 2.4.65. Compiling src/loader/loader.c ... src/loader/loader.c:111:40: error: unknown type name ‘drmDevicePtr’ static char *drm_construct_id_path_tag(drmDevicePtr device) ^ Fixes: 4a183f4d ("scons: loader: use libdrm when available") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98421Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Vedran Miletić <vedran@miletic.net>
-
- 18 Oct, 2016 1 commit
-
-
Emil Velikov authored
Analogous to previous automake/autoconf commit. Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Axel Davy <axel.davy@ens.fr> Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com>
-
- 26 Aug, 2016 1 commit
-
-
Charmaine Lee authored
For opt build, add VMX86_STATS to the list of cpp defines. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 26 Apr, 2016 2 commits
-
-
Jose Fonseca authored
- Introduce 'gcc_compat' env flag, for all compilers that define __GNUC__, (which includes Clang when it's not emulating MSVC.) - Clang doesn't support whole program optimization - Disable enumerator value warnings (not sure why Clang warns about them, as my understanding is that MSVC promotes enums to unsigned ints automatically.) This is not enough to build with Clang + AddressSanitizer though. More follow up changes will be required for that. Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Jose Fonseca authored
These were being defined in SCons, but it's not practical: - we actually need to include Gallium headers from external source trees, with completely disjoint build infrastructure, and it's unsustainable to replicate the HAVE_xxx checks or even hard-coded defines across everywhere. - checking compiler version via command line doesn't really work due to Clang essentially being like a cameleon which can fake either GCC or MSVC There's no change for autoconf. Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 19 Apr, 2016 1 commit
-
-
Jose Fonseca authored
Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
-
- 14 Apr, 2016 1 commit
-
-
Jose Fonseca authored
Except: - u_cache_test -- too long - translate_test -- unreliable (it's probably testing corner cases that translate module doesn't care about.) Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
-
- 13 Apr, 2016 1 commit
-
-
Jose Fonseca authored
libasan is never linked to shared objects (which doesn't go well with -z,defs). It must either be linked to the main executable, or (more practically for OpenGL drivers) be pre-loaded via LD_PRELOAD. Otherwise works. I didn't find anything with llvmpipe. I suspect the fact that the JIT compiled code isn't instrumented means there are lots of errors it can't catch. But for non-JIT drivers, the Address/Leak Sanitizers seem like a faster alternative to Valgrind. Usage (Ubuntu 15.10): scons asan=1 libgl-xlib export LD_LIBRARY_PATH=$PWD/build/linux-x86_64-debug/gallium/targets/libgl-xlib LD_PRELOAD=libasan.so.2 any-opengl-application Acked-by:
Roland Scheidegger <sroland@vmware.com>
-
- 11 Feb, 2016 1 commit
-
-
Jose Fonseca authored
Reviewed-by:
Brian Paul <brianp@vmware.com> Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
-
- 11 Jan, 2016 1 commit
-
-
Oded Gabbay authored
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 208bfc49), 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 <oded.gabbay@gmail.com> Reviewed-by:
Jose Fonseca <jfonseca@vmware.com>
-
- 15 Aug, 2015 1 commit
-
-
Vinson Lee authored
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91591Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
-
- 25 Mar, 2015 1 commit
-
-
Jose Fonseca authored
Somehow, merely including any of the *intrin.h headers causes dozens of this warnings (when compiling pretty much every source file). MSVC does not always complain the same -- so it's possible we're doing something weird --, but silence these warnings in the meanwhile. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 22 Mar, 2015 6 commits
-
-
Jose Fonseca authored
Most cases seem harmless, though that might not always be the case. Maybe one day we can get gcc to complain about these and fix them throughout the code, but until then let's silence them. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Jose Fonseca authored
It's a bit hackish couldn't find another solution. See code comment for details. The warning is useful, so universally disabling doesn't sound a good idea. Fixes warning C4005: 'xxx' : macro redefinition Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Jose Fonseca authored
It warns about change in MSVC behavior -- array initialisation used to be non-standard, but is standard now, assuming I understand correctly http://en.cppreference.com/w/cpp/language/zero_initialization . Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Jose Fonseca authored
This avoids MSVC the warning warning C4013: 'isatty' undefined; assuming extern returning int with certain versions of flex. Reviewed-by:
Brian Paul <brianp@vmware.com> v2: Add win flex-bison link to docs/install.html.
-
Jose Fonseca authored
This prevents the MSVC from warning C4090: 'function' : different 'const' qualifiers when compiling flex generated lexers. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Jose Fonseca authored
MSVC defaults to no exceptions unless /EH option is passed (which we don't), while MSVC's STL defaults to use exceptions unless _HAS_EXCEPTIONS=0 is defined, which we didn't. This fixes warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 18 Mar, 2015 2 commits
-
-
Jose Fonseca authored
These get triggered even when using the standard C99 INFINITY/NAN constants. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Jose Fonseca authored
By default gcc ignores the issue, and as result code that mixes signed/unsigned is so widespread through the code base that it ends up being little more than noise, potentially obscuring more pertinent warnings. Maybe one day we enable the corresponding gcc warnings and cleanup, but until then, this change disables them. Reviewed-by:
Brian Paul <brianp@vmware.com> Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
-
- 10 Mar, 2015 1 commit
-
-
Vinson Lee authored
Suggested-by:
Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
- 04 Mar, 2015 2 commits
-
-
Jose Fonseca authored
Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Jose Fonseca authored
Matching what we already do with autotools builds. Reviewed-by:
Brian Paul <brianp@vmware.com>
-