Skip to content

Commit

Permalink
set PCL_ENABLE_SSE:BOOL=FALSE in travis_before_script_pcl1.8.bash for
Browse files Browse the repository at this point in the history
kinetic build
  • Loading branch information
knorth55 committed Dec 24, 2018
1 parent fb4b435 commit 4309d6a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .travis_before_script_pcl1.8.bash
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,15 @@ if [ ! -e /usr/local/include/pcl-1.8/pcl/pcl_base.h ]; then
cd pcl-pcl-${version}
mkdir build
cd build

cmake -DCMAKE_BUILD_TYPE=Release ..

# pcl::CropBox does not work properly in kinetic
# with PCL_ENABLE_SSE:BOOL=TRUE flag
# https://github.com/PointCloudLibrary/pcl/pull/1917
if [ $(lsb_release -c -s) = "xenial" ]; then
cmake -DCMAKE_BUILD_TYPE=Release -DPCL_ENABLE_SSE:BOOL=FALSE ..
else
cmake -DCMAKE_BUILD_TYPE=Release ..
fi
make -j2
sudo make -j2 install
fi
Expand Down

0 comments on commit 4309d6a

Please sign in to comment.