Skip to content
  1. Aug 22, 2013
  2. Aug 17, 2013
  3. Aug 12, 2013
    • Chandler Carruth's avatar
      Remove all checking for the various terminfo headers (term.h and · 91219858
      Chandler Carruth authored
      curses.h). Finding these headers is next to impossible. For example, on
      Debian systems libtinfo-dev provides the terminfo reading library we
      want, but *not* term.h. For the header, you have to use libncurses-dev.
      And libncursesw-dev provides a *different* term.h in a different
      location!
      
      These headers aren't worth it. We want two functions the signatures of
      which are clearly spec'ed in sys-v and other documentation. Just declare
      them ourselves and call them. This should fix some debian builders and
      provide better support for "minimal" debian systems that do want color
      autodetection.
      
      llvm-svn: 188165
      91219858
    • Chandler Carruth's avatar
      Target a minimal terminfo library rather than necessarily a full curses · f11f1e43
      Chandler Carruth authored
      library for color support detection. This still will use a curses
      library if that is all we have available on the system. This change
      tries to use a smaller subset of the curses library, specifically the
      subset that is on some systems split off into a separate library. For
      example, if you install ncurses configured --with-tinfo, a 'libtinfo' is
      install that provides just the terminfo querying functionality. That
      library is now used instead of curses when it is available.
      
      This happens to fix a build error on systems with that library because
      when we tried to link ncurses into the binary, we didn't pull tinfo in
      as well. =]
      
      It should also provide an easy path for supporting the NetBSD
      libterminfo library, but as I don't have access to a NetBSD system I'm
      leaving adding that support to those folks.
      
      llvm-svn: 188160
      f11f1e43
  4. Aug 07, 2013
    • Chandler Carruth's avatar
      Add support for linking against a curses library when available and · cad7e5e0
      Chandler Carruth authored
      using it to detect whether or not a terminal supports colors. This
      replaces a particularly egregious hack that merely compared the TERM
      environment variable to "dumb". That doesn't really translate to
      a reasonable experience for users that have actually ensured their
      terminal's capabilities are accurately reflected.
      
      This makes testing a terminal for color support somewhat more expensive,
      but it is called very rarely anyways. The important fast path when the
      output is being piped somewhere is already in place.
      
      The global lock may seem excessive, but the spec for calling into curses
      is *terrible*. The whole library is terrible, and I spent quite a bit of
      time looking for a better way of doing this before convincing myself
      that this was the fundamentally correct way to behave. The damage of the
      curses library is very narrowly confined, and we continue to use raw
      escape codes for actually manipulating the colors which is a much sane
      system than directly using curses here (IMO).
      
      If this causes trouble for folks, please let me know. I've tested it on
      Linux and will watch the bots carefully. I've also worked to account for
      the variances of curses interfaces that I could finde documentation for,
      but that may not have been sufficient.
      
      llvm-svn: 187874
      cad7e5e0
  5. Aug 03, 2013
  6. Jul 26, 2013
  7. Jul 25, 2013
  8. Jul 08, 2013
  9. Jul 04, 2013
  10. Jul 01, 2013
    • Sylvestre Ledru's avatar
      The build system is currently miss-identifying GNU/kFreeBSD as FreeBSD. · 93a491bb
      Sylvestre Ledru authored
      This kind of simplification is sometimes useful, but in general it's not correct. 
      
      As GNU/kFreeBSD is an hybrid system, for kernel-related issues we want to match the
      build definitions used for FreeBSD, whereas for userland-related issues we want to
      match the definitions used for other systems with Glibc.
      
      The current modification adjusts the build system so that they can be distinguished,
      and explicitly adds GNU/kFreeBSD to the build checks in which it belongs.
      
      Fixes bug #16444.
      
      Patch by Robert Millan in the context of Debian.
      
      llvm-svn: 185311
      93a491bb
  11. Jun 25, 2013
  12. Jun 11, 2013
  13. May 22, 2013
    • Rafael Espindola's avatar
      Make R600 non-experimental. · f6474d28
      Rafael Espindola authored
      The r600 backend has been in tree for some time now. Marking it as
      non-experimental to avoid accidental breakage.
      
      llvm-svn: 182442
      f6474d28
  14. May 21, 2013
  15. May 07, 2013
  16. May 06, 2013
    • Ulrich Weigand's avatar
      · 92b2085c
      Ulrich Weigand authored
      [SystemZ] Add to --enable-targets=all
      
      This patch finally enables the SystemZ target in the default build
      (with --enable-targets=all).
      
      Patch by Richard Sandiford.
      
      llvm-svn: 181209
      92b2085c
    • Ulrich Weigand's avatar
      · 1ceebf6e
      Ulrich Weigand authored
      [SystemZ] Add configure bits
      
      This patch wires up the SystemZ target in configure, so that it can now be
      built using --enable-targets=systemz.   It is not yet included in the default
      build (--enable-targets=all); this will be done by a follow-up patch.
      
      Patch by Richard Sandiford.
      
      llvm-svn: 181208
      1ceebf6e
  17. 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
  18. May 03, 2013
  19. Apr 28, 2013
  20. Apr 23, 2013
  21. Apr 22, 2013
  22. Mar 25, 2013
  23. Mar 15, 2013
  24. Feb 13, 2013
  25. Feb 08, 2013
  26. Feb 07, 2013
  27. Feb 04, 2013
    • Tim Northover's avatar
      Enable AArch64 as a target built by default. · 43852f20
      Tim Northover authored
      llvm-svn: 174322
      43852f20
    • Patrik Hagglund's avatar
      Pass CPPFLAGS/CFLAGS/CXXFLAGS from the environment of configure to · d91ae4d9
      Patrik Hagglund authored
      Makefile.config.
      
      This is implied at the bottom of the help text of configure (besides
      CC/CXX/LDFLAGS, already passed to Makefile.config).
      
      For backward compatibility, the values of CFLAGS and CXXFLAGS defaults
      to empty, overriding the default values provided by autoconf (for
      example, '-g -O2' when CC=gcc').
      
      $(CPP) is not used by our makefiles. Therefore, the value of CPP is
      not passed to Makefile.config, despite beeing mentioned by 'configure
      --help'.
      
      llvm-svn: 174313
      d91ae4d9
  28. Feb 03, 2013
  29. Feb 01, 2013
  30. Jan 31, 2013
    • Richard Smith's avatar
      Add -Wno-nested-anon-types to -pedantic builds of LLVM. This Clang warning · 6c26e747
      Richard Smith authored
      catches uses of an extremely minor and widely-available C++ extension (which
      every C++ compiler I could find supports, but EDG and Clang reject in strict
      mode).
      
      The diagnosed code pattern looks like this:
      
      struct X {
        union {
          struct {
            int a;
            int b;
          } S;
        };
      };
      
      llvm-svn: 174103
      6c26e747
    • Tim Northover's avatar
      Add AArch64 as an experimental target. · e0e3aefd
      Tim Northover authored
      This patch adds support for AArch64 (ARM's 64-bit architecture) to
      LLVM in the "experimental" category. Currently, it won't be built
      unless requested explicitly.
      
      This initial commit should have support for:
          + Assembly of all scalar (i.e. non-NEON, non-Crypto) instructions
            (except the late addition CRC instructions).
          + CodeGen features required for C++03 and C99.
          + Compilation for the "small" memory model: code+static data <
            4GB.
          + Absolute and position-independent code.
          + GNU-style (i.e. "__thread") TLS.
          + Debugging information.
      
      The principal omission, currently, is performance tuning.
      
      This patch excludes the NEON support also reviewed due to an outbreak of
      batshit insanity in our legal department. That will be committed soon bringing
      the changes to precisely what has been approved.
      
      Further reviews would be gratefully received.
      
      llvm-svn: 174054
      e0e3aefd
Loading