1e5c31af7Sopenharmony_ci#!/bin/bash
2e5c31af7Sopenharmony_ci# Copyright 2018 The Amber Authors.
3e5c31af7Sopenharmony_ci#
4e5c31af7Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
5e5c31af7Sopenharmony_ci# you may not use this file except in compliance with the License.
6e5c31af7Sopenharmony_ci# You may obtain a copy of the License at
7e5c31af7Sopenharmony_ci#
8e5c31af7Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
9e5c31af7Sopenharmony_ci#
10e5c31af7Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
11e5c31af7Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
12e5c31af7Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13e5c31af7Sopenharmony_ci# See the License for the specific language governing permissions and
14e5c31af7Sopenharmony_ci# limitations under the License.
15e5c31af7Sopenharmony_ci
16e5c31af7Sopenharmony_ciset -e  # fail on error
17e5c31af7Sopenharmony_ciset -x  # display commands
18e5c31af7Sopenharmony_ci
19e5c31af7Sopenharmony_ciSCRIPT_DIR=`dirname "$BASH_SOURCE"`
20e5c31af7Sopenharmony_cisource $SCRIPT_DIR/../scripts/linux/build.sh DEBUG "clang-10.0.0" \
21e5c31af7Sopenharmony_ci    -DAMBER_ENABLE_SWIFTSHADER=TRUE
22