mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-27 21:20:30 +00:00
76ea74afe0
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24531 e7fa87d3-cd2b-0410-9028-fcbf551c1848
35 lines
666 B
Bash
Executable File
35 lines
666 B
Bash
Executable File
#! /bin/bash
|
|
|
|
svn update
|
|
|
|
rm -f StandAlone/glslangValidator
|
|
rm -f Test/glslangValidator
|
|
rm -f glslang/MachineIndependent/lib/libglslang.so
|
|
rm -f Install/Linux/libglslang.so
|
|
rm -f Install/Linux/glslangValidator
|
|
|
|
cd StandAlone
|
|
make clean
|
|
cd ../glslang/MachineIndependent
|
|
make clean
|
|
cd ../..
|
|
|
|
# build the StandAlone app and all it's dependencies
|
|
make -C StandAlone
|
|
|
|
# so we can find the shared library
|
|
#LD_LIBRARY_PATH=`pwd`/glslang/MachineIndependent/lib
|
|
#export LD_LIBRARY_PATH
|
|
|
|
# install
|
|
cd Install/Linux
|
|
./install
|
|
cp glslangValidator ../../Test
|
|
LD_LIBRARY_PATH=/usr/local/lib
|
|
export LD_LIBRARY_PATH
|
|
|
|
# run using test data
|
|
cd ../../Test
|
|
chmod +x runtests
|
|
./runtests
|