Skip to content

Commit 30f5073

Browse files
committed
Merge remote-tracking branch 'cgal/master' into BGL-add_PMP-GF
2 parents 0bfe11e + 5a02f47 commit 30f5073

File tree

6,723 files changed

+361715
-212034
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,723 files changed

+361715
-212034
lines changed

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
*.js text
1919
*.hmtl text
2020
*.bib text
21-
*.sh text
2221
*.css text
2322
*.ui text
2423
*.qrc text
@@ -36,6 +35,7 @@
3635
*.pdb text
3736

3837
# Declare files that will always have LF line endings on checkout.
38+
*.sh text eol=lf
3939
Documentation/Doxyfile text eol=lf
4040
Documentation/pkglist_filter text eol=lf
4141
Installation/update_CHANGES text eol=lf

.github/workflows/cmake-all.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
name: CMake all CGAL
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
build:
77

88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v1
12-
with:
13-
fetch-depth: 0
11+
- uses: actions/[email protected]
1412
- name: install dependencies
1513
run: sudo apt-get install -y libboost-dev libboost-program-options-dev libmpfr-dev libeigen3-dev
1614
- name: configure all

.travis.yml

+20-19
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,26 @@ env:
3030
- PACKAGE='Minkowski_sum_2 Minkowski_sum_3 Modifier '
3131
- PACKAGE='Modular_arithmetic Nef_2 Nef_3 '
3232
- PACKAGE='Nef_S2 NewKernel_d Number_types '
33-
- PACKAGE='OpenNL Optimal_transportation_reconstruction_2 Optimisation_basic '
34-
- PACKAGE='Partition_2 Periodic_2_triangulation_2 Periodic_3_mesh_3 '
35-
- PACKAGE='Periodic_3_triangulation_3 Periodic_4_hyperbolic_triangulation_2 Point_set_2 '
36-
- PACKAGE='Point_set_3 Point_set_processing_3 Poisson_surface_reconstruction_3 '
37-
- PACKAGE='Polygon Polygon_mesh_processing Polygonal_surface_reconstruction '
38-
- PACKAGE='Polyhedron Polyhedron_IO Polyline_simplification_2 '
39-
- PACKAGE='Polynomial Polytope_distance_d Principal_component_analysis '
40-
- PACKAGE='Principal_component_analysis_LGPL Profiling_tools Property_map '
41-
- PACKAGE='QP_solver Random_numbers Ridges_3 '
42-
- PACKAGE='STL_Extension Scale_space_reconstruction_3 Scripts '
43-
- PACKAGE='SearchStructures Segment_Delaunay_graph_2 Segment_Delaunay_graph_Linf_2 '
44-
- PACKAGE='Set_movable_separability_2 Shape_detection Skin_surface_3 '
45-
- PACKAGE='Snap_rounding_2 Solver_interface Spatial_searching '
46-
- PACKAGE='Spatial_sorting Straight_skeleton_2 Stream_lines_2 '
47-
- PACKAGE='Stream_support Subdivision_method_3 Surface_mesh '
48-
- PACKAGE='Surface_mesh_approximation Surface_mesh_deformation Surface_mesh_parameterization '
49-
- PACKAGE='Surface_mesh_segmentation Surface_mesh_shortest_path Surface_mesh_simplification '
50-
- PACKAGE='Surface_mesh_skeletonization Surface_mesher Surface_sweep_2 '
51-
- PACKAGE='TDS_2 TDS_3 Testsuite '
33+
- PACKAGE='OpenNL Optimal_bounding_box Optimal_transportation_reconstruction_2 '
34+
- PACKAGE='Optimisation_basic Partition_2 Periodic_2_triangulation_2 '
35+
- PACKAGE='Periodic_3_mesh_3 Periodic_3_triangulation_3 Periodic_4_hyperbolic_triangulation_2 '
36+
- PACKAGE='Point_set_2 Point_set_3 Point_set_processing_3 '
37+
- PACKAGE='Poisson_surface_reconstruction_3 Polygon Polygon_mesh_processing '
38+
- PACKAGE='Polygonal_surface_reconstruction Polyhedron Polyhedron_IO '
39+
- PACKAGE='Polyline_simplification_2 Polynomial Polytope_distance_d '
40+
- PACKAGE='Principal_component_analysis Principal_component_analysis_LGPL Profiling_tools '
41+
- PACKAGE='Property_map QP_solver Random_numbers '
42+
- PACKAGE='Ridges_3 STL_Extension Scale_space_reconstruction_3 '
43+
- PACKAGE='Scripts SearchStructures Segment_Delaunay_graph_2 '
44+
- PACKAGE='Segment_Delaunay_graph_Linf_2 Set_movable_separability_2 Shape_detection '
45+
- PACKAGE='Skin_surface_3 Snap_rounding_2 Solver_interface '
46+
- PACKAGE='Spatial_searching Spatial_sorting Straight_skeleton_2 '
47+
- PACKAGE='Stream_lines_2 Stream_support Subdivision_method_3 '
48+
- PACKAGE='Surface_mesh Surface_mesh_approximation Surface_mesh_deformation '
49+
- PACKAGE='Surface_mesh_parameterization Surface_mesh_segmentation Surface_mesh_shortest_path '
50+
- PACKAGE='Surface_mesh_simplification Surface_mesh_skeletonization Surface_mesh_topology '
51+
- PACKAGE='Surface_mesher Surface_sweep_2 TDS_2 '
52+
- PACKAGE='TDS_3 Testsuite Tetrahedral_remeshing '
5253
- PACKAGE='Three Triangulation Triangulation_2 '
5354
- PACKAGE='Triangulation_3 Union_find Visibility_2 '
5455
- PACKAGE='Voronoi_diagram_2 wininst '

.travis/build_package.sh

+38-38
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function mytime {
1111
function build_examples {
1212
mkdir -p build-travis
1313
cd build-travis
14-
mytime cmake -DCGAL_DIR="/usr/local/lib/cmake/CGAL" -DCMAKE_CXX_FLAGS="${CXX_FLAGS}" ..
14+
mytime cmake -DCGAL_DIR="/usr/local/lib/cmake/CGAL" -DCMAKE_CXX_FLAGS="${CXX_FLAGS}" -DCGAL_BUILD_THREE_DOC=TRUE ..
1515
mytime make -j2 VERBOSE=1
1616
}
1717

@@ -28,7 +28,7 @@ function build_demo {
2828
EXTRA_CXX_FLAGS="-Werror=inconsistent-missing-override"
2929
;;
3030
esac
31-
mytime cmake -DCGAL_DIR="/usr/local/lib/cmake/CGAL" -DCGAL_DONT_OVERRIDE_CMAKE_FLAGS:BOOL=ON -DCMAKE_CXX_FLAGS="${CXX_FLAGS} ${EXTRA_CXX_FLAGS}" ..
31+
mytime cmake -DCGAL_DIR="/usr/local/lib/cmake/CGAL" -DCGAL_DONT_OVERRIDE_CMAKE_FLAGS:BOOL=ON -DCMAKE_CXX_FLAGS="${CXX_FLAGS} ${EXTRA_CXX_FLAGS}" ..
3232
mytime make -j2 VERBOSE=1
3333
}
3434
old_IFS=$IFS
@@ -57,46 +57,46 @@ cd $ROOT
5757
cd ..
5858
IFS=$old_IFS
5959
mytime zsh $ROOT/Scripts/developer_scripts/test_merge_of_branch HEAD
60-
#test dependencies
60+
#test dependencies
6161
cd $ROOT
6262
mytime bash Scripts/developer_scripts/cgal_check_dependencies.sh --check_headers /usr/bin/doxygen
6363

6464
cd .travis
65-
#parse current matrix and check that no package has been forgotten
65+
#parse current matrix and check that no package has been forgotten
6666

67-
IFS=$'\n'
68-
COPY=0
69-
MATRIX=()
70-
for LINE in $(cat "$PWD/packages.txt")
71-
do
72-
MATRIX+="$LINE "
73-
done
74-
75-
PACKAGES=()
76-
cd ..
77-
for f in *
78-
do
79-
if [ -d "$f/package_info/$f" ]
80-
then
81-
PACKAGES+="$f "
82-
fi
83-
done
84-
85-
DIFFERENCE=$(echo ${MATRIX[@]} ${PACKAGES[@]} | tr ' ' '\n' | sort | uniq -u)
86-
IFS=$' '
87-
if [ "${DIFFERENCE[0]}" != "" ]
88-
then
89-
echo "The matrix and the actual package list differ : ."
90-
echo ${DIFFERENCE[*]}
67+
IFS=$'\n'
68+
COPY=0
69+
MATRIX=()
70+
for LINE in $(cat "$PWD/packages.txt")
71+
do
72+
MATRIX+="$LINE "
73+
done
74+
75+
PACKAGES=()
76+
cd ..
77+
for f in *
78+
do
79+
if [ -d "$f/package_info/$f" ]
80+
then
81+
PACKAGES+="$f "
82+
fi
83+
done
84+
85+
DIFFERENCE=$(echo ${MATRIX[@]} ${PACKAGES[@]} | tr ' ' '\n' | sort | uniq -u)
86+
IFS=$' '
87+
if [ "${DIFFERENCE[0]}" != "" ]
88+
then
89+
echo "The matrix and the actual package list differ : ."
90+
echo ${DIFFERENCE[*]}
9191
echo "You should run generate_travis.sh."
92-
exit 1
93-
fi
94-
echo "Matrix is up to date."
92+
exit 1
93+
fi
94+
echo "Matrix is up to date."
9595
#check if non standard cgal installation works
9696
cd $ROOT
9797
mkdir build_test
9898
cd build_test
99-
mytime cmake -DCMAKE_INSTALL_PREFIX=install/ ..
99+
mytime cmake -DCMAKE_INSTALL_PREFIX=install/ -DCGAL_BUILD_THREE_DOC=TRUE ..
100100
mytime make install
101101
# test install with minimal downstream example
102102
mkdir installtest
@@ -110,7 +110,7 @@ cd $ROOT
110110
echo 'target_link_libraries(${PROJECT_NAME} CGAL::CGAL)' >> CMakeLists.txt
111111
echo '#include "CGAL/remove_outliers.h"' >> main.cpp
112112
cd build
113-
mytime cmake -DCMAKE_INSTALL_PREFIX=../../install ..
113+
mytime cmake -DCMAKE_INSTALL_PREFIX=../../install -DCGAL_BUILD_THREE_DOC=TRUE ..
114114
cd ..
115115
exit 0
116116
fi
@@ -126,7 +126,7 @@ cd $ROOT
126126
fi
127127
IFS=$' '
128128
EXAMPLES="$ARG/examples/$ARG"
129-
TEST="$ARG/test/$ARG"
129+
TEST="$ARG/test/$ARG"
130130
DEMOS=$ROOT/$ARG/demo/*
131131

132132
if [ -d "$ROOT/$EXAMPLES" ]
@@ -168,17 +168,17 @@ cd $ROOT
168168
for DEMO in $DEMOS; do
169169
DEMO=${DEMO#"$ROOT"}
170170
echo $DEMO
171-
#If there is no demo subdir, try in GraphicsView
171+
#If there is no demo subdir, try in GraphicsView
172172
if [ ! -d "$ROOT/$DEMO" ] || [ ! -f "$ROOT/$DEMO/CMakeLists.txt" ]; then
173173
DEMO="GraphicsView/demo/$ARG"
174174
fi
175-
if [ "$ARG" != Polyhedron ] && [ -d "$ROOT/$DEMO" ]
176-
then
175+
if [ "$ARG" != Polyhedron ] && [ -d "$ROOT/$DEMO" ]
176+
then
177177
cd $ROOT/$DEMO
178178
build_demo
179179
elif [ "$ARG" != Polyhedron_demo ]; then
180180
echo "No demo found for $ARG"
181-
fi
181+
fi
182182
done
183183
if [ "$ARG" = Polyhedron_demo ]; then
184184
DEMO=Polyhedron/demo/Polyhedron

.travis/generate_travis.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ for f in *
2121
do
2222
if [ -d "$f/package_info/$f" ]
2323
then
24-
echo "$f " >> ./tmp.txt
24+
echo "$f" >> ./tmp.txt
2525
fi
2626
done
2727
LC_ALL=C sort ./tmp.txt > ./.travis/packages.txt

0 commit comments

Comments
 (0)