Leonardo Sandoval | 9dfdd1b | 2020-08-06 17:08:11 -0500 | [diff] [blame] | 1 | #!/usr/bin/env bash |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 2 | # |
Leonardo Sandoval | 579c737 | 2020-10-23 15:23:32 -0500 | [diff] [blame] | 3 | # Copyright (c) 2019-2020 Arm Limited. All rights reserved. |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | set -e |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 9 | # If it's a Juno build-only config, or an FVP config, we do everything locally |
| 10 | if [ "$RUN_CONFIG" = "nil" ]; then |
| 11 | exit 0 |
| 12 | fi |
| 13 | |
| 14 | case "$RUN_CONFIG" in |
| 15 | fvp-*) |
| 16 | exit 0;; |
| 17 | coverity-*) |
| 18 | exit 0;; |
Zelalem | 917b43e | 2020-08-04 11:39:55 -0500 | [diff] [blame] | 19 | scan_build-*) |
| 20 | exit 0;; |
| 21 | norun-*) |
| 22 | exit 0;; |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 23 | esac |
| 24 | |
| 25 | # If we're not going to run Juno, then no need to spawn tf-build-for lava; |
| 26 | # build it locally. |
| 27 | if [ "$skip_juno" ]; then |
| 28 | exit 0 |
| 29 | fi |
| 30 | |
| 31 | exit 1 |