Skip to content

Commit

Permalink
Merge pull request Homebrew#169150 from Homebrew/bump-ngt-2.2.1
Browse files Browse the repository at this point in the history
ngt 2.2.1
  • Loading branch information
BrewTestBot authored Apr 16, 2024
2 parents 23ac9d9 + c8d75ed commit 98aeae8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1359,6 +1359,7 @@ nexttrace
nfdump
nfpm
nginx
ngt
ninja
nixpacks
nng
Expand Down
24 changes: 14 additions & 10 deletions Formula/n/ngt.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Ngt < Formula
desc "Neighborhood graph and tree for indexing high-dimensional data"
homepage "https://github.com/yahoojapan/NGT"
url "https://github.com/yahoojapan/NGT/archive/refs/tags/v2.1.6.tar.gz"
sha256 "5c6c9a193a22a4d166db812fb5daf4fba487b10d772c1b196eb31839d7af51fb"
url "https://github.com/yahoojapan/NGT/archive/refs/tags/v2.2.1.tar.gz"
sha256 "1a0df4fd491ea332b7f4fc9d9473867b92f9f9dd2244ed199dfe8218785065c0"
license "Apache-2.0"

livecheck do
Expand All @@ -11,13 +11,13 @@ class Ngt < Formula
end

bottle do
sha256 cellar: :any, arm64_sonoma: "d2864b80dfaaad302ecd2b7fe3d5f86a18339eb57bf042e5711dcb55d0b6a74f"
sha256 cellar: :any, arm64_ventura: "a1820fda0bafd5d7f5553ae486d2c159f2d39f53fc1d71f8ad4922865b7fafe9"
sha256 cellar: :any, arm64_monterey: "1455b030244f63e64166aa46b970af47dbb5bd424d3e0a97e831b0b63ee5a12a"
sha256 cellar: :any, sonoma: "d3bfe5d5975d7a2cbe9af1ffabf24c8b7772065cbeb4329eea20e9b82b89dca5"
sha256 cellar: :any, ventura: "f7513822fc906371dbae5b32384959e6a5b9f66bd466a8c01cb4548de51a7ba4"
sha256 cellar: :any, monterey: "a83360da80811ac1199c54ae81d57591e61348f8726cb091600f7ff20f438c41"
sha256 cellar: :any_skip_relocation, x86_64_linux: "a36994d8b16f8016200147fb2e26915c55e731563c40543813c0eb288486eb79"
sha256 cellar: :any, arm64_sonoma: "0910f924adac8355c98d7c44992409bfb99d98fdbf2465a9417ecc0780f88622"
sha256 cellar: :any, arm64_ventura: "9f36036912060ce5b7b2f7d275c8f61205a9a68c38c136dba1a67e5c315d3422"
sha256 cellar: :any, arm64_monterey: "0b58f6d43c57f3a214949f8de8504fb62c3dcb30c1ef13f0008864317d8cb197"
sha256 cellar: :any, sonoma: "e7effb2a06fdaf40e816ba1e163b7d86c72d660f0ad443849b0d71282c4ece50"
sha256 cellar: :any, ventura: "16fdbfc64a0de172f00079a0671040d857a457c441ca84430034711aef413b5c"
sha256 cellar: :any, monterey: "9c080df0bea9e64017a807a72099d1910f39006b641ad33dbad6ae752fa6512a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "2651b1ba923c9053ecdfd3b68336919f97a8b327e150d004c9742b7eaa9ce947"
end

depends_on "cmake" => :build
Expand All @@ -31,7 +31,11 @@ class Ngt < Formula
end

def install
system "cmake", "-S", ".", "-B", "build", *std_cmake_args, "-DCMAKE_INSTALL_RPATH=#{rpath}"
args = %W[
-DCMAKE_INSTALL_RPATH=#{rpath}
-DNGT_BFLOAT_DISABLED=ON
]
system "cmake", "-S", ".", "-B", "build", *args, *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
pkgshare.install "data"
Expand Down

0 comments on commit 98aeae8

Please sign in to comment.