| Age | Commit message (Collapse) | Author |
|
Building gcc with --HEAD results in most of the executables not having a
version suffix, e.g. Building/installing gcc 6 would result in gcc-6,
g++-6, etc. being installed, while building/installing gcc --HEAD would
result in gcc-, g++-, etc. being installed.
The lack of a version suffix prevented brew from recognizing a valid gcc
install, resulting in brew instructing users to install gcc before
building certain formulae even though gcc is installed.
A patch to the gcc formula makes the version number for --HEAD builds
the major version number of the stable version + 1 (7 at this time).
This patch teaches brew to recognize current --HEAD builds as valid
compilers.
|
|
At this point it's never a good compiler to use so let's just remove it.
|
|
|
|
|
|
|
|
This reverts commit 16a2a8274a7808e63a6c78475e12a7c0ef5812ef.
|
|
Closes Homebrew/homebrew#47224.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
And remove the documented stuff from the `example-formula.rb`.
Closes Homebrew/homebrew#43241.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#42354.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
|
|
This method may see values originating HOMEBREW_CC.
This reverts commit 9c74f42962090c016143744b057e13aa75d9b13e.
|
|
|
|
Closes Homebrew/homebrew#39470.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Closes Homebrew/homebrew#38912.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
The string passed as the cause is currently unused, so we don't need to
actually store it.
|
|
|
|
|
|
|
|
|
|
Fixes Homebrew/homebrew#31360.
|
|
|
|
|
|
|
|
The major version is implicit in the compiler name. Since the name is
used when matching failures to compilers, we don't need to consider the
major version separately.
|
|
major_version is now only used internally by the failure object
|
|
|
|
|
|
|
|
|
|
|
|
Fixes Homebrew/homebrew#30668
|
|
|
|
|
|
|
|
Unlike CompilerFailure, the interface of Compiler is entirely internal,
so we don't need to maintain compatibility with anything.
|
|
|
|
|
|
|
|
|
|
Fixes Homebrew/homebrew#28357.
|
|
`needs` allows formulae to specify dependencies on cross-compiler
dependencies, allowing multiple failures to be specified in a single
statement. For instance, `needs :cxx11` adds seven compiler failures.
Closes Homebrew/homebrew#22912.
|
|
|
|
The old version worked like this:
fails_with :gcc => '4.8.1'
That wasn't really flexible enough, and made it harder to distinguish
different releases in the same GCC series. Since no one was really
using it yet, this adjusts the syntax to be more similar to the
Apple compilers:
fails_with :gcc => '4.8' do
release '4.8.1'
end
Like with Apple compilers, omitting `release` blacklists the entire
series.
This also unifies the `build` and `version` attributes and accessors,
and exposes them under both names.
|
|
Fixes Homebrew/homebrew#19962.
|
|
llvm-gcc should still get priority over non-Apple GCCs.
Fixes Homebrew/homebrew#22424.
|
|
This reverts commit 7db9ef9650a44ef8155bf66efd88703e580057b0.
|
|
|
|
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.
|
|
|