1 #!/bin/bash
2 set -e
4 LINALG_DIR=$(pwd)
5 mkdir build_test
7 cd
8 mkdir ti
9 cd ti
10 mkdir evmk2h_nfs
11 wget https://launchpad.net/linaro-toolchain-binaries/trunk/2013.03/+download/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2
12 tar -xf gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2
13 wget http://tigt_qa.gt.design.ti.com/qacm/test_area/MCSDK/03.00.04/03.00.04.19P1/artifacts/output/mcsdk_3_00_04_19_setuplinux32.bin
14 chmod +x mcsdk_3_00_04_19_setuplinux32.bin
15 ./mcsdk_3_00_04_19_setuplinux32.bin -mode silent
17 wget http://tigt_qa.gt.design.ti.com/qacm/test_area/MCSDK-HPC/03.00.01/03_00_01_11/exports/mcsdk-hpc_03_00_01_11_setuplinux.bin
18 chmod +x mcsdk-hpc_03_00_01_11_setuplinux.bin
19 Y | ./mcsdk-hpc_03_00_01_11_setuplinux.bin
20 cd mcsdk-hpc_03_00_01_11/images
21 chmod +x *.sh
22 ./install_hpc_packages_x86.sh ../../evmk2h_nfs
23 cd ../scripts
24 source ./setup_hpc_env.sh
25 Y | ./install_devkit.sh
27 cd $LINALG_DIR
29 git clone git@gitorious.design.ti.com:linearalgebra/blis.git blis
30 cd blis
31 git checkout DEV.LINALG.01.00.00.00
32 cd ..
33 git clone git@gitorious.design.ti.com:linearalgebra/cblas.git cblas
34 cd cblas
35 git checkout DEV.LINALG.01.00.00.00
36 cd ..
37 git clone git@gitorious.design.ti.com:linearalgebra/blasblisacc.git blasblisacc
38 cd blasblisacc
39 git checkout DEV.LINALG.01.00.00.00
40 cd ..
41 git clone git@gitorious.design.ti.com:linearalgebra/clapack.git clapack
42 cd clapack
43 git checkout DEV.LINALG.01.00.00.00
44 cd ..
46 export TARGET_ROOTDIR=~/ti/evmk2h_nfs
47 export TI_INSTALL_DIR=~/ti
48 export C6X_C_DIR=~/ti/ti-cgt-c6000_8.0.0/include
50 ./build_linalg.sh . ~/ti/mcsdk-hpc_03_00_01_11 ./build_test