Skip to content
  1. May 04, 2013
    • Tim Northover's avatar
      Allow host triple to be correctly overridden in CMake builds · fee13d1e
      Tim Northover authored
      The intended semantics mirror autoconf, where the user is able to
      specify a host triple, but if it's left to the build system then
      "config.guess" is invoked for the default.
      
      This also renames the LLVM_HOSTTRIPLE define to LLVM_HOST_TRIPLE to
      fit in with the style of the surrounding defines.
      
      llvm-svn: 181112
      fee13d1e
  2. Apr 23, 2013
  3. Mar 26, 2013
  4. Jan 16, 2013
    • Peter Collingbourne's avatar
      Introduce llvm::sys::getProcessTriple() function. · a51c6ed6
      Peter Collingbourne authored
      In r143502, we renamed getHostTriple() to getDefaultTargetTriple()
      as part of work to allow the user to supply a different default
      target triple at configure time.  This change also affected the JIT.
      However, it is inappropriate to use the default target triple in the
      JIT in most circumstances because this will not necessarily match
      the current architecture used by the process, leading to illegal
      instruction and other such errors at run time.
      
      Introduce the getProcessTriple() function for use in the JIT and
      its clients, and cause the JIT to use it.  On architectures with a
      single bitness, the host and process triples are identical.  On other
      architectures, the host triple represents the architecture of the
      host CPU, while the process triple represents the architecture used
      by the host CPU to interpret machine code within the current process.
      For example, when executing 32-bit code on a 64-bit Linux machine,
      the host triple may be 'x86_64-unknown-linux-gnu', while the process
      triple may be 'i386-unknown-linux-gnu'.
      
      This fixes JIT for the 32-on-64-bit (and vice versa) build on non-Apple
      platforms.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D254
      
      llvm-svn: 172627
      a51c6ed6
  5. Nov 21, 2012
  6. Oct 18, 2012
  7. Jun 28, 2012
    • Chandler Carruth's avatar
      Remove 'site.exp' building from both CMake and configure+make. · bf2b400f
      Chandler Carruth authored
      This is another vestige of the DejaGNU roots. There were FIXMEs in the
      lit setup to add a 'lit.site.cfg', which has been around for quite some
      time now, so I've properly switched the handling of the 4 things
      actually used in site.exp to go through lit.site.cfg now. No more
      parsing of the .exp file, one fewer configure-style generated file,
      etc., etc.
      
      llvm-svn: 159313
      bf2b400f
  8. May 17, 2012
    • Danil Malyshev's avatar
      - Added ExecutionEngine/MCJIT tests · 7c5db453
      Danil Malyshev authored
      - Added HOST_ARCH to Makefile.config.in
      The HOST_ARCH will be used by MCJIT tests filter, because MCJIT supported only x86 and ARM architectures now.
      
      llvm-svn: 157015
      7c5db453
  9. Mar 30, 2012
  10. Mar 29, 2012
  11. Mar 22, 2012
    • Chandler Carruth's avatar
      Revert a series of commits to MCJIT to get the build working in CMake · e26dafeb
      Chandler Carruth authored
      (and hopefully on Windows). The bots have been down most of the day
      because of this, and it's not clear to me what all will be required to
      fix it.
      
      The commits started with r153205, then r153207, r153208, and r153221.
      The first commit seems to be the real culprit, but I couldn't revert
      a smaller number of patches.
      
      When resubmitting, r153207 and r153208 should be folded into r153205,
      they were simple build fixes.
      
      llvm-svn: 153241
      e26dafeb
  12. Mar 21, 2012
  13. Feb 16, 2012
  14. Oct 27, 2011
  15. Jun 23, 2011
    • Andrew Trick's avatar
      cmake+lit: handle ENABLE_ASSERTIONS feature properly. · 080d8fd2
      Andrew Trick authored
      llvm-svn: 133725
      080d8fd2
    • Andrew Trick's avatar
      lit support for REQUIRES: asserts. · 67ff0718
      Andrew Trick authored
      Take #2. Don't piggyback on the existing config.build_mode. Instead,
      define a new lit feature for each build feature we need (currently
      just "asserts"). Teach both autoconf'd and cmake'd Makefiles to define
      this feature within test/lit.site.cfg. This doesn't require any lit
      harness changes and should be more robust across build systems.
      
      llvm-svn: 133664
      67ff0718
  16. Jun 16, 2011
  17. Feb 09, 2011
  18. Nov 29, 2010
  19. Nov 27, 2010
  20. Jun 12, 2010
  21. Sep 22, 2009
  22. Sep 20, 2009
  23. Sep 17, 2009
Loading