Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dartsim 6.14.1 #175563

Merged
merged 2 commits into from
Jun 28, 2024
Merged
Changes from 1 commit
Commits
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
17 changes: 9 additions & 8 deletions Formula/d/dartsim.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
class Dartsim < Formula

Check warning on line 1 in Formula/d/dartsim.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew linkage --cached --test --strict dartsim` failed on Linux!

Indirect dependencies with linkage: mesa octomap

Check warning on line 1 in Formula/d/dartsim.rb

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

`brew linkage --cached --test --strict dartsim` failed on macOS Sonoma (14)!

Indirect dependencies with linkage: octomap

Check warning on line 1 in Formula/d/dartsim.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew linkage --cached --test --strict dartsim` failed on macOS Sonoma (14) on Apple Silicon!

Indirect dependencies with linkage: octomap

Check warning on line 1 in Formula/d/dartsim.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

`brew linkage --cached --test --strict dartsim` failed on macOS Ventura (13)!

Indirect dependencies with linkage: octomap

Check warning on line 1 in Formula/d/dartsim.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew linkage --cached --test --strict dartsim` failed on macOS Ventura (13) on Apple Silicon!

Indirect dependencies with linkage: octomap

Check warning on line 1 in Formula/d/dartsim.rb

View workflow job for this annotation

GitHub Actions / macOS 12-x86_64

`brew linkage --cached --test --strict dartsim` failed on macOS Monterey (12)!

Indirect dependencies with linkage: octomap

Check warning on line 1 in Formula/d/dartsim.rb

View workflow job for this annotation

GitHub Actions / macOS 12-arm64

`brew linkage --cached --test --strict dartsim` failed on macOS Monterey (12) on Apple Silicon!

Indirect dependencies with linkage: octomap
desc "Dynamic Animation and Robotics Toolkit"
homepage "https://dartsim.github.io/"
url "https://github.com/dartsim/dart/archive/refs/tags/v6.13.2.tar.gz"
sha256 "02699a8f807276231c80ffc5dbc3f66dc1c3612364340c91bcad63a837c01576"
url "https://github.com/dartsim/dart/archive/refs/tags/v6.14.1.tar.gz"
sha256 "07bc1442a80abc03b2c1984bdb9b5843446047ac6a37c18b834533c871631fde"
license "BSD-2-Clause"
revision 3

bottle do
sha256 arm64_sonoma: "d482ac5d4fced6f80b4161342f6532fd736fdbc2ba536d03d108205597fe16f0"
Expand All @@ -18,6 +17,7 @@

depends_on "cmake" => :build
depends_on "pkg-config" => :build

depends_on "assimp"
depends_on "bullet"
depends_on "eigen"
Expand All @@ -38,7 +38,6 @@
fails_with gcc: "5"

def install
ENV.cxx11
args = std_cmake_args

if OS.mac?
Expand All @@ -47,10 +46,12 @@
args << "-DGLUT_glut_LIBRARY=#{glut_lib}"
end

mkdir "build" do
system "cmake", "..", *args, "-DCMAKE_INSTALL_RPATH=#{rpath}"
system "make", "install"
end
args << "-DBUILD_TESTING=OFF"
args << "-DDART_BUILD_DARTPY=OFF"

system "cmake", "-S", ".", "-B", "build", "-DCMAKE_INSTALL_RPATH=#{rpath}", *args
system "cmake", "--build", "build"
system "cmake", "--install", "build"

# Clean up the build file garbage that has been installed.
rm_r Dir["#{share}/doc/dart/**/CMakeFiles/"]
Expand Down
Loading