Revision: | 1189 |
Committed: | Tue Feb 4 17:26:49 2025 UTC (3 months ago) by francois |
File size: | 485 byte(s) |
Log Message: | Version 5.0 de MAGIC. Integration de ALGLIB pour faire de l'optimisation. ALGLIB se download automatiquement en executant un script dans le repertoire config update_magic.bash |
# | Content |
---|---|
1 | #!/bin/bash |
2 | |
3 | |
4 | wget https://www.alglib.net/translator/re/last |
5 | |
6 | DIR=$(cat last) |
7 | if [ -d "$DIR" ]; then |
8 | echo "Derniere version deja presente" |
9 | |
10 | else |
11 | echo "Derniere version à installer" |
12 | wget $(echo -n "https://www.alglib.net/translator/re/alglib-";cat last;echo -n ".cpp.gpl.zip" ) |
13 | unzip $(echo -n "alglib-";cat last;echo -n ".cpp.gpl.zip" ) |
14 | mv alglib-cpp $(cat last) |
15 | ln -s $(cat last;echo -n "/src") src |
16 | rm $(echo -n "alglib-";cat last;echo -n ".cpp.gpl.zip" ) |
17 | fi |
18 | rm last |
19 | |
20 |
Name | Value |
---|---|
svn:executable | * |