Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 6b04cc1

Browse files
committed
[Benchmarking CPP] Add build script to build TFTRT benchmark runner
Signed-off-by: Meenakshi Venkataraman <[email protected]>
1 parent 77afa50 commit 6b04cc1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tftrt/benchmarking-cpp/build.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#! /bin/bash
2+
3+
BUILD_DIR="./build"
4+
5+
if [ -d "${BUILD_DIR}" ]; then
6+
echo "Found old cpp benchmark build directory, deleting it..."
7+
rm -rf ${BUILD_DIR};
8+
echo "Done."
9+
fi
10+
11+
12+
echo "Building TFTRT CPP benchmark..."
13+
mkdir build
14+
cd build
15+
cmake ..
16+
make
17+
echo "Done"

0 commit comments

Comments
 (0)