Skip to content

Commit

Permalink
libdart: fix update to 6.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pvonmoradi committed Jan 17, 2023
1 parent dac4f1d commit 8f7d070
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 41 deletions.
28 changes: 28 additions & 0 deletions packages/libdart/CMakeLists.txt.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 31ef23bdbe5e..b841408f4a93 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -365,14 +365,6 @@ if(MSVC)
else()
add_subdirectory(tests EXCLUDE_FROM_ALL)
endif()
-# Add example subdirectories and an "examples" target.
-if(MSVC)
- # add_subdirectory(examples)
-else()
- add_subdirectory(examples EXCLUDE_FROM_ALL)
- get_property(examples GLOBAL PROPERTY DART_EXAMPLES)
- add_custom_target(examples DEPENDS ${examples})
-endif()
if(DART_VERBOSE)
message(STATUS "")
message(STATUS "[ Examples ]")
@@ -481,7 +473,7 @@ install(
# Generate the DART pkg-config
set(PC_CONFIG_IN ${DART_SOURCE_DIR}/cmake/dart.pc.in)
set(PC_CONFIG_OUT ${DART_BINARY_DIR}/cmake/dart${DART_MAJOR_VERSION}.pc)
-set(PC_CONFIG_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+set(PC_CONFIG_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
file(RELATIVE_PATH
RELATIVE_PATH_TO_INSTALL_PREFIX
"${PC_CONFIG_INSTALL_DIR}"
36 changes: 0 additions & 36 deletions packages/libdart/CMakeLists.txt.patch

This file was deleted.

10 changes: 5 additions & 5 deletions packages/libdart/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ TERMUX_PKG_DESCRIPTION="Dynamic Animation and Robotics Toolkit"
TERMUX_PKG_GROUPS="science"
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_MAINTAINER="Pooya Moradi <pvonmoradi@gmail.com>"
TERMUX_PKG_VERSION="6.12.2"
TERMUX_PKG_REVISION=3
TERMUX_PKG_VERSION="6.13.0"
TERMUX_PKG_SRCURL="https://github.com/dartsim/dart/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=db1b3ef888d37f0dbc567bc291ab2cdb5699172523a58dd5a5fe513ee38f83b0
TERMUX_PKG_SHA256=4da3ff8cee056252a558b05625a5ff29b21e71f2995e6d7f789abbf6261895f7
TERMUX_PKG_AUTO_UPDATE=true
# FIXME add ipopt, nlopt, snopt after a proper FORTRAN compiler is
# added (hence LAPACK)
# FIXME why pagmo is not detected by build system?
# FIXME add urdfdom
TERMUX_PKG_DEPENDS="libc++, eigen, assimp, libccd, libfcl, boost, libbullet, libode, libpagmo, octomap-static, libtinyxml2"
TERMUX_PKG_DEPENDS="libc++, eigen, assimp, libccd, libfcl, fmt, libspdlog, libbullet, libode, libpagmo, octomap-static, libtinyxml2"

TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DDART_VERBOSE=ON
-DBUILD_SHARED_LIBS=ON
-DDART_ENABLE_SIMD=OFF
-DDART_BUILD_GUI_OSG=OFF
-DDART_BUILD_DARTPY=ON
-DDART_BUILD_DARTPY=OFF
-DDART_CODECOV=OFF
-DDART_FAST_DEBUG=OFF
-DDART_FORCE_COLORED_OUTPUT=OFF
-DDART_DOWNLOAD_DEPENDENT_PACKAGES=OFF
"

0 comments on commit 8f7d070

Please sign in to comment.