Commit 4e60316e by Nicolas Capens Committed by Nicolas Capens

Don't download all submodules for Kokoro tests

The necessary submodules should be downloaded automatically. Bug: b/141361933 Change-Id: Icd4690dccb851ecdc67a8f216a5727f1d8b7142a Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43068 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarBen Clayton <bclayton@google.com> Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent a7bc2b97
...@@ -11,9 +11,6 @@ sudo apt-get install -y gcc-7 g++-7 ...@@ -11,9 +11,6 @@ sudo apt-get install -y gcc-7 g++-7
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 100 --slave /usr/bin/g++ g++ /usr/bin/g++-7 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 100 --slave /usr/bin/g++ g++ /usr/bin/g++-7
sudo update-alternatives --set gcc "/usr/bin/gcc-7" sudo update-alternatives --set gcc "/usr/bin/gcc-7"
# Download all submodules
git submodule update --init
mkdir -p build && cd build mkdir -p build && cd build
if [[ -z "${REACTOR_BACKEND}" ]]; then if [[ -z "${REACTOR_BACKEND}" ]]; then
......
...@@ -14,9 +14,6 @@ IF "%LLVM_VERSION%"=="10.0" ( ...@@ -14,9 +14,6 @@ IF "%LLVM_VERSION%"=="10.0" (
EXIT 0 EXIT 0
) )
git submodule update --init
if !ERRORLEVEL! neq 0 exit /b !ERRORLEVEL!
# Lower the amount of debug info, to reduce Kokoro build times. # Lower the amount of debug info, to reduce Kokoro build times.
SET LESS_DEBUG_INFO=1 SET LESS_DEBUG_INFO=1
......
...@@ -7,8 +7,6 @@ set -x ...@@ -7,8 +7,6 @@ set -x
cd git/SwiftShader cd git/SwiftShader
git submodule update --init
mkdir -p build && cd build mkdir -p build && cd build
if [[ -z "${REACTOR_BACKEND}" ]]; then if [[ -z "${REACTOR_BACKEND}" ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment