Skip to content

Commit

Permalink
Enable ROBOT_TESTING under Apple Silicon macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Oct 3, 2024
1 parent 0d152d1 commit c65e3ef
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .ci/initial-cache.gh.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ if(NOT WIN32 OR DEFINED ENV{CONDA_PREFIX})
endif()

# Profiles options
if(NOT (APPLE AND ($ENV{RUNNER_ARCH} STREQUAL "ARM64")))
set(ROBOTOLOGY_ENABLE_ROBOT_TESTING ON CACHE BOOL "")
endif()
set(ROBOTOLOGY_ENABLE_ROBOT_TESTING ON CACHE BOOL "")
set(ROBOTOLOGY_ENABLE_ICUB_HEAD ON CACHE BOOL "")
set(ROBOTOLOGY_ENABLE_DYNAMICS ON CACHE BOOL "")
# ROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS is only supported on Windows with conda
Expand Down
2 changes: 1 addition & 1 deletion cmake/Buildblocktest-yarp-plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ ycm_ep_helper(blocktest-yarp-plugins TYPE GIT
blocktestcore
CMAKE_ARGS -DENABLE_MSVC_WARNINGS:BOOL=OFF)

set(blocktest-yarp-plugins_CONDA_DEPENDENCIES boost-cpp)
set(blocktest-yarp-plugins_CONDA_DEPENDENCIES libboost-devel)
2 changes: 1 addition & 1 deletion cmake/Buildblocktestcore.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ ycm_ep_helper(blocktestcore TYPE GIT
CMAKE_ARGS -DENABLE_MSVC_WARNINGS:BOOL=OFF
DEPENDS YCM)

set(blocktestcore_CONDA_DEPENDENCIES qt-main boost-cpp)
set(blocktestcore_CONDA_DEPENDENCIES qt-main libboost-devel)
4 changes: 2 additions & 2 deletions conda/cmake/RobotologySuperbuildGenerateCondaRecipes.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ macro(generate_metametadata_file)
list(APPEND ${_cmake_pkg}_CONDA_DEPENDENCIES ${${_cmake_dep}_CONDA_PKG_NAME})
endforeach()

# If vtk is in the dependencies, we also need boost-cpp
# If vtk is in the dependencies, we also need libboost-devel
# See https://github.com/robotology/robotology-superbuild/issues/1276
if("vtk" IN_LIST ${_cmake_pkg}_CONDA_DEPENDENCIES)
list(APPEND ${_cmake_pkg}_CONDA_DEPENDENCIES "boost-cpp")
list(APPEND ${_cmake_pkg}_CONDA_DEPENDENCIES "libboost-devel")
endif()

# Compute conda github repository
Expand Down

0 comments on commit c65e3ef

Please sign in to comment.