From d0848e0ef1bffd76f856cf30787e46167faa84c2 Mon Sep 17 00:00:00 2001
From: John Kessenich <cepheus@frii.com>
Date: Fri, 14 Mar 2014 17:32:51 +0000
Subject: [PATCH] Add new Linux set up script.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25896 e7fa87d3-cd2b-0410-9028-fcbf551c1848
---
 BuildLinux.sh                       | 15 ---------------
 BuildLinuxCMake.sh => SetupLinux.sh |  2 +-
 2 files changed, 1 insertion(+), 16 deletions(-)
 delete mode 100755 BuildLinux.sh
 rename BuildLinuxCMake.sh => SetupLinux.sh (94%)

diff --git a/BuildLinux.sh b/BuildLinux.sh
deleted file mode 100755
index ac85720d3..000000000
--- a/BuildLinux.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#! /bin/bash
-
-rm -f StandAlone/glsangValidator
-rm -f glslang/MachineIndependent/lib/libglslang.so
-
-# 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
-
-# run using test data
-cd Test
-../StandAlone/glslangValidator -i sample.vert sample.frag
diff --git a/BuildLinuxCMake.sh b/SetupLinux.sh
similarity index 94%
rename from BuildLinuxCMake.sh
rename to SetupLinux.sh
index c36cb233f..2a6ff6a40 100755
--- a/BuildLinuxCMake.sh
+++ b/SetupLinux.sh
@@ -4,7 +4,7 @@ mkdir build
 pushd build
 cmake ..
 cmake ..
-make
+make -j 2
 make install
 install/bin/glslangValidator -i ../Test/sample.vert ../Test/sample.frag
 popd
-- 
GitLab