Skip to content
Merged
Show file tree
Hide file tree
Changes from 19 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
10 changes: 8 additions & 2 deletions Formula/a/alpscore.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
class Alpscore < Formula
desc "Applications and libraries for physics simulations"
homepage "https://alpscore.org"
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
Expand All @@ -29,9 +30,14 @@

# 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
41 changes: 38 additions & 3 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 Down Expand Up @@ -58,3 +68,28 @@
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)
9 changes: 4 additions & 5 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 @@ -32,6 +30,7 @@
-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 @@
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
25 changes: 21 additions & 4 deletions Formula/e/eigenpy.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
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"
Expand Down
36 changes: 31 additions & 5 deletions Formula/f/fcl.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,38 @@
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
Expand All @@ -29,7 +55,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 +70,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
11 changes: 11 additions & 0 deletions Formula/g/g2o.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class G2o < Formula
version "20241228"
sha256 "d691ead69184ebbb8256c9cd9f4121d1a880b169370efc0554dd31a64802a452"
license "BSD-2-Clause"
revision 1

livecheck do
url :stable
Expand All @@ -25,6 +26,16 @@ class G2o < Formula
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
10 changes: 9 additions & 1 deletion Formula/i/ifopt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Ifopt < Formula
url "https://github.com/ethz-adrl/ifopt/archive/refs/tags/2.1.4.tar.gz"
sha256 "da38f91a282f3ed305db163954c37d999b6e95f5d2c913a63bae3fef9ffb3a37"
license "BSD-3-Clause"
revision 1

bottle do
sha256 cellar: :any, arm64_tahoe: "5bf0d19327f812c4fafdd5bf01874b2d4a3699dc194d9e1d57cfe7936b8b6020"
Expand All @@ -21,6 +22,13 @@ class Ifopt < Formula
depends_on "eigen"
depends_on "ipopt"

# Apply open PR to support eigen 5.0.0
# PR ref: https://github.com/ethz-adrl/ifopt/pull/110
patch do
url "https://github.com/ethz-adrl/ifopt/commit/deb3209d5e34cdaa896c7432f6ee1138148ddfda.patch?full_index=1"
sha256 "95e1ee352d1842811b2e015a78be304bfce0af867f8233f7e5e7e94aa01aae2d"
end

def install
system "cmake", "-S", ".", "-B", "build", "-DCMAKE_POLICY_VERSION_MINIMUM=3.5", *std_cmake_args
system "cmake", "--build", "build"
Expand All @@ -30,7 +38,7 @@ def install

test do
cp pkgshare/"test/ex_test_ipopt.cc", "test.cpp"
system ENV.cxx, "-std=c++11", "test.cpp", "-o", "test",
system ENV.cxx, "-std=c++14", "test.cpp", "-o", "test",
"-I#{Formula["eigen"].opt_include}/eigen3",
"-L#{lib}", "-lifopt_core", "-lifopt_ipopt"
assert_match "Optimal Solution Found", shell_output("./test")
Expand Down
10 changes: 9 additions & 1 deletion Formula/l/lbfgspp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Lbfgspp < Formula
url "https://github.com/yixuan/LBFGSpp/archive/refs/tags/v0.4.0.tar.gz"
sha256 "39c4aaebd8b94ccdc98191d51913a31cddd618cc0869d99f07a4b6da83ca6254"
license "MIT"
revision 1
head "https://github.com/yixuan/LBFGSpp.git", branch: "master"

no_autobump! because: :requires_manual_review
Expand All @@ -15,6 +16,13 @@ class Lbfgspp < Formula
depends_on "cmake" => :build
depends_on "eigen"

# Apply open PR to support eigen 5.0.0
# PR ref: https://github.com/yixuan/LBFGSpp/pull/48
patch do
url "https://github.com/yixuan/LBFGSpp/commit/b7c91e57a7e5319b4f168ab5e381e92e95236694.patch?full_index=1"
sha256 "fbd364dae7afe1ae36b344a82425e42d4702f60da7e17e6789d289c03e0bef5e"
end

def install
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
system "cmake", "--build", "build"
Expand Down Expand Up @@ -62,7 +70,7 @@ class Rosenbrock {
return 0;
}
CPP
system ENV.cxx, testpath/"test.cpp", "-std=c++11",
system ENV.cxx, testpath/"test.cpp", "-std=c++14",
"-I#{include}", "-I#{Formula["eigen"].opt_include}/eigen3",
"-o", "test"
assert_equal "1 1 1 1 1 1 1 1 1 1", shell_output(testpath/"test").chomp
Expand Down
9 changes: 8 additions & 1 deletion Formula/o/open-babel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class OpenBabel < Formula
desc "Chemical toolbox"
homepage "https://github.com/openbabel/openbabel"
license "GPL-2.0-only"
revision 2
revision 3
head "https://github.com/openbabel/openbabel.git", branch: "master"

stable do
Expand Down Expand Up @@ -64,6 +64,13 @@ def install
args << "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
inreplace "CMakeLists.txt", "cmake_policy(SET CMP0042 OLD)",
"cmake_policy(SET CMP0042 NEW)"

# Workaround to build with eigen 5.0.0
# Issue ref: https://github.com/openbabel/openbabel/issues/2839
args += %W[-DEIGEN3_FOUND=ON -DEIGEN3_INCLUDE_DIR=#{Formula["eigen"].opt_include}/eigen3]
inreplace "CMakeLists.txt", "set (CMAKE_CXX_STANDARD 11)", "set (CMAKE_CXX_STANDARD 14)"
rm "cmake/modules/FindEigen3.cmake"

system "cmake", "-S", ".", "-B", "build", *args, *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
Expand Down
8 changes: 7 additions & 1 deletion Formula/o/opencv.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Opencv < Formula
desc "Open source computer vision library"
homepage "https://opencv.org/"
license "Apache-2.0"
revision 13
revision 14

stable do
url "https://github.com/opencv/opencv/archive/refs/tags/4.12.0.tar.gz"
Expand All @@ -22,6 +22,12 @@
url "https://github.com/opencv/opencv/commit/90c444abd387ffa70b2e72a34922903a2f0f4f5a.patch?full_index=1"
sha256 "5b662eea7b5de1dac3e06895c711955c9d1515d1202191b68594f4f9cfa23242"
end

# Backport support for eigen 5.0.0
patch do
url "https://github.com/opencv/opencv/commit/468de9b36740b3355f0d5cd8be2ce28b340df120.patch?full_index=1"
sha256 "b86ca3cf644a49ab7219348db2bc78497235df75ceef714d46fc80e9e80f2a06"
end
end

livecheck do
Expand Down
5 changes: 3 additions & 2 deletions Formula/o/orocos-kdl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class OrocosKdl < Formula
url "https://github.com/orocos/orocos_kinematics_dynamics/archive/refs/tags/1.5.3.tar.gz"
sha256 "3895eed1b51a6803c79e7ac4acd6a2243d621b887ac26a1a6b82a86a1131c3b6"
license "LGPL-2.1-or-later"
revision 1

bottle do
sha256 cellar: :any, arm64_tahoe: "63bd25562899d50286d71174337878609041305d72923eee5eee59110ed8a688"
Expand All @@ -18,8 +19,8 @@ class OrocosKdl < Formula
depends_on "eigen"

def install
ENV.cxx11
system "cmake", "-S", "orocos_kdl", "-B", "build",
"-DCMAKE_CXX_STANDARD=14",
"-DEIGEN3_INCLUDE_DIR=#{Formula["eigen"].opt_include}/eigen3",
*std_cmake_args
system "cmake", "--build", "build"
Expand All @@ -39,7 +40,7 @@ def install
}
CPP

system ENV.cxx, "test.cpp", "-std=c++11", "-I#{include}", "-L#{lib}", "-lorocos-kdl",
system ENV.cxx, "test.cpp", "-std=c++14", "-I#{include}", "-L#{lib}", "-lorocos-kdl",
"-o", "test"
system "./test"
end
Expand Down
12 changes: 11 additions & 1 deletion Formula/p/pagmo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Pagmo < Formula
url "https://github.com/esa/pagmo2/archive/refs/tags/v2.19.1.tar.gz"
sha256 "ecc180e669fa6bbece959429ac7d92439e89e1fd1c523aa72b11b6c82e414a1d"
license any_of: ["LGPL-3.0-or-later", "GPL-3.0-or-later"]
revision 5
revision 6

bottle do
sha256 cellar: :any, arm64_tahoe: "970141f824a1df8a43acb58e2d7f833d07b6fc783805fbeb691dafc8611c2f4d"
Expand All @@ -23,6 +23,16 @@ class Pagmo < Formula
depends_on "nlopt"
depends_on "tbb"

# Backport support for eigen 5.0.0
patch do
url "https://github.com/esa/pagmo2/commit/bdd8559d7663536c3a5f56b013f07da11a35c9b8.patch?full_index=1"
sha256 "f8679d6ca0d4bd5d9b44382da35ddc6f80404d389813ce05f050d00f5ce3706c"
end
patch do
url "https://github.com/esa/pagmo2/commit/d0e70403179769c326f2694673473e1d3ef0bec7.patch?full_index=1"
sha256 "6dcf5ac2cbd8e9b0de20845a51ef5d8eeb0ffd0472f32bcc833ce3f314718f0b"
end

def install
args = %w[
-DPAGMO_WITH_EIGEN3=ON
Expand Down
Loading
Loading