Skip to content

Commit

Permalink
dartsim 6.14.1
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Jun 28, 2024
1 parent 2e6f209 commit 7a3f572
Showing 1 changed file with 9 additions and 8 deletions.
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 @@ class Dartsim < Formula

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

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

def install
ENV.cxx11
args = std_cmake_args

if OS.mac?
Expand All @@ -47,10 +46,12 @@ def install
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

0 comments on commit 7a3f572

Please sign in to comment.