mirror of https://github.com/CGAL/cgal
Makes the number of cores for make a variable.
This commit is contained in:
parent
ec40acf2c3
commit
ab87194583
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/bash
|
||||
if [ "$1" == '--help' ]; then
|
||||
echo "Usage: $0 <path to CGAL> <path to output>"
|
||||
echo "Usage: $0 <path to CGAL> <path to output> <number of cores to dedicate>"
|
||||
echo "Builds and packages the Polyhedron demo form the CGAL dir."
|
||||
exit 0
|
||||
fi
|
||||
docker run --rm -v "$2":/results:Z -v "$1":/cgal:ro docker.io/cgal/bundle-3d-demo '/scripts/build.sh -j6 && /scripts/deploy.sh'
|
||||
docker run --rm -v "$2":/results:Z -v "$1":/cgal:ro docker.io/cgal/bundle-3d-demo "/scripts/build.sh -j$3 && /scripts/deploy.sh"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue