Skip to content

Commit

Permalink
sq
Browse files Browse the repository at this point in the history
  • Loading branch information
eigendude committed Mar 14, 2024
1 parent 9e3aaa9 commit 4b8bbd3
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions oasis_tooling/scripts/build_ros2_desktop.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash
################################################################################
#
# Copyright (C) 2021-2024 Garrett Brown
Expand Down Expand Up @@ -37,20 +37,20 @@ CMAKE_PREFIX_PATH=
if [[ "${OSTYPE}" == "darwin"* ]]; then
COLCON_FLAGS+=" --packages-skip-by-dep python_qt_binding"
CMAKE_PREFIX_PATH="$(brew --prefix qt@5)/lib/cmake/Qt5"
fi

# Add ccache support
COLCON_FLAGS+=" \
--cmake-args \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
"
else
# Add ccache support and fix locating Python
COLCON_FLAGS+=" \
--cmake-args \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
"

# Skip Qt dependencies, Shiboken is too old on Ubuntu 18.04
COLCON_FLAGS+=" \
--packages-ignore \
qt_gui_cpp \
rqt_gui_cpp \
"
# Skip Qt dependencies, Shiboken is too old on Ubuntu 18.04
COLCON_FLAGS+=" \
--packages-ignore \
qt_gui_cpp \
rqt_gui_cpp \
"
fi

# Uncomment these to force building in serial
#MAKE_FLAGS+=" -j1 -l1"
Expand Down

0 comments on commit 4b8bbd3

Please sign in to comment.