2019-04-01 21:05:16 +02:00
|
|
|
#!/bin/bash
|
2020-04-16 10:50:39 +02:00
|
|
|
# Copyright (C) 2017-2020 The Project X-Ray Authors.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a ISC-style
|
|
|
|
|
# license that can be found in the LICENSE file or at
|
|
|
|
|
# https://opensource.org/licenses/ISC
|
|
|
|
|
#
|
|
|
|
|
# SPDX-License-Identifier: ISC
|
2019-04-01 21:05:16 +02:00
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
|
|
# Create build dir
|
|
|
|
|
export SRC_DIR=$PWD
|
|
|
|
|
export BUILD_DIR=build
|
|
|
|
|
|
|
|
|
|
mkdir -p $BUILD_DIR
|
|
|
|
|
cd $BUILD_DIR
|
|
|
|
|
|
|
|
|
|
${XRAY_VIVADO} -mode batch -source $SRC_DIR/runme.tcl
|
|
|
|
|
test -z "$(fgrep CRITICAL vivado.log)" && touch run.ok
|