File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
class Lfortran < Formula
2
2
desc "Modern interactive LLVM-based Fortran compiler"
3
3
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 "
6
6
license "BSD-3-Clause"
7
7
8
8
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"
11
11
end
12
12
13
13
depends_on "cmake" => :build
14
14
depends_on "ninja" => :build
15
- depends_on "llvm@14"
15
+ depends_on "llvm"
16
+ depends_on "z3"
16
17
depends_on "zlib"
17
18
18
19
def install
@@ -26,13 +27,13 @@ def install
26
27
end
27
28
28
29
test do
29
- system " #{ bin } / lfortran", "--version"
30
+ system bin / " lfortran", "--version"
30
31
( testpath /"hello.f90" ) . write <<~EOS
31
32
program hello
32
33
print *, "Hello, World!"
33
34
end
34
35
EOS
35
- system " #{ bin } / lfortran", testpath /"hello.f90" , "-o" , testpath /"hello"
36
+ system bin / " lfortran", testpath /"hello.f90" , "-o" , testpath /"hello"
36
37
assert_path_exists testpath /"hello"
37
38
system testpath /"hello"
38
39
end
You can’t perform that action at this time.
0 commit comments