1. 26 Oct, 2018 1 commit
  2. 24 Oct, 2018 1 commit
  3. 19 Oct, 2018 1 commit
  4. 12 Oct, 2018 1 commit
    • Jose Fonseca's avatar
      scons: Allow building with custom MSVC_USE_SCRIPT script. · 7c5aecec
      Jose Fonseca authored
      SCons MSVC support relies on vcvarsall.bat to extract the PATH, CPP
      includes, library paths, etc.
      
      And SCons also has an build env var named MSVC_USE_SCRIPT which one can
      use to point to alternative vcvarsall.bat script.
      
      This change exposes this MSVC_USE_SCRIPT build env variable as a SCons
      command line variable.  This will enable using MSVC outside Program
      Files (e.g, network shares, etc.)
      
      This change also links advapi32 library, necessary for the Windows
      Registry API used by WGL state tracker, avoiding missing symbols.
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      Reviewed-by: 's avatarRoland Scheidegger <sroland@vmware.com>
      7c5aecec
  5. 24 Nov, 2016 1 commit
  6. 21 Nov, 2016 1 commit
  7. 26 Aug, 2016 1 commit
  8. 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: 's avatarRoland Scheidegger <sroland@vmware.com>
      fa46848e
  9. 17 Mar, 2015 1 commit
  10. 02 May, 2014 1 commit
  11. 16 Apr, 2014 1 commit
    • Jose Fonseca's avatar
      scons: Add an analyze option. · d3c0e236
      Jose Fonseca authored
      For Clang static code analyzer, the scan-build script will produce more
      comprehensive output.  Nevertheless you can invoke it as
      
        CC=clang CXX=clang++ scons analyze=1
      
      For MSVC this is the best way to use its static code analysis.  Simply
      invoke as
      
        scons analyze=1
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      d3c0e236
  12. 09 Jan, 2014 1 commit
  13. 12 Mar, 2013 1 commit
  14. 16 Aug, 2012 1 commit
  15. 25 May, 2012 1 commit
  16. 18 Jan, 2012 1 commit
  17. 17 Jan, 2012 1 commit
  18. 29 Nov, 2011 2 commits
  19. 11 Aug, 2011 1 commit
  20. 30 Jun, 2011 1 commit
  21. 17 Jun, 2011 3 commits
  22. 09 Mar, 2011 1 commit
  23. 25 Feb, 2011 1 commit
    • Vinson Lee's avatar
      scons: Reduce all Cygwin platform names to 'cygwin'. · eb178023
      Vinson Lee authored
      platform.system in SCons on Cygwin includes the OS version number.
      Windows XP - CYGWIN_NT-5.1
      Windows Vista - CYGWIN_NT-6.0
      Windows 7 - CYGWIN_NT-6.1
      
      Reduce all Cygwin platform variants to just 'cygwin' so anything
      downstream can simply use 'cygwin' instead of the different full
      platform names.
      eb178023
  24. 24 Feb, 2011 1 commit
  25. 16 Feb, 2011 1 commit
  26. 11 Feb, 2011 1 commit
  27. 22 Jan, 2011 1 commit
    • Chia-I Wu's avatar
      scons: Add support for GLES. · bb770af3
      Chia-I Wu authored
      GLES can be enabled by running scons with
      
        $ scons gles=yes
      
      When gles=yes is given, the build is changed in three ways.  First,
      libmesa.a will be built with FEATURE_ES1 and FEATURE_ES2.  This makes
      DRI drivers and libEGL support and advertise GLES support.  Second, GLES
      libraries will be created.  They are libGLESv1_CM, libGLESv2, and
      libglapi.  Last, libGL or opengl32 will link to libglapi.  This change
      is required as _glapi_* will be declared as __declspec(dllimport) in
      libmesa.a on windows.  libmesa.a expects those symbols to be defined in
      another DLL.  Due to this change to GL, GLES support is marked
      experimental.
      
      Note that GLES requires libxml2-python to generate some of its sources.
      bb770af3
  28. 13 Jan, 2011 1 commit
  29. 01 Dec, 2010 1 commit
  30. 01 Nov, 2010 1 commit
    • Jose Fonseca's avatar
      scons: Revamp how to specify targets to build. · 601498ae
      Jose Fonseca authored
      Use scons target and dependency system instead of ad-hoc options.
      
      Now is simply a matter of naming what to build. For example:
      
        scons libgl-xlib
      
        scons libgl-gdi
      
        scons graw-progs
      
        scons llvmpipe
      
      and so on. And there is also the possibility of scepcified subdirs, e.g.
      
        scons src/gallium/drivers
      
      If nothing is specified then everything will be build.
      
      There might be some rough corners over the next days. Please bare with me.
      601498ae
  31. 29 Sep, 2010 1 commit
  32. 12 Aug, 2010 1 commit
  33. 24 Jul, 2010 1 commit
  34. 04 Jun, 2010 1 commit
  35. 21 May, 2010 1 commit
  36. 20 May, 2010 2 commits