Skip to content

Commit

Permalink
arch.sh: get rid of ignition-cmake workaround
Browse files Browse the repository at this point in the history
The AUR repository got fixed upstream after
I reported the issue. I tested on a fresh machine
so we can get rid of the workaround that was necessary. See
https://aur.archlinux.org/packages/ignition-cmake/#comment-712301
  • Loading branch information
MaEtUgR authored and julianoes committed Oct 24, 2019
1 parent 1d44231 commit f317d22
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Tools/setup/arch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ if [[ $INSTALL_SIM == "true" ]]; then
# Gazebo setup
if [[ $INSTALL_GAZEBO == "true" ]]; then
echo
echo "Installing gazebo and dependencies for PX4 simulation"
echo "Installing gazebo and dependencies for PX4 gazebo simulation"

# PX4 gazebo simulation dependencies
sudo pacman -S --noconfirm --needed \
Expand All @@ -143,16 +143,6 @@ if [[ $INSTALL_SIM == "true" ]]; then
# install gazebo from AUR
yay -S gazebo --noconfirm

# fix incompatible compile flag to disable default testing that leads to build error
# see https://bitbucket.org/ignitionrobotics/ign-cmake/issues/62/compilation-failing-when-performing
pushd ~/.cache/yay/ignition-cmake/
sed -i 's/-DENABLE_TESTS_COMPILATION:BOOL=False/-DBUILD_TESTING=OFF/g' PKGBUILD
makepkg -si --noconfirm
popd

# continue installing gezebo
yay -S gazebo --noconfirm

if sudo dmidecode -t system | grep -q "Manufacturer: VMware, Inc." ; then
# fix VMWare 3D graphics acceleration for gazebo
echo "export SVGA_VGPU10=0" >> ~/.profile
Expand Down

0 comments on commit f317d22

Please sign in to comment.