Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
d8efd4a
eigen 5.0.0
cho-m Oct 1, 2025
b0fc3f0
alpscore: revision bump (eigen 5.0.0)
cho-m Oct 4, 2025
6862695
ceres-solver: revision bump (eigen 5.0.0)
cho-m Oct 4, 2025
a574bc1
eigenpy: revision bump (eigen 5.0.0)
cho-m Nov 1, 2025
fa4cdb8
fcl: revision bump (eigen 5.0.0)
cho-m Nov 1, 2025
f636d10
g2o: revision bump (eigen 5.0.0)
cho-m Nov 1, 2025
ef6763d
ifopt: revision bump (eigen 5.0.0)
cho-m Nov 1, 2025
bf928a5
lbfgspp: revision bump (eigen 5.0.0)
cho-m Nov 1, 2025
4cfe145
open-babel: revision bump (eigen 5.0.0)
cho-m Nov 2, 2025
98bbd8b
opencv: revision bump (eigen 5.0.0)
cho-m Nov 2, 2025
b3af640
orocos-kdl: revision bump (eigen 5.0.0)
cho-m Nov 1, 2025
1dd6d47
pagmo: revision bump (eigen 5.0.0)
cho-m Nov 1, 2025
5c0989a
pcl: revision bump (eigen 5.0.0)
cho-m Nov 1, 2025
978912f
quantum++: revision bump (eigen 5.0.0)
cho-m Oct 5, 2025
0974625
rtabmap: revision bump (eigen 5.0.0)
cho-m Nov 2, 2025
b1a941a
sophus: revision bump (eigen 5.0.0)
cho-m Nov 1, 2025
e9f4d72
visp: revision bump (eigen 5.0.0)
cho-m Nov 2, 2025
7f2709d
votca: revision bump (eigen 5.0.0)
cho-m Nov 1, 2025
83a8eb4
spectra: update test
cho-m Nov 1, 2025
a5f96ee
alpscore: update 2.3.2_1 bottle.
BrewTestBot Nov 2, 2025
fb5f6b1
ceres-solver: update 2.2.0_3 bottle.
BrewTestBot Nov 2, 2025
8caeab2
eigen: update 5.0.0 bottle.
BrewTestBot Nov 2, 2025
83be9f7
eigenpy: update 3.12.0_3 bottle.
BrewTestBot Nov 2, 2025
90940e8
fcl: update 0.7.0_2 bottle.
BrewTestBot Nov 2, 2025
7707bf4
g2o: update 20241228_1 bottle.
BrewTestBot Nov 2, 2025
99da81f
ifopt: update 2.1.4_1 bottle.
BrewTestBot Nov 2, 2025
a4ace83
lbfgspp: update 0.4.0_1 bottle.
BrewTestBot Nov 2, 2025
d9179c4
open-babel: update 3.1.1_3 bottle.
BrewTestBot Nov 2, 2025
d583156
opencv: update 4.12.0_14 bottle.
BrewTestBot Nov 2, 2025
188482d
orocos-kdl: update 1.5.3_1 bottle.
BrewTestBot Nov 2, 2025
b5283f8
pagmo: update 2.19.1_6 bottle.
BrewTestBot Nov 2, 2025
f52e60f
pcl: update 1.15.1_2 bottle.
BrewTestBot Nov 2, 2025
4ec6d09
quantum++: update 6.0_1 bottle.
BrewTestBot Nov 2, 2025
60d28ca
rtabmap: update 0.22.1_5 bottle.
BrewTestBot Nov 2, 2025
0ef3a6f
sophus: update 1.24.6_1 bottle.
BrewTestBot Nov 2, 2025
6256d83
spectra: update 1.2.0 bottle.
BrewTestBot Nov 2, 2025
88363c3
visp: update 3.6.0_19 bottle.
BrewTestBot Nov 2, 2025
d9abd4c
votca: update 2025.1_1 bottle.
BrewTestBot Nov 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Aliases/eigen@5
23 changes: 14 additions & 9 deletions Formula/a/alpscore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ class Alpscore < Formula
url "https://github.com/ALPSCore/ALPSCore/archive/refs/tags/v2.3.2.tar.gz"
sha256 "bd9b5af0a33acc825ffedfaa0bf794a420ab2b9b50f6a4e634ecbde43ae9cc24"
license "GPL-2.0-only"
revision 1

bottle do
rebuild 1
sha256 cellar: :any, arm64_tahoe: "86681a415ce9b23f7664b88625224dd56d8a55c718e698f2627cf627a34a36a9"
sha256 cellar: :any, arm64_sequoia: "f2ff9f51f2beb340a170abe4f12766fe64610c553ee3663b114b30e906bd63e6"
sha256 cellar: :any, arm64_sonoma: "9dd1b63f515a48f80865690450291d797cda75ac505fb75454c1a86fd50f8c7d"
sha256 cellar: :any, sonoma: "f104a219812971245726f55e4c1134f06871b6691f5730d90d6df3b243460410"
sha256 cellar: :any_skip_relocation, arm64_linux: "b97b22e40afaa673e367c222e424c8539d73e9c495e8a9e1660b2ff26fa94a2e"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f96e68846f519f016c8d6e661a6eebb6f8f2efbe44f8fc2ef6a64715fb825963"
sha256 cellar: :any, arm64_tahoe: "c126dec161f1b5f224e3811bfa7725cffc28c07a7353117e732e73a5e98c545c"
sha256 cellar: :any, arm64_sequoia: "0f73bb0b70e164a8a4ea330153fb90a55704627dbce801fb2256dca62d068352"
sha256 cellar: :any, arm64_sonoma: "d400c7a4d8877d42213b712c7ca565dd90810368bfe5f86b70557a8f8d0e2dd3"
sha256 cellar: :any, sonoma: "4b977847e01b872501059cd69d19fd82a371b8a89c219967898a6ca48a39332d"
sha256 cellar: :any_skip_relocation, arm64_linux: "0ac7f13cd5680672509610183e0d0b9cfce2a443011b1b8eb7d597170eb26496"
sha256 cellar: :any_skip_relocation, x86_64_linux: "39f48a1bbd7bb2136497962321d05351de1414aed5c6f37e178331cf5aa4d81e"
end

depends_on "cmake" => [:build, :test]
Expand All @@ -29,9 +29,14 @@ class Alpscore < Formula

# Apply open PR to support Eigen 5.0.0
# PR ref: https://github.com/ALPSCore/ALPSCore/pull/651
# PR ref: https://github.com/ALPSCore/ALPSCore/pull/656
patch do
url "https://github.com/ALPSCore/ALPSCore/commit/0a7952abb3570e48d04d435d7d9d16ecbd06fb2a.patch?full_index=1"
sha256 "f007f65367528149ce5c4ad871aea600bbe05dd374c100588d577a07e3a05818"
url "https://github.com/ALPSCore/ALPSCore/commit/b2e21ce65b323196f04490c362694f0c30f8cdde.patch?full_index=1"
sha256 "8f237373e7a945126e5a1b88d8707ea2d67a263369134d6302205646f35af4e5"
end
patch do
url "https://github.com/ALPSCore/ALPSCore/commit/98a707d2bef2520df1fccfaf132c94ca7c909bb6.patch?full_index=1"
sha256 "ad13d526ccbc7f7c90c1bf2895e7bc0143ad8630729d616d391e86d04ffaecd9"
end

def install
Expand Down
53 changes: 44 additions & 9 deletions Formula/c/ceres-solver.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
class CeresSolver < Formula
desc "C++ library for large-scale optimization"
homepage "http://ceres-solver.org/"
url "http://ceres-solver.org/ceres-solver-2.2.0.tar.gz"
sha256 "48b2302a7986ece172898477c3bcd6deb8fb5cf19b3327bc49969aad4cede82d"
license "BSD-3-Clause"
revision 2
revision 3
head "https://ceres-solver.googlesource.com/ceres-solver.git", branch: "master"

stable do
url "http://ceres-solver.org/ceres-solver-2.2.0.tar.gz"
sha256 "48b2302a7986ece172898477c3bcd6deb8fb5cf19b3327bc49969aad4cede82d"

# Backport support for eigen 5.0.0
patch :DATA # https://github.com/ceres-solver/ceres-solver/commit/f0720aeb84ec7bb479fe3618b30fa54981baf8fd
patch do
url "https://github.com/ceres-solver/ceres-solver/commit/f9b7b6651b108136a16df44d91fb31735645f5a7.patch?full_index=1"
sha256 "019006cc850b19b442e108118c599c98b18af8eb06ab37c22e6698c55d55a512"
end
end

livecheck do
url "http://ceres-solver.org/installation.html"
regex(/href=.*?ceres-solver[._-]v?(\d+(?:\.\d+)+)\.t/i)
Expand All @@ -15,12 +25,12 @@ class CeresSolver < Formula
no_autobump! because: :requires_manual_review

bottle do
sha256 cellar: :any, arm64_tahoe: "313ed5690a361970bdea14a72c09a8303dc2172b84fc1d8204dbb79b913d00e7"
sha256 cellar: :any, arm64_sequoia: "4e5508fed469c7de173c44f6875a93e27758aa61a1f3ee0daa1bea279b5703b5"
sha256 cellar: :any, arm64_sonoma: "4dc3d66678294486b58e513950109a4d593286eeb02d21b076de35d1aae0d126"
sha256 cellar: :any, sonoma: "c17ec0c69c71db298cc62c1447e9c108cbbd8711e676051d7768049ec6614caa"
sha256 cellar: :any_skip_relocation, arm64_linux: "ceceda8cfbf36c576474fef71487f756ee03183c20453e1fe25ba304972ee994"
sha256 cellar: :any_skip_relocation, x86_64_linux: "3bf8a2f59441ee79ae0d2fab7a7cfabf6f3aec910c1c2695a215fe673bf7a0c5"
sha256 cellar: :any, arm64_tahoe: "81b100c1ef3f92810a9b4f2b9a602b7a1e6b6d7e11a88a677a2886f53fcaccb6"
sha256 cellar: :any, arm64_sequoia: "dae580fccf96c376fc90bca15973a3375dd56dfe6a3760a19041ec52fc6c621e"
sha256 cellar: :any, arm64_sonoma: "66b7cfa4fabfc643db7d86944657198286a8665f2c00302071091680b6fa03b3"
sha256 cellar: :any, sonoma: "d997d14192319044b9a573c2d550779dd24c90c574f2c285ca5d705de509f648"
sha256 cellar: :any_skip_relocation, arm64_linux: "3dc978b76da56deeec522b9c78fee5348c3d34849704c218cef09c63604aea85"
sha256 cellar: :any_skip_relocation, x86_64_linux: "1e9385fbe9eeb9f92b0a190ad029bbf9aa916d05c8784afcce5f86b307848ac8"
end

depends_on "cmake" => [:build, :test]
Expand Down Expand Up @@ -58,3 +68,28 @@ def install
assert_match "CONVERGENCE", shell_output("./build/helloworld")
end
end

__END__
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f53e9981b..af932c6a7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -234,17 +234,9 @@ unset(CERES_COMPILE_OPTIONS)

# Eigen.
# Eigen delivers Eigen3Config.cmake since v3.3.3
-find_package(Eigen3 3.3 REQUIRED)
+find_package(Eigen3 3.3.4 REQUIRED NO_MODULE)
if (Eigen3_FOUND)
message("-- Found Eigen version ${Eigen3_VERSION}: ${Eigen3_DIR}")
- if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64.*|AARCH64.*)" AND
- Eigen3_VERSION VERSION_LESS 3.3.4)
- # As per issue #289: https://github.com/ceres-solver/ceres-solver/issues/289
- # the bundle_adjustment_test will fail for Eigen < 3.3.4 on aarch64.
- message(FATAL_ERROR "-- Ceres requires Eigen version >= 3.3.4 on aarch64. "
- "Detected version of Eigen is: ${Eigen3_VERSION}.")
- endif()
-
if (EIGENSPARSE)
message("-- Enabling use of Eigen as a sparse linear algebra library.")
list(APPEND CERES_COMPILE_OPTIONS CERES_USE_EIGEN_SPARSE)
11 changes: 5 additions & 6 deletions Formula/e/eigen.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
class Eigen < Formula
desc "C++ template library for linear algebra"
homepage "https://gitlab.com/libeigen/eigen"
# TODO: remove LGPL from licenses in 5.0.0
url "https://gitlab.com/libeigen/eigen/-/archive/3.4.1/eigen-3.4.1.tar.gz"
sha256 "b93c667d1b69265cdb4d9f30ec21f8facbbe8b307cf34c0b9942834c6d4fdbe2"
url "https://gitlab.com/libeigen/eigen/-/archive/5.0.0/eigen-5.0.0.tar.gz"
sha256 "315c881e19e17542a7d428c5aa37d113c89b9500d350c433797b730cd449c056"
license all_of: [
"MPL-2.0",
"Apache-2.0", # BFloat16.h
"BSD-3-Clause", # bindings to BLAS, LAPACKe and MKL
"Minpack", # LevenbergMarquardt
"LGPL-2.1-only", # IterativeSolvers, removed in 5.0.0
]
head "https://gitlab.com/libeigen/eigen.git", branch: "master"

Expand All @@ -22,7 +20,7 @@ class Eigen < Formula
end

bottle do
sha256 cellar: :any_skip_relocation, all: "64ee1c43cc38e7ceb2efcfacd905212dcb4ffb1434d3833c006cbffdd3a7608c"
sha256 cellar: :any_skip_relocation, all: "d0cef7ca9fbd856498d50ee5bd0de3cfb644fb2d49e303c5bd73bfc95cccf05d"
end

depends_on "cmake" => :build
Expand All @@ -32,6 +30,7 @@ def install
-DEIGEN_BUILD_BLAS=OFF
-DEIGEN_BUILD_LAPACK=OFF
]
args << "-DEIGEN_PRERELEASE_VERSION=" if build.stable?

system "cmake", "-S", ".", "-B", "build", *args, *std_cmake_args
system "cmake", "--install", "build"
Expand All @@ -52,7 +51,7 @@ def install
std::cout << m << std::endl;
}
CPP
system ENV.cxx, "test.cpp", "-I#{include}/eigen3", "-o", "test"
system ENV.cxx, "-std=c++14", "test.cpp", "-I#{include}/eigen3", "-o", "test"
assert_equal %w[3 -1 2.5 1.5], shell_output("./test").split
end
end
37 changes: 27 additions & 10 deletions Formula/e/eigenpy.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,36 @@
class Eigenpy < Formula
desc "Python bindings of Eigen library with Numpy support"
homepage "https://github.com/stack-of-tasks/eigenpy"
url "https://github.com/stack-of-tasks/eigenpy/releases/download/v3.12.0/eigenpy-3.12.0.tar.gz"
sha256 "e6b7f17e1b7fb61e52447ceee8f47c3fc2c8f9cc4d19317e0467dc71babdb350"
license "BSD-2-Clause"
revision 2
head "https://github.com/stack-of-tasks/eigenpy.git", branch: "master"
revision 3
head "https://github.com/stack-of-tasks/eigenpy.git", branch: "devel"
Comment thread
cho-m marked this conversation as resolved.

stable do
url "https://github.com/stack-of-tasks/eigenpy/releases/download/v3.12.0/eigenpy-3.12.0.tar.gz"
sha256 "e6b7f17e1b7fb61e52447ceee8f47c3fc2c8f9cc4d19317e0467dc71babdb350"

# Backport support for eigen 5.0.0
patch do
url "https://github.com/stack-of-tasks/eigenpy/commit/0bb71c7da9c297a334f2de419df13ba2c7a67312.patch?full_index=1"
sha256 "812274fc7fa68e3af3ede5324590aa2e7ae06f264ac1927989dfe6e324374791"
end
patch do
url "https://github.com/stack-of-tasks/eigenpy/commit/a64334c3ddbdd9ffd9f3b65a0b9c1e0d1d2b8c96.patch?full_index=1"
sha256 "2110114b6467e5e2889ea55b9e3b2ef5f8cc965a914bfd62d2335e526551d421"
end
patch do
url "https://github.com/stack-of-tasks/eigenpy/commit/2a4adb8af92eebd1dac321010db040797100b91d.patch?full_index=1"
sha256 "ef47a99123a391c6d3a7be683d5667b3d2f94562d1b4a6c8284c8acc1928b4c2"
end
end

bottle do
sha256 cellar: :any, arm64_tahoe: "5dba4558782405576b2cb6764135000d9a4cad5cf38e500a4a1f3f8dd612063c"
sha256 cellar: :any, arm64_sequoia: "95797a7a45aa19440352ab14e0f1920135961f6d435cbb0c9f498c98c4c50581"
sha256 cellar: :any, arm64_sonoma: "3a4339729cbcafebc07c2b2ed45aa5f18f02fba8ab78dbbdb9918fcdbb773543"
sha256 cellar: :any, sonoma: "a287960361234bde9ee9c17481222d81b4231eb67ec80314a77ae0089ce8df90"
sha256 cellar: :any_skip_relocation, arm64_linux: "9abf2e0f4f9b183f5872193216ef47e0370a5a4ba298e61b90288cad3a6320c1"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f48af78a3b5b26b468884fdee921e7b2c322defbd51a7a8dfacbc7277f633e1b"
sha256 cellar: :any, arm64_tahoe: "4bc4249358018e11dbf082882d5a8d280ff61a6aaaf9dcb02c9731873eb282e2"
sha256 cellar: :any, arm64_sequoia: "d85e4f6055f6991659dc3f1c891b050d462d194a4e2d31736e347e22634bb640"
sha256 cellar: :any, arm64_sonoma: "bac224417799d9a62f1f9593e8104c4c4604ebc28864dbce0575d190d18a9eb9"
sha256 cellar: :any, sonoma: "7259543d2fa81a1a80c7f5224e8d08fcbcec8eca95239a0346a679be8158e6ed"
sha256 cellar: :any_skip_relocation, arm64_linux: "24dc41bef5374918602dfd3d6cf81a335c9ece6b9dfca174d27d2ea026f4e396"
sha256 cellar: :any_skip_relocation, x86_64_linux: "9738e55c4291e8105bca2f748b3626600219481daea1c31ab3e2744c92f5ec84"
end

depends_on "boost" => :build
Expand Down
52 changes: 37 additions & 15 deletions Formula/f/fcl.rb
Original file line number Diff line number Diff line change
@@ -1,25 +1,47 @@
class Fcl < Formula
desc "Flexible Collision Library"
homepage "https://flexible-collision-library.github.io/"
url "https://github.com/flexible-collision-library/fcl/archive/refs/tags/0.7.0.tar.gz"
sha256 "90409e940b24045987506a6b239424a4222e2daf648c86dd146cbcb692ebdcbc"
license "BSD-3-Clause"
revision 1
revision 2
head "https://github.com/flexible-collision-library/fcl.git", branch: "master"

stable do
url "https://github.com/flexible-collision-library/fcl/archive/refs/tags/0.7.0.tar.gz"
sha256 "90409e940b24045987506a6b239424a4222e2daf648c86dd146cbcb692ebdcbc"

# Backport C++ standard changes
patch do
url "https://github.com/flexible-collision-library/fcl/commit/1257b4183e0ae4890294b0edea780605c2533cfd.patch?full_index=1"
sha256 "d3bb6bc82e926d4a89c19064f79b11506fa9899d52c46a482e3f9b41785b1291"
end

# Backport commits to apply subsequent patch
patch do
url "https://github.com/flexible-collision-library/fcl/commit/beffa1bb54da6686e8167843e051a3f9a2bad6f7.patch?full_index=1"
sha256 "ab2058f7316e8ad6e9caa253e94c6f8dcad633ae02473d6353b9003552909525"
end
patch do
url "https://github.com/flexible-collision-library/fcl/commit/3c2b993a0b1a10f888a53cce4f3c73035ab862c3.patch?full_index=1"
sha256 "a483773630e9f28c59ace7edacb0a782c9b6a1830514b92e1465ce4828e1111d"
end

# Apply open PR to add cassert includes needed for eigen 5.0.0
# PR ref: https://github.com/flexible-collision-library/fcl/pull/649
patch do
url "https://github.com/flexible-collision-library/fcl/commit/75ad2bc55acefb6c5638ed2730827530b4b7a176.patch?full_index=1"
sha256 "6265c1178fe237313e107ae19386d7fc5d69638213d705290ddb61aea0b0fda2"
end
end

no_autobump! because: :requires_manual_review

bottle do
sha256 cellar: :any, arm64_tahoe: "bd6336e3163c45d2b6a7966cafc3a3dac0f48919e43e189b52e564684ed2b35c"
sha256 cellar: :any, arm64_sequoia: "0ab8eb79ee5ae022e186975198bd18da7cde25c41cb9e52e70366bf20de59e48"
sha256 cellar: :any, arm64_sonoma: "6a4d2a1e04f17fb6cf2d7ed92524f09a841c3b212f3ecf22d9dc00dd294bb895"
sha256 cellar: :any, arm64_ventura: "d147e210255b79430e8fed2455325c53aa0975c2f081b39c44050c5921efd813"
sha256 cellar: :any, arm64_monterey: "05d4d212709bccf7dc0f78eb01882937cdfa656ee019b47493baf6c404d33359"
sha256 cellar: :any, sonoma: "24a08459f44fe31c2021fe74d4e3cc05dbc32141ad8d941e60c60863229e6635"
sha256 cellar: :any, ventura: "06b3d235437c8047c3aa7d3951e15e254a6a81dc45546fb34d8732ddeaac68ba"
sha256 cellar: :any, monterey: "199ee80d6917e61d200cb4ce8fd9516542270ce9eefdfb3139d98f203251fade"
sha256 cellar: :any_skip_relocation, arm64_linux: "ba0e24c6cbceb1fde43ffafecf538b4b8b6c45ed1cd361deb12cca64db7136a1"
sha256 cellar: :any_skip_relocation, x86_64_linux: "5840ff43dc2df33f18284bf49f0c29c254d5993d71da5d9939bb18ce316da35d"
sha256 cellar: :any, arm64_tahoe: "520b5eb150c605c3d52439c344b97fc921978a7b766141f0deeb000d52a2be6c"
sha256 cellar: :any, arm64_sequoia: "c3d2ac35822520051226489edef7331201d92857144d64a6fbc16339570bfbd5"
sha256 cellar: :any, arm64_sonoma: "84514294768694993849b6182e1c24956c437a05d1b3060033e5fb63590a81b9"
sha256 cellar: :any, sonoma: "c940f7e641313fc86f737a53cdee88816a34e0d89b67f626df78144c9d932147"
sha256 cellar: :any_skip_relocation, arm64_linux: "8a6759eb4c1576b674bdf4528dc205df0e1ded7d98701282abc1b5868084767b"
sha256 cellar: :any_skip_relocation, x86_64_linux: "5213117e4717273be6ea9baf0bccda5ad8ec98a258be6e125b41d151b0cc5e32"
end

depends_on "cmake" => :build
Expand All @@ -29,7 +51,7 @@ class Fcl < Formula
depends_on "octomap"

def install
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
system "cmake", "-S", ".", "-B", "build", "-DCMAKE_CXX_STANDARD=14", *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
end
Expand All @@ -44,7 +66,7 @@ def install
}
CPP

system ENV.cxx, "test.cpp", "-std=c++11", "-I#{include}",
system ENV.cxx, "test.cpp", "-std=c++14", "-I#{include}",
"-I#{Formula["eigen"].include}/eigen3",
"-L#{lib}", "-lfcl", "-o", "test"
system "./test"
Expand Down
27 changes: 19 additions & 8 deletions Formula/g/g2o.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,37 @@ class G2o < Formula
version "20241228"
sha256 "d691ead69184ebbb8256c9cd9f4121d1a880b169370efc0554dd31a64802a452"
license "BSD-2-Clause"
revision 1

livecheck do
url :stable
regex(/^v?(\d+(?:\.\d+)*)(?:[._-]git)?$/i)
end

bottle do
sha256 cellar: :any, arm64_tahoe: "8c43b5abf0708ddb98c08d56aad335d7a44789627413358ea7cd40d4a664bd12"
sha256 cellar: :any, arm64_sequoia: "14a9b3fa5a5807affa0289809e379b64edf01d701f3b5a654f2ca42b8325c41a"
sha256 cellar: :any, arm64_sonoma: "9cad139379e98c63deaf37bed5ad74793ccb2730804f498e647faf996e8cc418"
sha256 cellar: :any, arm64_ventura: "ee55fcb396513cf2bdd28f279f6616c2e47cb5d86d19a7b2a4b5a0b30323952f"
sha256 cellar: :any, sonoma: "b5dd18e068c2dd0e29b798854806ed1a441beca2b6d1c9b763b9891c7b6e4514"
sha256 cellar: :any, ventura: "70d60d6efa8c3216129d34777c0715f7cfa5fa0c3a23f86335b0609ffb989dea"
sha256 cellar: :any_skip_relocation, arm64_linux: "d017827ecc09b2036bee06e95bd388c87b95f57dc5f3b6a2c2790580a8676bb4"
sha256 cellar: :any_skip_relocation, x86_64_linux: "432f0cc70da40868d5e102a30d2d4d0ce26c70b2431e5fa5fc4922de981b7046"
sha256 cellar: :any, arm64_tahoe: "5ad0c65eda4765cf3816241e2d0604e2c2853783f6d9e8349843a97524f5fb43"
sha256 cellar: :any, arm64_sequoia: "e153559ae44f9a8f966ce19056422e03d812cca7c17e3787a9998ef2b03d12c5"
sha256 cellar: :any, arm64_sonoma: "0effe3348f065a1ed358fd4555b51b5c28f02e846c21613452291db66690eea2"
sha256 cellar: :any, tahoe: "e5b0c09abb8b30d083725953ccbff1f932572fb130a6b32fb406068e8d16bb40"
sha256 cellar: :any, sequoia: "774980c34fa4a1e3bb4e7872f0fa5669786132ad28ed179d7377426d6bc9ed23"
sha256 cellar: :any, sonoma: "bc60e66fe653f8541745eb9c767cef2b86b9710ea32d631020bdce5b03c7f8ae"
sha256 cellar: :any_skip_relocation, arm64_linux: "0248efaf0de4f324fcab96dcb21faf224f4064249405f85ef7715bd3a2304001"
sha256 cellar: :any_skip_relocation, x86_64_linux: "a5ba022e961df0b0629d7b57185a7867ede5c71151bf55720f06cee79fe75f61"
end

depends_on "cmake" => :build
depends_on "eigen"

# Backport support for eigen 5.0.0
patch do
url "https://github.com/RainerKuemmerle/g2o/commit/5ad2b3d8b550bad67242d90115f28c5b725da2a1.patch?full_index=1"
sha256 "f2c0139a045b0ef7380d56d368d1ee0cbd11feeff2dede9858d6a8532a7103bb"
end
patch do
url "https://github.com/RainerKuemmerle/g2o/commit/ef80e643adeb700536dd282dd4316c90cfc05fe8.patch?full_index=1"
sha256 "ac9abf38a4425fd95ceb4a295160bec5a2f2bbd2bb2f8695951ba9e0c101edc4"
end

def install
cmake_args = std_cmake_args + %w[-DG2O_BUILD_EXAMPLES=OFF]
# For Intel: manually set desired SSE features to enable support for older machines.
Expand Down
Loading
Loading