1. 03 Sep, 2017 1 commit
  2. 14 Jul, 2017 1 commit
  3. 06 Jul, 2017 1 commit
  4. 30 Jun, 2017 1 commit
    • Tim Rowley's avatar
      scons: allow .inl file extension · 8b66d18a
      Tim Rowley authored
      Intended for header files which are not meant to be included directly.
      
      Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
      8b66d18a
  5. 04 May, 2017 1 commit
  6. 15 Mar, 2017 1 commit
  7. 13 Feb, 2017 2 commits
  8. 27 Jan, 2017 1 commit
  9. 18 Jan, 2017 1 commit
  10. 24 Nov, 2016 1 commit
  11. 21 Nov, 2016 2 commits
  12. 25 Oct, 2016 1 commit
  13. 18 Oct, 2016 1 commit
  14. 14 Oct, 2016 1 commit
    • Jose Fonseca's avatar
      scons: Fix the Python dependency scanner. · b12606b6
      Jose Fonseca authored
      modulefinder wasn't searching for dependencies in the script dir.
      
      It's not capable of detecting the sys.path manipulations scripts do
      internally neither.
      
      This change fixes the first issue, and hacks around the second.
      
      Honestly, I've come to the conclusion that automatic Python dependency it will always be
      too brittle.   I think we should start manually typing the dependencies
      like we do in automake.  At very least it will enable any person to
      eyeball and spot/fix missing dependencies, without dig into SCons internals.
      b12606b6
  15. 26 Aug, 2016 1 commit
  16. 25 May, 2016 1 commit
  17. 09 May, 2016 1 commit
  18. 26 Apr, 2016 2 commits
    • Jose Fonseca's avatar
      scons: Support Clang on Windows. · a2fe35bc
      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: default avatarRoland Scheidegger <sroland@vmware.com>
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      a2fe35bc
    • Jose Fonseca's avatar
      scons: Move fallback HAVE_* definitions to headers. · c068610a
      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: default avatarRoland Scheidegger <sroland@vmware.com>
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      c068610a
  19. 19 Apr, 2016 1 commit
  20. 14 Apr, 2016 1 commit
  21. 13 Apr, 2016 1 commit
    • Jose Fonseca's avatar
      scons: Allow building with Address Sanitizer. · fa46848e
      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: default avatarRoland Scheidegger <sroland@vmware.com>
      fa46848e
  22. 11 Feb, 2016 1 commit
  23. 11 Jan, 2016 1 commit
  24. 08 Dec, 2015 1 commit
  25. 15 Aug, 2015 1 commit
  26. 29 May, 2015 1 commit
  27. 27 Apr, 2015 1 commit
  28. 25 Mar, 2015 1 commit
  29. 22 Mar, 2015 7 commits
  30. 18 Mar, 2015 2 commits