2018-09-26 11:30:25 +08:00
|
|
|
#!/bin/bash
|
2019-06-02 04:58:16 +08:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2018 Intel Corporation. All rights reserved.
|
2018-04-26 00:48:39 +08:00
|
|
|
|
2018-02-09 00:25:58 +08:00
|
|
|
# fail on any errors
|
|
|
|
set -e
|
|
|
|
|
2019-04-29 18:58:59 +08:00
|
|
|
cd tools
|
|
|
|
cd testbench
|
2019-03-09 00:58:38 +08:00
|
|
|
|
2019-04-29 18:58:59 +08:00
|
|
|
rm -rf build_testbench
|
2019-01-28 20:25:32 +08:00
|
|
|
|
2019-04-29 18:58:59 +08:00
|
|
|
mkdir build_testbench
|
|
|
|
cd build_testbench
|
|
|
|
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=install \
|
2019-01-28 20:25:32 +08:00
|
|
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
|
|
|
..
|
|
|
|
|
2019-03-22 07:44:13 +08:00
|
|
|
make -j$(nproc --all)
|
2018-02-09 00:25:58 +08:00
|
|
|
make install
|