diff --git a/Formula/o/or-tools.rb b/Formula/o/or-tools.rb index e7cf78423d9f6..e38662cae590c 100644 --- a/Formula/o/or-tools.rb +++ b/Formula/o/or-tools.rb @@ -1,10 +1,9 @@ class OrTools < Formula desc "Google's Operations Research tools" homepage "https://developers.google.com/optimization/" - url "https://github.com/google/or-tools/archive/refs/tags/v9.7.tar.gz" - sha256 "054d9517fc6c83f15150c93ef1c2c674ffd7d4a0d1fdc78f6ef8bc3e25c2e339" + url "https://github.com/google/or-tools/archive/refs/tags/v9.8.tar.gz" + sha256 "85e10e7acf0a9d9a3b891b9b108f76e252849418c6230daea94ac429af8a4ea4" license "Apache-2.0" - revision 5 head "https://github.com/google/or-tools.git", branch: "stable" livecheck do @@ -13,13 +12,13 @@ class OrTools < Formula end bottle do - sha256 cellar: :any, arm64_sonoma: "36a026337dbae0bd3cc6c0c6531088a82185f7b502e4b2adfcb8e6ba1a41bc53" - sha256 cellar: :any, arm64_ventura: "b2ae227b39a1269254fb914ff36fc8c1afcd1643e3dd3663bae3c965f78f0575" - sha256 cellar: :any, arm64_monterey: "88810428d4cebbbc74c4a640e4307b8bdf0d48150af8b2a4d9b6559e21f0f2f4" - sha256 cellar: :any, sonoma: "85b37dc475189c708465dd9709bb63db6a9b8a37a0db9ec01e7f9e0845ce7e86" - sha256 cellar: :any, ventura: "4fea378372b1d5cdd4bc458b7f645e92a94701cfdbfffbb2a38dc243153267f4" - sha256 cellar: :any, monterey: "49aa546a8661f2f3a1a36587dfc20d32d16456167f5642078e5690d9f6149f0b" - sha256 cellar: :any_skip_relocation, x86_64_linux: "26d590f6120d25ac7d2abe3a1fbd5fadc8cedcd6161bef5fbb406c6707b664c9" + sha256 cellar: :any, arm64_sonoma: "e1912b2832e4dba2dccff8b200e457e6033345a565745ab701d8ef3bd672e566" + sha256 cellar: :any, arm64_ventura: "376168b9817bb0aae9b1256a3fa51b8bd2bc1f86f42b1892c4fc869e585e5998" + sha256 cellar: :any, arm64_monterey: "21e1db64a945de4ae95afd9e81e33f761a50847446ad2ff853e91085af392635" + sha256 cellar: :any, sonoma: "bc816232179ce6e4ebc9e4286c97371b1753947be2deb777b0c1ab086c1c7c6f" + sha256 cellar: :any, ventura: "73c351a9b4fb389364be6c8c7e05b45093b3aa60269d372a5f7502d1d833aee1" + sha256 cellar: :any, monterey: "5d02cdb5186f03dea4d7b4d46bd7af076fdc8f64c9284cd1fbd4a7ba42a5a559" + sha256 cellar: :any_skip_relocation, x86_64_linux: "d5eee7ab5b31eb708ae9f8e24d7fa4b6366dcefea28232ce2067cd7d7f81dddd" end depends_on "cmake" => :build @@ -39,21 +38,6 @@ class OrTools < Formula fails_with gcc: "5" - # Fix build with abseil 20230802. Remove when included in a stable release. - # (It suffices to look for commit 734df45, the last of the three below.) - patch do - url "https://github.com/google/or-tools/commit/bb7c013bf8a4f1217ef3feb8f9670e6057b43aff.patch?full_index=1" - sha256 "ac2618ed0a4106ea0af37ea7fc91e34c2f93c2e17c264d9df31b5867ce302745" - end - patch do - url "https://github.com/google/or-tools/commit/aaf306ca38a4d634113d25a31ae7a558f824cab0.patch?full_index=1" - sha256 "e2f3cb11a9db4dc53e3452ae28dcd2160ca86886385acb0a9c3076b179a39e88" - end - patch do - url "https://github.com/google/or-tools/commit/734df45de4cf8c1a59b3fef972182dd0b48ef3e2.patch?full_index=1" - sha256 "9bffe6f80ef61da0591ec9970751a90cff5c023089d6bd6331686d8e5d3e87a1" - end - def install args = %w[ -DUSE_SCIP=OFF