Skip to content

Commit

Permalink
veclibfort: phase out :fortran
Browse files Browse the repository at this point in the history
  • Loading branch information
fxcoudert committed Jan 13, 2018
1 parent b2437f1 commit ccf120c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Formula/veclibfort.rb
Expand Up @@ -3,7 +3,7 @@ class Veclibfort < Formula
homepage "https://github.com/mcg1969/vecLibFort"
url "https://github.com/mcg1969/vecLibFort/archive/0.4.2.tar.gz"
sha256 "c61316632bffa1c76e3c7f92b11c9def4b6f41973ecf9e124d68de6ae37fbc85"
revision 4
revision 5
head "https://github.com/mcg1969/vecLibFort.git"

bottle do
Expand All @@ -14,7 +14,7 @@ class Veclibfort < Formula
sha256 "6dcd136a00a22f25301da83534a6faf0171b391e00baf45b790d04d551c7202e" => :yosemite
end

depends_on :fortran
depends_on "gcc" # for gfortran

def install
system "make", "all"
Expand All @@ -23,9 +23,8 @@ def install
end

test do
ENV.fortran
system ENV.fc, "-o", "tester", "-O", pkgshare/"tester.f90",
"-L#{lib}", "-lvecLibFort"
system "gfortran", "-o", "tester", "-O", pkgshare/"tester.f90",
"-L#{lib}", "-lvecLibFort"
assert_match "SLAMCH", shell_output("./tester")
end
end

0 comments on commit ccf120c

Please sign in to comment.