diff options
| author | Adam Vandenberg | 2012-07-10 09:36:42 -0700 | 
|---|---|---|
| committer | Adam Vandenberg | 2012-07-10 09:36:42 -0700 | 
| commit | abeaaba5793b4cd26f867ce1cdac7d8bc0ce753a (patch) | |
| tree | 85ee2e849edb645736ffa281d853b8839752690e | |
| parent | 85a154c3734ab7763b79bb7d60ade25af0376463 (diff) | |
| download | homebrew-abeaaba5793b4cd26f867ce1cdac7d8bc0ce753a.tar.bz2 | |
icarus-verilog: document build failures
Also add --devel and use sha1 checksums.
| -rw-r--r-- | Library/Formula/icarus-verilog.rb | 28 | 
1 files changed, 27 insertions, 1 deletions
| diff --git a/Library/Formula/icarus-verilog.rb b/Library/Formula/icarus-verilog.rb index 83f5095eb..e345ed7b3 100644 --- a/Library/Formula/icarus-verilog.rb +++ b/Library/Formula/icarus-verilog.rb @@ -3,10 +3,36 @@ require 'formula'  class IcarusVerilog < Formula    homepage 'http://iverilog.icarus.com/'    url 'ftp://icarus.com/pub/eda/verilog/v0.9/verilog-0.9.5.tar.gz' -  md5 '3eaeafbb8f0f36765676ab1aaa0fe330' +  sha1 '3a69cb935ab562882a07a52904f3cba74aed2229' + +  devel do +    url 'ftp://ftp.icarus.com/pub/eda/verilog/snapshots/verilog-20120501.tar.gz' +    sha1 '313ab0f5dc4d198bd4687daaf2e54749c67558b3' +  end + +  # Yes indeed, this software fails to compile out of the box with both +  # LLVM and Clang. + +  fails_with :llvm do +    build '2336' +    cause <<-EOS.undent +      ld: warning: unexpected dylib (/usr/lib/libSystem.dylib) on link line +      Assertion failed: (_machoSection != 0), function machoSection, file /SourceCache/ld64/ld64-128.2/src/ld/ld.hpp, line 565. +    EOS +  end + +  fails_with :clang do +    build '318' +    cause <<-EOS.undent +      ld: warning: unexpected dylib (/usr/lib/libSystem.dylib) on link line +      Assertion failed: (_machoSection != 0), function machoSection, file /SourceCache/ld64/ld64-128.2/src/ld/ld.hpp, line 565. +    EOS +  end    def install      system "./configure", "--prefix=#{prefix}" +    system "make" +    # Separate steps, as install does not depend on compile properly      system "make install"    end  end | 
