Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
57 changes: 57 additions & 0 deletions cmake/linux/resolute.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
set(MC_LOG_UI_PYTHON_EXECUTABLE python3)
set(APT_HAS_PYTHON2_PACKAGES OFF)
set(ROS_IS_ROS2 ON)
set(ROS_DISTRO lyrical)
set(ROS_WORKSPACE_INSTALL_PYTHON_DESTINATION "lib/python3.14/site-packages")
set(APT_DEPENDENCIES
curl
wget
cmake
build-essential
gfortran
cython3
# python3-nose python3-pytest python3-numpy python3-coverage python3-setuptools
# python3-pip
rapidjson-dev
libeigen3-dev
libboost-all-dev
libtinyxml2-dev
libgeos++-dev
libnanomsg-dev
libyaml-cpp-dev
libltdl-dev
libqwt-qt5-dev
# python3-matplotlib python3-pyqt5
libspdlog-dev
ninja-build
# python-is-python3
libnotify-dev
# python3-git
)
if(BUILD_BENCHMARKS)
list(APPEND APT_DEPENDENCIES libbenchmark-dev)
endif()
if(INSTALL_DOCUMENTATION)
list(APPEND APT_DEPENDENCIES doxygen doxygen-latex)
endif()

function(mc_rtc_extra_steps)
if(PYTHON_BINDING_BUILD_PYTHON2_AND_PYTHON3 OR PYTHON_BINDING_FORCE_PYTHON2)
message(
FATAL_ERROR
"Python 2 is not supported on Resolute, disable PYTHON_BINDING or enable Python 3 binding only"
)
endif()
endfunction()

AddProject(
geos-cpp-inline
GITHUB isri-aist/geos-cpp-inline-deb
GIT_TAG origin/main
INSTALL_PREFIX /usr
SKIP_TEST NO_SOURCE_MONITOR
APT_PACKAGES libgeos++-inline-dev
)
list(APPEND GLOBAL_DEPENDS geos-cpp-inline)

include(${CMAKE_CURRENT_LIST_DIR}/mc-rtc-mirror.cmake)
4 changes: 2 additions & 2 deletions utils/bootstrap-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi

${SUDO} apt-get update
${SUDO} apt-get install -y --no-install-recommends wget apt-transport-https software-properties-common gnupg lsb-release build-essential gfortran curl git sudo cmake cmake-curses-gui python3-pip ccache
if [[ `lsb_release -cs` == "noble" ]]
if [[ `lsb_release -cs` == "noble" || `lsb_release -cs` == "resolute" ]]
then
${SUDO} apt-get install -y --no-install-recommends pipx
fi
Expand All @@ -41,7 +41,7 @@ fi

if [[ ! -f $HOME/.local/bin/pre-commit ]]
then
if [[ `lsb_release -cs` == "noble" ]]
if [[ `lsb_release -cs` == "noble" || `lsb_release -cs` == "resolute" ]]
then
pipx install pre-commit
else
Expand Down