forked from verivital/nnv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpostInstall
executable file
·32 lines (23 loc) · 960 Bytes
/
postInstall
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
#!/usr/bin/env bash
set -ex
# mkdir deps && # already created in dockerfile
cd deps
#curl -LO https://tumcps.github.io/CORA/data/CORA_2018.zip
#unzip CORA_2018.zip && rm CORA_2018.zip
# handled via submodule for now, as there are some bugs fixed in our repository
#curl -LO https://tumcps.github.io/CORA/data/CORA_2020.zip
#unzip CORA_2020.zip && rm CORA_2020.zip
mkdir tbxmanager && cd tbxmanager
echo "
urlwrite('https://raw.githubusercontent.com/verivital/tbxmanager/master/tbxmanager.m', 'tbxmanager.m');
tbxmanager
tbxmanager install mpt mptdoc;
tbxmanager install lcp hysdel cddmex clpmex glpkmex fourier sedumi;
tbxmanager install yalmip; % todo: error due to license, need to force acceptance
cd /code/nnv;
startup_nnv; % adding dependencies and nnv to the path
" > install.m
pwd
ls
matlab -nodisplay -r "install; addpath(genpath('../../deps')); savepath"
matlab -nodisplay -r "addpath(genpath('/deps')); addpath(genpath('/code')); savepath;"