Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/Homebrew/brew.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Sep 03, 2013
  2. Sep 02, 2013
    • Misty De Meo's avatar
      Remove attr_rw for CompilerFailure version attribute · e92fa147
      Misty De Meo authored
      This reverts commit 7db9ef9650a44ef8155bf66efd88703e580057b0.
      e92fa147
    • Misty De Meo's avatar
      ca3ed1e5
    • Misty De Meo's avatar
      Remove HOMEBREW_CC warning from ENV.compiler · 96b50e01
      Misty De Meo authored
      ENV.compiler is called outside setting up the build environment, where
      values unsupported for user input might have been specified - for
      example, GNU GCC executables.
      96b50e01
    • Misty De Meo's avatar
      Document --cc= for non-Apple compilers · 0e06e9e4
      Misty De Meo authored
      0e06e9e4
    • Misty De Meo's avatar
      Check dependencies for a compatible C++ stdlib · 7c3d6ea8
      Misty De Meo authored
      There are now a few possible C++ standard libraries a given build could
      be using, with subtle incompatibilities and possibility of breakage
      when mixed. This makes sure that the dependency chain was compiled in
      a compatible manner.
      
      Fortunately all of the Apple compilers use the same libstdc++, and we
      don't yet support building with libc++, so this will primarily only
      nag users trying to use GNU gcc who already have software installed
      with Apple compilers.
      
      Future TODOs:
      
      * Add general support for building with libc++ (compatibility checking
        already handled here)
      * Possibly track formulae which actually build C++ bindings, so that
        users aren't bothered by spurious nagging re: interpreted languages,
        pure-C software, etc.
      7c3d6ea8
    • Misty De Meo's avatar
      Tab: track C++ stdlib in use · b71682bd
      Misty De Meo authored
      There are subtle incompatibilities between Apple's libstdc++ and the
      libstdc++ used by the various GNU GCC formulae. In addition, we'll
      likely also be supporting libc++ in the future, and that's also
      incompatible with the other stdlibs.
      
      Tracking it in the tab lets us make sure that dependencies are all
      built against the same stdlib to avoid subtle breakage.
      b71682bd
    • Misty De Meo's avatar
      Move Tab creation into build process · 3ac74331
      Misty De Meo authored
      The parent process doesn't have access to the selected compiler, which
      will be important in the next commit.
      
      Fortunately the child process already has a filtered and massaged
      ARGV, so it has enough information to build the tab itself.
      3ac74331
    • Misty De Meo's avatar
      Implement fails_with for non-Apple compilers · ef1d9c0c
      Misty De Meo authored
      This adds support for non-Apple GCC compilers in the fails_with code.
      A fails_with block for a non-Apple compiler looks like:
      
      fails_with :gcc => '4.8.1' do
        cause 'Foo'
      end
      
      Non-Apple compilers don't have build numbers, so compiler failures are
      based on version strings instead.
      
      Internally non-Apple compilers can be distinguished because they are
      passed around as strings instead of symbols.
      
      In addition, this alters the priority list for compilers, with the
      following changes:
      
      * Apple GCC 4.2 and LLVM-GCC swap positions, with GCC now taking
        priority. (Maybe LLVM-GCC should just go away.)
      * Non-Apple GCC compilers are ranked below GCC 4.2 but above LLVM-GCC
        and Apple GCC 4.0.
      ef1d9c0c
    • Misty De Meo's avatar
      Provide reusable GNU GCC constants in ENV · 71268b7f
      Misty De Meo authored
      71268b7f
    • Misty De Meo's avatar
      Experimental support for non-Apple GCCs · 11f8b2f4
      Misty De Meo authored
      11f8b2f4
  3. Sep 01, 2013
  4. Aug 31, 2013
  5. Aug 30, 2013
    • Misty De Meo's avatar
      Document --cc= in the manpage · f142cca6
      Misty De Meo authored
      f142cca6
    • Misty De Meo's avatar
      Unify compiler selection logic · 7e1af4b7
      Misty De Meo authored
      This unifies the logic for selecting a compiler between superenv and
      stdenv. A variation of superenv's `determine_cc`, which now returns a
      symbol, has been moved into the shared ENV extension. Stdenv uses the
      result of this directly (as it's always used symbols), while superenv
      translates that back into a compiler string.
      
      This also has the effect of disabling HOMEBREW_USE_(gcc|llvm|clang) in
      stdenv, which have already been marked as deprecated for some time, and
      enables the HOMEBREW_CC= environment variable syntax from superenv in
      stdenv.
      7e1af4b7
Loading