File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 11class 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
You can’t perform that action at this time.
0 commit comments