aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/simgrid.rb
diff options
context:
space:
mode:
authorJack Nagel2013-03-11 22:54:15 -0500
committerJack Nagel2013-03-12 13:55:15 -0500
commit5ddd40b8449efc82b831ff62151d5012f6e05ac0 (patch)
tree8d782dc9569c8fc25b8f5da6f97c9fddd12a444e /Library/Formula/simgrid.rb
parent18fd4f122d41aca306ea17d86feacbbbf44ad05f (diff)
downloadhomebrew-5ddd40b8449efc82b831ff62151d5012f6e05ac0.tar.bz2
Switch compilers when no build is specified
Given the current state of OS X compilers, the original fails_with behavior is becoming less useful, mostly resulting in build failures each time the compiler is updated. So make the following changes: When a build is specified, we retain the old behavior: switch compilers if the available compiler is <= the build, don't switch if it is > the build. When no build is specified, unconditionally switch compilers, and don't output the advice message. This allows us to mark formulae as perpetually failing, avoiding the need to update formulae each time a new compiler build is made available. As a bonus, this makes the logic much easier to reason about. Closes #18175.
Diffstat (limited to 'Library/Formula/simgrid.rb')
-rw-r--r--Library/Formula/simgrid.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/Library/Formula/simgrid.rb b/Library/Formula/simgrid.rb
index 0e86470a6..8d3dd2298 100644
--- a/Library/Formula/simgrid.rb
+++ b/Library/Formula/simgrid.rb
@@ -10,7 +10,6 @@ class Simgrid < Formula
depends_on 'graphviz'
fails_with :clang do
- build 425
cause "Undefined symbols for architecture x86_64"
end