-
Notifications
You must be signed in to change notification settings - Fork 10
/
install_cobiveco.sh
43 lines (39 loc) · 1.09 KB
/
install_cobiveco.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
#!/bin/bash
echo -e "\n========== Installing mmg ==========\n"
if [[ -d "mmg" ]]
then
echo "The directory 'mmg' already exists. Remove it to reinstall."
else
git clone https://github.com/MmgTools/mmg.git
mkdir mmg/build
cd mmg/build
cmake ..
make -j
cd ../..
fi
echo -e "\n========== Installing gptoolbox ==========\n"
if [[ -d "gptoolbox" ]]
then
echo "The directory 'gptoolbox' already exists. Remove it to reinstall."
else
git clone https://github.com/alecjacobson/gptoolbox.git
fi
echo -e "\n========== Installing vtkToolbox ==========\n"
if [[ -d "vtkToolbox" ]]
then
echo "The directory 'vtkToolbox' already exists. Remove it to reinstall."
else
git clone https://github.com/KIT-IBT/vtkToolbox.git
mkdir vtkToolbox/build
cd vtkToolbox/build
cmake .. # you might want to specify the path to VTK here, e.g.: cmake .. -D VTK_DIR=../../vtk-8.2.0/build
make -j
cd ../..
fi
echo -e "\n========== Installing condalab ==========\n"
if [[ -d "condalab" ]]
then
echo "The directory 'condalab' already exists. Remove it to reinstall."
else
git clone https://github.com/diogoflduarte/condalab.git
fi