]> Creatis software - creaToolsTools.git/blob - Linux/scripts/compilation_from_installscript.sh
b9998eaadb9b29375ef8f5abe1bd7b7cb99cfebd
[creaToolsTools.git] / Linux / scripts / compilation_from_installscript.sh
1 # Makes a clean compilation of creatools using a read-only access to git repositories
2 # Do not retrieve nor compile nor install the third party libraries
3
4 # Cleans previous compilation
5 rm -rf /home/creatools/Creatis/creaToolsTools_crontabAnonymousAccess
6 rm -rf /home/creatools/Creatis/CreatoolsGenerationDir_crontabAnonymousAccess
7
8 # Retrieves creaToolsTools source code
9 cd /home/creatools/Creatis/
10 git clone git://git.creatis.insa-lyon.fr/creaToolsTools creaToolsTools_crontabAnonymousAccess
11
12 # Configures the project
13 cd creaToolsTools_crontabAnonymousAccess/Linux
14 ./installscript -git-read-only -gdir /home/creatools/Creatis/CreatoolsGenerationDir_crontabAnonymousAccess -instprefix3 /home/creatools/Creatis/CreatoolsGenerationDir/thirdparty_install -build Debug config
15
16 # Retrieves creatools source code, compiles and install 
17 ./installscript creatools
18
19 # to launch make experimental : this line is a perfect crontab if we do not want to do update of the git repositories
20 bash /home/creatools/Creatis/creaToolsTools_crontabAnonymousAccess/Linux/scripts/cdashscript.sh /home/creatools/Creatis/creaToolsTools_crontabAnonymousAccess/Linux/scripts/cdashmod.sh /home/creatools/Creatis/creaToolsTools_crontabAnonymousAccess/ /home/creatools/Creatis/CreatoolsGenerationDir_crontabAnonymousAccess 4
21