Skip to content

Commit 19c04b3

Browse files
authored
lfortran 0.46.0 (#40)
2 parents d69ab91 + 4c9e710 commit 19c04b3

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Formula/lfortran.rb

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
class Lfortran < Formula
22
desc "Modern interactive LLVM-based Fortran compiler"
33
homepage "https://lfortran.org"
4-
url "https://lfortran.github.io/tarballs/release/lfortran-0.16.0.tar.gz"
5-
sha256 "9e1ae952bdaee845d9b9318ea06ed199c74da26704926c20fadaab794307c4fe"
4+
url "https://lfortran.github.io/tarballs/release/lfortran-0.46.0.tar.gz"
5+
sha256 "420885b4bcfd2206bc5ae9cdb658f2382b35b0e4d145476a97bdc7d642d4a588"
66
license "BSD-3-Clause"
77

88
bottle do
9-
root_url "https://github.com/fortran-lang/homebrew-fortran/releases/download/lfortran-0.16.0"
10-
sha256 cellar: :any, big_sur: "67d1ee4fd768f602cd2ed2dcd26dce2b2b011edaebbb7fea0e91541d4384624e"
9+
root_url "https://github.com/fortran-lang/homebrew-fortran/releases/download/lfortran-0.46.0"
10+
# sha256 cellar: :any, big_sur: "67d1ee4fd768f602cd2ed2dcd26dce2b2b011edaebbb7fea0e91541d4384624e"
1111
end
1212

1313
depends_on "cmake" => :build
1414
depends_on "ninja" => :build
15-
depends_on "llvm@14"
15+
depends_on "llvm"
16+
depends_on "z3"
1617
depends_on "zlib"
1718

1819
def install
@@ -26,13 +27,13 @@ def install
2627
end
2728

2829
test do
29-
system "#{bin}/lfortran", "--version"
30+
system bin/"lfortran", "--version"
3031
(testpath/"hello.f90").write <<~EOS
3132
program hello
3233
print *, "Hello, World!"
3334
end
3435
EOS
35-
system "#{bin}/lfortran", testpath/"hello.f90", "-o", testpath/"hello"
36+
system bin/"lfortran", testpath/"hello.f90", "-o", testpath/"hello"
3637
assert_path_exists testpath/"hello"
3738
system testpath/"hello"
3839
end

0 commit comments

Comments
 (0)