From d405e561ce7302b0bb5f4a23dc918c7225696da3 Mon Sep 17 00:00:00 2001 From: Amit Pandey Date: Mon, 16 Dec 2024 12:30:10 +0530 Subject: [PATCH] Fix the build_project.sh with ROCr changes from ATD. --- bin/build_project.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/build_project.sh b/bin/build_project.sh index 078a41600..65b4f7f53 100755 --- a/bin/build_project.sh +++ b/bin/build_project.sh @@ -23,8 +23,10 @@ WEBSITE="http\:\/\/github.com\/ROCm-Developer-Tools\/aomp" # Check-openmp prep # Patch rocr -ROCR_REPO_DIR=$AOMP_REPOS/$AOMP_ROCR_REPO_NAME -patchrepo $ROCR_REPO_DIR +if [ "$AOMP_APPLY_ATD_AMD_STAGING_PATCH" == 1 ] ; then + ROCR_REPO_DIR=$AOMP_REPOS/$AOMP_ROCR_REPO_NAME + patchrepo $ROCR_REPO_DIR +fi # Patch llvm-project with ATD patch customized for amd-staging. # WARNING: This patch (ATD_ASO_full.patch) rarely applies cleanly