From b7bcfce0fb0b65dede31fd1bd0b8a641c8820a35 Mon Sep 17 00:00:00 2001 From: Federico Perini Date: Wed, 12 Mar 2025 19:01:06 +0100 Subject: [PATCH 1/2] lfortran 0.48.0 --- Formula/lfortran.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Formula/lfortran.rb b/Formula/lfortran.rb index 6d3113a..c4c6738 100644 --- a/Formula/lfortran.rb +++ b/Formula/lfortran.rb @@ -1,12 +1,12 @@ class Lfortran < Formula desc "Modern interactive LLVM-based Fortran compiler" homepage "https://lfortran.org" - url "https://lfortran.github.io/tarballs/release/lfortran-0.46.0.tar.gz" + url "https://github.com/lfortran/lfortran/releases/download/v0.48.0/lfortran-0.48.0.tar.gz" sha256 "420885b4bcfd2206bc5ae9cdb658f2382b35b0e4d145476a97bdc7d642d4a588" license "BSD-3-Clause" bottle do - root_url "https://github.com/fortran-lang/homebrew-fortran/releases/download/lfortran-0.46.0" + root_url "https://github.com/fortran-lang/homebrew-fortran/releases/download/lfortran-0.48.0" rebuild 1 sha256 cellar: :any, arm64_sonoma: "18463218cdd1a5fc09b468f27051b55a03c8c693c73aff6b3a6696cc439c2f59" sha256 cellar: :any, ventura: "62dc18247373cd3ec6364783e8e3e645d246e64b8a72026a3be6eca3f892f227" @@ -22,6 +22,7 @@ def install cmake_args = std_cmake_args cmake_args << "-DCMAKE_CXX_FLAGS_RELEASE=-O3 -funroll-loops -DNDEBUG" cmake_args << "-DWITH_LLVM=ON" + cmake_args << "-DWITH_LSP=yes" system "cmake", *cmake_args, "-G", "Ninja", "-B", "build" system "cmake", "--build", "build" system "ctest", "--test-dir", "build", "--output-on-failure" From f50b2ec5108acb6d7183840379a9372a087c2e26 Mon Sep 17 00:00:00 2001 From: Federico Perini Date: Wed, 12 Mar 2025 19:13:05 +0100 Subject: [PATCH 2/2] update sha256 --- Formula/lfortran.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/lfortran.rb b/Formula/lfortran.rb index c4c6738..ab049f7 100644 --- a/Formula/lfortran.rb +++ b/Formula/lfortran.rb @@ -2,7 +2,7 @@ class Lfortran < Formula desc "Modern interactive LLVM-based Fortran compiler" homepage "https://lfortran.org" url "https://github.com/lfortran/lfortran/releases/download/v0.48.0/lfortran-0.48.0.tar.gz" - sha256 "420885b4bcfd2206bc5ae9cdb658f2382b35b0e4d145476a97bdc7d642d4a588" + sha256 "13569cd83a00ec03473f5425c31e9420f185bbc717d70919b14e7f3a7fb52bba" license "BSD-3-Clause" bottle do