From 75a6da697fa15009dc6884b7150d5eff0b20b224 Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Wed, 25 Oct 2023 17:28:57 +0200 Subject: [PATCH] [HIPIFY][SWDEV-424205][Linux][fix] Fix scripts directory, changed in Linux packages --- bin/hipconvertinplace-perl.sh | 2 +- bin/hipconvertinplace.sh | 2 +- bin/hipexamine-perl.sh | 2 +- bin/hipexamine.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/hipconvertinplace-perl.sh b/bin/hipconvertinplace-perl.sh index 0d4202fa..5a4dff3d 100755 --- a/bin/hipconvertinplace-perl.sh +++ b/bin/hipconvertinplace-perl.sh @@ -12,7 +12,7 @@ # (this is useful for testing improvements to the hipify-perl toolset). SCRIPT_DIR="$(dirname "$(realpath "$0")")" -PRIV_SCRIPT_DIR="$SCRIPT_DIR/../libexec/hipify" +PRIV_SCRIPT_DIR="$SCRIPT_DIR/../../libexec/hipify" SEARCH_DIR=$1 shift $SCRIPT_DIR/hipify-perl -inplace -print-stats "$@" `$PRIV_SCRIPT_DIR/findcode.sh $SEARCH_DIR` diff --git a/bin/hipconvertinplace.sh b/bin/hipconvertinplace.sh index 8250667a..8a4cebb4 100755 --- a/bin/hipconvertinplace.sh +++ b/bin/hipconvertinplace.sh @@ -7,7 +7,7 @@ # preserves the existing directory structure. SCRIPT_DIR="$(dirname "$(realpath "$0")")" -PRIV_SCRIPT_DIR="$SCRIPT_DIR/../libexec/hipify" +PRIV_SCRIPT_DIR="$SCRIPT_DIR/../../libexec/hipify" SEARCH_DIR=$1 hipify_args='' diff --git a/bin/hipexamine-perl.sh b/bin/hipexamine-perl.sh index ac628196..1ce1591d 100755 --- a/bin/hipexamine-perl.sh +++ b/bin/hipexamine-perl.sh @@ -7,7 +7,7 @@ SCRIPT_DIR="$(dirname "$(realpath "$0")")" -PRIV_SCRIPT_DIR="$SCRIPT_DIR/../libexec/hipify" +PRIV_SCRIPT_DIR="$SCRIPT_DIR/../../libexec/hipify" SEARCH_DIR=$1 shift $SCRIPT_DIR/hipify-perl -no-output -print-stats "$@" `$PRIV_SCRIPT_DIR/findcode.sh $SEARCH_DIR` diff --git a/bin/hipexamine.sh b/bin/hipexamine.sh index c6059e24..028f922a 100755 --- a/bin/hipexamine.sh +++ b/bin/hipexamine.sh @@ -5,7 +5,7 @@ # Generate CUDA->HIP conversion statistics for all the code files in the specified directory. SCRIPT_DIR="$(dirname "$(realpath "$0")")" -PRIV_SCRIPT_DIR="$SCRIPT_DIR/../libexec/hipify" +PRIV_SCRIPT_DIR="$SCRIPT_DIR/../../libexec/hipify" SEARCH_DIR=$1 hipify_args=''