Changeset View
Changeset View
Standalone View
Standalone View
build_files/build_environment/install_deps.sh
| Show All 39 Lines | |||||
| CWD=$PWD | CWD=$PWD | ||||
| # Do not install some optional, potentially conflicting libs by default... | # Do not install some optional, potentially conflicting libs by default... | ||||
| WITH_ALL=false | WITH_ALL=false | ||||
| # Do not yet enable opencollada, use --with-opencollada (or --with-all) option to try it. | # Do not yet enable opencollada, use --with-opencollada (or --with-all) option to try it. | ||||
| WITH_OPENCOLLADA=false | WITH_OPENCOLLADA=false | ||||
| THREADS=`cat /proc/cpuinfo | grep processor | wc -l` | THREADS=$(nproc) | ||||
| if [ -z "$THREADS" ]; then | |||||
| THREADS=1 | |||||
| fi | |||||
| COMMON_INFO="\"Source code of dependencies needed to be compiled will be downloaded and extracted into '\$SRC'. | COMMON_INFO="\"Source code of dependencies needed to be compiled will be downloaded and extracted into '\$SRC'. | ||||
| Built libs of dependencies needed to be compiled will be installed into '\$INST'. | Built libs of dependencies needed to be compiled will be installed into '\$INST'. | ||||
| Please edit \\\$SRC and/or \\\$INST variables at the beginning of this script, | Please edit \\\$SRC and/or \\\$INST variables at the beginning of this script, | ||||
| or use --source/--install options, if you want to use other paths! | or use --source/--install options, if you want to use other paths! | ||||
| Number of threads for building: \$THREADS (automatically detected, use --threads=<nbr> to override it). | Number of threads for building: \$THREADS (automatically detected, use --threads=<nbr> to override it). | ||||
| Full install: \$WITH_ALL (use --with-all option to enable it). | Full install: \$WITH_ALL (use --with-all option to enable it). | ||||
| ▲ Show 20 Lines • Show All 2,922 Lines • Show Last 20 Lines | |||||