mirror of https://github.com/CGAL/cgal
Merge pull request #2957 from maxGimeno/Travis-silence_openmesh_installation-GF
Travis: Fixes
This commit is contained in:
commit
578e2fb606
|
|
@ -51,9 +51,9 @@ old_IFS=$IFS
|
||||||
IFS=$' '
|
IFS=$' '
|
||||||
ROOT="$PWD/.."
|
ROOT="$PWD/.."
|
||||||
NEED_3D=0
|
NEED_3D=0
|
||||||
cd $ROOT
|
|
||||||
for ARG in $(echo "$@")
|
for ARG in $(echo "$@")
|
||||||
do
|
do
|
||||||
|
cd $ROOT
|
||||||
#install openmesh only if necessary
|
#install openmesh only if necessary
|
||||||
if [ "$ARG" = "CHECK" ] || [ "$ARG" = BGL ] || [ "$ARG" = Convex_hull_3 ] ||\
|
if [ "$ARG" = "CHECK" ] || [ "$ARG" = BGL ] || [ "$ARG" = Convex_hull_3 ] ||\
|
||||||
[ "$ARG" = Polygon_mesh_processing ] || [ "$ARG" = Property_map ] ||\
|
[ "$ARG" = Polygon_mesh_processing ] || [ "$ARG" = Property_map ] ||\
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,7 @@
|
||||||
mkdir -p openmesh
|
mkdir -p openmesh
|
||||||
cd openmesh
|
cd openmesh
|
||||||
wget -O openmesh.tar.gz https://www.openmesh.org/media/Releases/6.3/OpenMesh-6.3.tar.gz
|
wget -O openmesh.tar.gz https://www.openmesh.org/media/Releases/6.3/OpenMesh-6.3.tar.gz
|
||||||
tar xvf openmesh.tar.gz --strip-components=1
|
tar xf openmesh.tar.gz --strip-components=1
|
||||||
|
|
||||||
sed -i '94i #include <sys/time.h>' src/OpenMesh/Tools/Utils/conio.cc
|
sed -i '94i #include <sys/time.h>' src/OpenMesh/Tools/Utils/conio.cc
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ echo " Checks finished"
|
||||||
cd $CGAL_ROOT
|
cd $CGAL_ROOT
|
||||||
rm -r dep_check_build
|
rm -r dep_check_build
|
||||||
if [ -n "$HAS_DIFF" ]; then
|
if [ -n "$HAS_DIFF" ]; then
|
||||||
echo " You should run cmake with options CGAL_CHECK_HEADERS and CGAL_COPY_DEPENDENCIES ON, make the target packages_dependencies and commit the new dependencies files."
|
echo " You should run cmake with options CGAL_ENABLE_CHECK_HEADERS and CGAL_COPY_DEPENDENCIES ON, make the target packages_dependencies and commit the new dependencies files."
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "The dependencies are up to date."
|
echo "The dependencies are up to date."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue