1. 12 Mar, 2019 1 commit
    • pal1000's avatar
      scons: Compatibility with Scons development version string · 7f89fd17
      pal1000 authored
      This ensures Mesa3D build doesn't fail in this case as encountered when
      bisecting Scons source code while regression testing
      https://bugs.freedesktop.org/show_bug.cgi?id=109443
      and when testing 3.0.5.a.2
      
      Technical details:
      Scons version string has consistently been in this format:
      MajorVersion.MinorVersion.Patch[.alpha/beta.yyyymmdd]
      so these formulas should strip alpha/beta flags and return Scons version:
      
      - as string - `'.'.join(SCons.__version__.split('.')[:3])`
      - as tuple of integers - `tuple(map(int, SCons.__version__.split('.')[:3]))`
      
      - v2: Fixed Scons version retrieval formulas as string and tuple of integers.
      - v3: Fixed Scons version string format description.
      
      Cc: "19.0" <mesa-stable@lists.freedesktop.org>
      Reviewed-by: 's avatarJose Fonseca <jfonseca@vmware.com>
      7f89fd17
  2. 25 Sep, 2017 1 commit
  3. 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
  4. 21 Nov, 2016 1 commit
  5. 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
  6. 25 May, 2016 1 commit
  7. 09 May, 2016 1 commit
  8. 14 Aug, 2014 1 commit
  9. 17 Jan, 2014 1 commit
    • José Fonseca's avatar
      s/Tungsten Graphics/VMware/ · 87712850
      José Fonseca authored
      Tungsten Graphics Inc. was acquired by VMware Inc. in 2008.  Leaving the
      old copyright name is creating unnecessary confusion, hence this change.
      
      This was the sed script I used:
      
          $ cat tg2vmw.sed
          # Run as:
          #
          #   git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed
          #
      
          # Rename copyrights
          s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g
          /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./
          s/TUNGSTEN GRAPHICS/VMWARE/g
      
          # Rename emails
          s/alanh@tungstengraphics.com/alanh@vmware.com/
          s/jens@tungstengraphics.com/jowen@vmware.com/g
          s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/
          s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g
          s/keithw\?@tungstengraphics.com/keithw@vmware.com/g
          s/michel@tungstengraphics.com/daenzer@vmware.com/g
          s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/
          s/zack@tungstengraphics.com/zackr@vmware.com/
      
          # Remove dead links
          s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g
      
          # C string src/gallium/state_trackers/vega/api_misc.c
          s/"Tungsten Graphics, Inc"/"VMware, Inc"/
      Reviewed-by: 's avatarBrian Paul <brianp@vmware.com>
      87712850
  10. 08 Jun, 2013 1 commit
  11. 23 Jan, 2013 1 commit
    • José Fonseca's avatar
      scons: Fix source lists parsing on Windows. · 06424376
      José Fonseca authored
      / vs \ mismatch was causing .objs to be put in the source tree, causing
      breakeage when doing different build types in the same tree (eg., debug
      vs release).
      
      Fix this by normalizing everything to / slashes.
      
      It's probably a good idea to purge all .objs from source tree to prevent
      issues completely.
      06424376
  12. 16 Aug, 2012 1 commit
  13. 14 Aug, 2012 1 commit
  14. 07 Feb, 2012 1 commit
  15. 20 Sep, 2011 1 commit
  16. 23 Aug, 2011 1 commit
    • Chia-I Wu's avatar
      scons: add ParseSourceList method · 582b5d86
      Chia-I Wu authored
      ParseSourceList() can be used to parse a source list file and returns
      the source files defined in it.  It is supposed to be used like this
      
        # get the list of source files from C_SOURCES in Makefile.sources
        sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
      
      The syntax of a source list file is compatible with GNU Make.  This
      effectively allows SConscript and Makefile to share the source lists.
      Acked-by: 's avatarJosé Fonseca <jfonseca@vmware.com>
      Acked-by: 's avatarChad Versace <chad@chad-versace.us>
      582b5d86
  17. 30 Jun, 2011 1 commit
  18. 17 Jun, 2011 1 commit
  19. 04 May, 2011 1 commit
  20. 03 Mar, 2011 1 commit
  21. 10 Feb, 2010 1 commit
  22. 02 Jan, 2010 1 commit
  23. 01 Jan, 2010 1 commit