1. 14 Aug, 2014 1 commit
  2. 16 Jun, 2014 1 commit
  3. 09 Jun, 2014 1 commit
  4. 06 Jun, 2014 1 commit
  5. 23 May, 2014 1 commit
    • Jose Fonseca's avatar
      gallivm: Support MCJIT on Windows. · 2c02f34f
      Jose Fonseca authored
      It works fine, though it requires using ELF objects.
      
      With this change there is nothing preventing us to switch exclusively
      to MCJIT, everywhere.  It's still off though.
      2c02f34f
  6. 14 May, 2014 1 commit
  7. 02 May, 2014 2 commits
  8. 17 Apr, 2014 1 commit
  9. 16 Apr, 2014 3 commits
  10. 25 Mar, 2014 1 commit
  11. 04 Mar, 2014 1 commit
    • Vinson Lee's avatar
      scons: Build with C++11 with LLVM >= 3.5. · f2d724c6
      Vinson Lee authored
      Starting with llvm-3.5svn r202574, LLVM expects C+11 mode.
      
      commit f8bc17fadc8f170c1126328d203f0dab78960137
      Author: Chandler Carruth <chandlerc@gmail.com>
      Date:   Sat Mar 1 06:31:00 2014 +0000
      
          [C++11] Turn off compiler-based detection of R-value references, relying
          on the fact that we now build in C++11 mode with modern compilers. This
          should flush out any issues. If the build bots are happy with this, I'll
          GC all the code for coping without R-value references.
      
          git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202574 91177308-0d34-0410-b5e6-96231b3b80d8
      Signed-off-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
      f2d724c6
  12. 18 Feb, 2014 1 commit
  13. 17 Jan, 2014 1 commit
    • Jose Fonseca's avatar
      s/Tungsten Graphics/VMware/ · 87712850
      Jose 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: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      87712850
  14. 23 Dec, 2013 1 commit
  15. 05 Nov, 2013 1 commit
  16. 21 Oct, 2013 1 commit
  17. 18 Oct, 2013 1 commit
  18. 16 Oct, 2013 2 commits
    • Jose Fonseca's avatar
      Revert "scons: Fix build when rtti is disabled" · 40ddd8b6
      Jose Fonseca authored
      This reverts commit 94d05bf8 as it has a
      few problems:
      
      - it breaks windows builds becuase env[LLVM_CXXFLAGS] is never set there
      
      - it is merging not only rtti, but the whole cxxflags (defines etc)
        which has proven to be a source of troubles (breaks debugging etc.)
      40ddd8b6
    • Alexander von Gluck IV's avatar
      scons: Fix build when rtti is disabled · 94d05bf8
      Alexander von Gluck IV authored
      * The rtti fix actually dug up a bug in the scons build scripts.
      * Autotools took the LLVM cpp and cxx flags, while scons only took
        the cpp flags.
      * This grabs the cxx flags and applies them where needed. We may
        want to make the same change for the llvm cpp flags in scons.
      * The only linux platform I can find with LLVM no-rtti is Ubuntu.
      * Fixes bug #70471
      Tested-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
      94d05bf8
  19. 15 Oct, 2013 1 commit
    • Alexander von Gluck IV's avatar
      build: remove forced -fno-rtti · ce8eadb6
      Alexander von Gluck IV authored
      * As discussed on the mailing list,
        forced no-rtti breaks C++ public
        API's such as the Haiku C++ libGL.so
      * -fno-rtti *can* be still set however
        instead of blindly forcing -fno-rtti,
        we can rely on the llvm-config
        --cppflags output.
        If the system llvm is built without
        rtti (default), the no-rtti flag will be
        present in llvm-config --cppflags
        (which we pick up on)
        If llvm is built with rtti
        (REQUIRES_RTTI=1), then -fno-rtti is
        removed from llvm-config --cppflags.
      * We could selectively add / remove rtti
        from various components, however mixing
        rtti and non-rtti code is tricky and
        could introduce missing symbols.
      * This needs impact tested.
      Reviewed-by: Francisco Jerez's avatarFrancisco Jerez <currojerez@riseup.net>
      ce8eadb6
  20. 04 Oct, 2013 1 commit
  21. 08 Jun, 2013 1 commit
  22. 21 May, 2013 1 commit
    • Jose Fonseca's avatar
      scons: Don't force stabs debug format for Mingw. · 8cabc7be
      Jose Fonseca authored
      - recent gdb handles DWARF fine (tested both with version
        7.1.90.20100730 from mingw-w64 project, and 7.5-1 from mingw project)
      
      - http://people.freedesktop.org/~jrfonseca/bfdhelp/ was updated to
        handle DWARF
      
      - stabs requires ugly hacks to prevent compilation failures
      
      - mixing stabs/dwarf prevents proper backtraces (which is inevitable,
        given that the MinGW C runtime is pre-built with DWARF)
      
      For example, without this change I get:
      
        (gdb) bt
        #0  _wassert (_Message=0xf925060 L"Num < NumOperands && \"Invalid child # of SDNode!\"",
            _File=0xf60b488 L"llvm/include/llvm/CodeGen/SelectionDAGNodes.h", _Line=534)
            at ../../../../mingw-w64-crt/misc/wassert.c:51
        #1  0x0368996b in _assert (_Message=0x39d7ee4 "Num < NumOperands && \"Invalid child # of SDNode!\"",
            _File=0x39d7e94 "llvm/include/llvm/CodeGen/SelectionDAGNodes.h", _Line=534)
            at ../../../../mingw-w64-crt/misc/wassert.c:44
        #2  0x00000004 in ?? ()
        #3  0x00000004 in ?? ()
        #4  0x0f60b488 in ?? ()
        #5  0x00000000 in ?? ()
      
      While with this change I get:
      
        (gdb) bt
        #0  _wassert (_Message=0xfb982e8 L"Num < NumOperands && \"Invalid child # of SDNode!\"",
            _File=0xefbcb40 L"llvm/include/llvm/CodeGen/SelectionDAGNodes.h", _Line=534)
            at ../../../../mingw-w64-crt/misc/wassert.c:51
        #1  0x039c996b in _assert (_Message=0x3d17f24 "Num < NumOperands && \"Invalid child # of SDNode!\"",
            _File=0x3d17ed4 "llvm/include/llvm/CodeGen/SelectionDAGNodes.h", _Line=534)
            at ../../../../mingw-w64-crt/misc/wassert.c:44
        #2  0x033111cc in getOperand (Num=4, this=<optimized out>)
            at llvm/include/llvm/CodeGen/SelectionDAGNodes.h:534
        #3  getOperand (i=4, this=<optimized out>)
            at llvm/include/llvm/CodeGen/SelectionDAGNodes.h:779
        #4  llvm::SelectionDAG::getNode (this=0xf00cb08, Opcode=79, DL=..., VT=..., N1=..., N2=...)
            at llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:2859
        #5  0x03377b20 in llvm::SelectionDAGBuilder::visitExtractElement (this=0xfb45028, I=...)
            at llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:2803
        [...]
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      8cabc7be
  23. 03 May, 2013 1 commit
  24. 25 Apr, 2013 1 commit
    • Jose Fonseca's avatar
      scons: Support clang. · 1687932d
      Jose Fonseca authored
      clang is supports most gcc options / extensions, with a some exceptions.
      
      The biggest advantage of using clang is that compilation times are much
      short.
      
      One can tell scons to use clang when building by invoking it as
      
         CC=clang CXX=clang++ scons libgl-xlib
      1687932d
  25. 21 Mar, 2013 1 commit
  26. 15 Mar, 2013 1 commit
  27. 14 Mar, 2013 1 commit
  28. 05 Mar, 2013 1 commit
  29. 28 Feb, 2013 1 commit
  30. 05 Feb, 2013 1 commit
  31. 23 Jan, 2013 1 commit
    • Jose Fonseca's avatar
      scons: Fix source lists parsing on Windows. · 06424376
      Jose 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
  32. 22 Jan, 2013 1 commit
  33. 07 Jan, 2013 1 commit
  34. 06 Dec, 2012 1 commit
  35. 04 Dec, 2012 1 commit
  36. 06 Nov, 2012 1 commit