Skip to content
Snippets Groups Projects
  1. Oct 24, 2019
  2. Oct 05, 2019
  3. Oct 26, 2018
  4. Oct 24, 2018
  5. Oct 19, 2018
  6. Oct 12, 2018
    • 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: default avatarBrian Paul <brianp@vmware.com>
      Reviewed-by: default avatarRoland Scheidegger <sroland@vmware.com>
      7c5aecec
  7. Nov 24, 2016
  8. Nov 21, 2016
  9. Aug 26, 2016
  10. Apr 13, 2016
    • 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
  11. Mar 17, 2015
  12. May 02, 2014
  13. Apr 16, 2014
    • 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: default avatarBrian Paul <brianp@vmware.com>
      d3c0e236
  14. Jan 09, 2014
  15. Mar 12, 2013
  16. Aug 16, 2012
  17. May 25, 2012
  18. Jan 18, 2012
  19. Jan 17, 2012
  20. Nov 29, 2011
  21. Aug 11, 2011
  22. Jun 30, 2011
  23. Jun 17, 2011
  24. Mar 09, 2011
  25. Feb 25, 2011
    • 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
  26. Feb 24, 2011
  27. Feb 16, 2011
  28. Feb 11, 2011
  29. Jan 22, 2011
    • 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
  30. Jan 13, 2011
  31. Dec 01, 2010
  32. Nov 01, 2010
    • 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
  33. Sep 29, 2010
  34. Aug 12, 2010
  35. Jul 24, 2010
  36. Jun 04, 2010
  37. May 21, 2010
Loading