-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.sh
43 lines (43 loc) · 1.78 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
echo "*******************************************************"
echo "********** DOWNLOADING MICMAC **********"
echo "********** (This may take several minutes) **********"
echo "********** user : culture3d **********"
echo "********** password : culture3d **********"
echo "*******************************************************"
cd /
hg clone https://culture3d:culture3d@geoportail.forge.ign.fr/hg/culture3d micmac
echo "*******************************************************"
echo "************ MICMAC DOWNLOADED ************"
echo "*******************************************************"
echo " "
echo " "
echo " "
echo "*******************************************************"
echo "******** BUILDING SOFTWARE *********"
echo "*******************************************************"
cd micmac
mkdir build
cd build
cmake \
-DWITH_QT5=1 \
-DBUILD_POISSON=1 \
-DBUILD_RNX2RTKP=1 \
-DWITH_OPENCL=ON \
-DWITH_OPEN_MP=ON \
-DWITH_ETALONPOLY=ON \
-DWITH_DOXYGEN=ON \
../
NBRP=$(cat /proc/cpuinfo | grep processor | wc -l)
make -j$NBRP
make install
echo "*******************************************************"
echo "************ SOFTWARE BUILDING ************"
echo "*******************************************************"
echo "*******************************************************"
echo "*******************************************************"
echo "******** MicMac should now be set up **********"
echo "******** Please report any inconvenience **********"
echo "******** http://forum-micmac.forumprod.com **********"
echo "******** Edit by Sylvain POULAIN for Docker **********"
echo "******** <sylvain.poulain@giscan.com> **********"
echo "*******************************************************"