roctracer requires libhsakmt.so shared library and new default for roct-thunk-interface is BUILD_SHARED_LIBS=OFF,  So setting this to ON so standalone build works for roctracer.
@@ -76,7 +76,7 @@ if [ "$1" != "nocmake" ] && [ "$1" != "install" ] ; then
BUILDTYPE="Release"
echo $SUDO rm -rf $BUILD_AOMP/build/roct
$SUDO rm -rf $BUILD_AOMP/build/roct
- MYCMAKEOPTS="-DCMAKE_INSTALL_PREFIX=$INSTALL_ROCT -DCMAKE_BUILD_TYPE=$BUILDTYPE $AOMP_ORIGIN_RPATH -DCMAKE_INSTALL_LIBDIR=$AOMP_INSTALL_DIR/lib"
+ MYCMAKEOPTS="-DCMAKE_INSTALL_PREFIX=$INSTALL_ROCT -DCMAKE_BUILD_TYPE=$BUILDTYPE $AOMP_ORIGIN_RPATH -DCMAKE_INSTALL_LIBDIR=$AOMP_INSTALL_DIR/lib -DBUILD_SHARED_LIBS=ON"
mkdir -p $BUILD_AOMP/build/roct
cd $BUILD_AOMP/build/roct
echo " -----Running roct cmake ---- "
