1#!/bin/bash
2# SPDX-License-Identifier: BSD-3-Clause
3# Copyright(c) 2018 Intel Corporation. All rights reserved.
4
5# fail on any errors
6set -e
7
8deprecated()
9{
10    >&2 printf "\nWARNING: %s is deprecated, use newer rebuild-testbench.sh\n\n" \
11	"$0"
12}
13
14deprecated
15
16cd tools
17cd testbench
18
19rm -rf build_testbench
20
21mkdir build_testbench
22cd build_testbench
23
24cmake -DCMAKE_INSTALL_PREFIX=install \
25	-DCMAKE_VERBOSE_MAKEFILE=ON \
26	..
27
28make -j$(nproc --all)
29make install
30
31deprecated
32