blob: 4bd39a33d54cc4a50a993d0662e8c7fa9a7488c3 [file] [log] [blame]
John Kessenichd6275022013-11-07 01:48:13 +00001#! /bin/bash
2
3svn update
4
5rm -f StandAlone/glslangValidator
6rm -f Test/glslangValidator
7rm -f glslang/MachineIndependent/lib/libglslang.so
8rm -f Install/Linux/libglslang.so
9rm -f Install/Linux/glslangValidator
10
11cd StandAlone
12make clean
13cd ../glslang/MachineIndependent
14make clean
15cd ../..
16
17# build the StandAlone app and all it's dependencies
18make -C StandAlone
19
20# so we can find the shared library
21#LD_LIBRARY_PATH=`pwd`/glslang/MachineIndependent/lib
22#export LD_LIBRARY_PATH
23
24# install
25cd Install/Linux
26./install
John Kessenich76ea74a2013-12-17 00:28:00 +000027cp glslangValidator ../../Test
28LD_LIBRARY_PATH=/usr/local/lib
29export LD_LIBRARY_PATH
John Kessenichd6275022013-11-07 01:48:13 +000030
31# run using test data
John Kessenichd6275022013-11-07 01:48:13 +000032cd ../../Test
33chmod +x runtests
34./runtests