Added DSP-only dgemm example.
[dense-linear-algebra-libraries/linalg.git] / linalg_release.sh
1 #!/bin/bash
2 set -e
4 LINALG_DIR=$(pwd)
5 mkdir build_test
7 cd
8 if [ ! -d "ti" ]; then
9   mkdir ti
10 fi
11 cd ti
12 mkdir evmk2h_nfs
13 wget https://launchpad.net/linaro-toolchain-binaries/trunk/2013.03/+download/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2
14 tar -xf gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2
15 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
16 chmod +x mcsdk_3_00_04_19_setuplinux32.bin
17 ./mcsdk_3_00_04_19_setuplinux32.bin -mode silent
19 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
20 chmod +x mcsdk-hpc_03_00_01_11_setuplinux.bin
21 Y | ./mcsdk-hpc_03_00_01_11_setuplinux.bin
22 cd mcsdk-hpc_03_00_01_11/images
23 chmod +x *.sh
24 ./install_hpc_packages_x86.sh ../../evmk2h_nfs
25 cd ../scripts
26 source ./setup_hpc_env.sh
27 Y | ./install_devkit.sh
28 apt-get install libelf1:i386
30 cd $LINALG_DIR
32 git clone git@gitorious.design.ti.com:linearalgebra/blis.git blis
33 cd blis
34 git checkout DEV.LINALG.01.00.00.01
35 cd ..
36 git clone git@gitorious.design.ti.com:linearalgebra/cblas.git cblas
37 cd cblas
38 git checkout DEV.LINALG.01.00.00.01
39 cd ..
40 git clone git@gitorious.design.ti.com:linearalgebra/blasblisacc.git blasblisacc
41 cd blasblisacc
42 git checkout DEV.LINALG.01.00.00.01
43 cd ..
44 git clone git@gitorious.design.ti.com:linearalgebra/clapack.git clapack
45 cd clapack
46 git checkout DEV.LINALG.01.00.00.01
47 cd ..
49 export TARGET_ROOTDIR=~/ti/evmk2h_nfs
50 export TI_INSTALL_DIR=~/ti
51 export C6X_C_DIR=~/ti/ti-cgt-c6000_8.0.0/include
53 ./build_linalg.sh . ~/ti/mcsdk-hpc_03_00_01_11 ./build_test