8000 xtensor: depends on xtl not resource · Homebrew/homebrew-core@0c79cf7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0c79cf7

Browse files
committed
xtensor: depends on xtl not resource
1 parent 91d06af commit 0c79cf7

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

Formula/x/xtensor.rb

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,10 @@ class Xtensor < Formula
1010
end
1111

1212
depends_on "cmake" => :build
13-
14-
resource "xtl" do
15-
url "https://github.com/xtensor-stack/xtl/archive/refs/tags/0.8.0.tar.gz"
16-
sha256 "ee38153b7dd0ec84cee3361f5488a4e7e6ddd26392612ac8821cbc76e740273a"
17-
end
13+
depends_on "xtl"
1814

1915
def install
20-
resource("xtl").stage do
21-
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
22-
system "cmake", "--build", "build"
23-
system "cmake", "--install", "build"
24-
end
25-
26-
system "cmake", "-S", ".", "-B", "build", "-Dxtl_DIR=#{lib}/cmake/xtl", *std_cmake_args
16+
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
2717
system "cmake", "--build", "build"
2818
system "cmake", "--install", "build"
2919
end

0 commit comments

Comments
 (0)
0