kopia lustrzana https://github.com/OpenDroneMap/ODM
rodzic
f8919671b1
commit
052bcfd8ec
13
configure.sh
13
configure.sh
|
@ -1,17 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ $2 =~ ^[0-9]+$ ]] ; then
|
||||||
|
processes=$2
|
||||||
|
else
|
||||||
|
processes=$(nproc)
|
||||||
|
fi
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
## Set up library paths
|
## Set up library paths
|
||||||
|
|
||||||
export PYTHONPATH=$RUNPATH/SuperBuild/install/lib/python2.7/dist-packages:$RUNPATH/SuperBuild/src/opensfm:$PYTHONPATH
|
export PYTHONPATH=$RUNPATH/SuperBuild/install/lib/python2.7/dist-packages:$RUNPATH/SuperBuild/src/opensfm:$PYTHONPATH
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$RUNPATH/SuperBuild/install/lib
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$RUNPATH/SuperBuild/install/lib
|
||||||
|
|
||||||
if [[ $2 =~ ^[0-9]+$ ]] ; then
|
|
||||||
processes=$2
|
|
||||||
else
|
|
||||||
processes=$(nproc)
|
|
||||||
fi
|
|
||||||
|
|
||||||
## Before installing
|
## Before installing
|
||||||
echo "Updating the system"
|
echo "Updating the system"
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|
Ładowanie…
Reference in New Issue