From 67b8b60638cf96e46dcef62db0f450db717db3cf Mon Sep 17 00:00:00 2001 From: PaperChalice Date: Mon, 25 Mar 2024 11:33:47 +0800 Subject: [PATCH] u --- Formula/llvm/libunwind.rb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Formula/llvm/libunwind.rb b/Formula/llvm/libunwind.rb index ff59575a..4f372aeb 100644 --- a/Formula/llvm/libunwind.rb +++ b/Formula/llvm/libunwind.rb @@ -1,9 +1,8 @@ class Libunwind < Formula desc "LLVM unwinding library" homepage "https://libcxx.llvm.org/" - url "https://github.com/llvm/llvm-project.git", - tag: "llvmorg-14.0.0", - revision: "329fda39c507e8740978d10458451dcdb21563be" + url "https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.2/llvm-project-18.1.2.src.tar.xz" + sha256 "51073febd91d1f2c3b411d022695744bda322647e76e0b4eb1918229210c48d5" license "Apache-2.0" => { with: "LLVM-exception" } bottle do @@ -20,9 +19,15 @@ def install -S runtimes -B build ] + build_args = %w[ + --build + build + --target + install-unwind-stripped + ] system "cmake", *cmake_args - system "cmake", "--build", "build", "--target", "install-unwind" + system "cmake", *build_args end test do