SWDEV-296926 - warning message for hipcc/hipconfig pl deprecation (#2438)

Change-Id: I9bd339b1cbeac54b9905a00a71849a441694d0ff

[ROCm/hip commit: 9799a0278a]
This commit is contained in:
agunashe
2022-01-12 20:33:58 -08:00
committed by GitHub
parent 7f451b6ad9
commit ed7cd9b7e1
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -759,6 +759,11 @@ if ($printCXXFlags) {
if ($printLDFlags) {
print $HIPLDFLAGS;
}
$warn = "\nPlease note that hipcc/hipconfig perl binaries are deprecated and will be removed in a future release.
hipcc/hipconfig as C++ binaries are available for use as hipcc.bin and hipconfig.bin. \n";
print "$warn";
if ($runCmd) {
system ("$CMD");
if ($? == -1) {
+4
View File
@@ -48,6 +48,7 @@ $ROCM_PATH = $hipvars::ROCM_PATH;
$HIP_VERSION = $hipvars::HIP_VERSION;
$HSA_PATH = $hipvars::HSA_PATH;
Getopt::Long::Configure ( qw{bundling no_ignore_case});
GetOptions(
"help|h" => \$p_help
@@ -148,6 +149,9 @@ if ($p_version) {
}
if (!$printed or $p_full) {
$warn = "Please note that hipcc/hipconfig perl binaries are deprecated and will be removed in a future release.
hipcc/hipconfig as C++ binaries are available for use as hipcc.bin and hipconfig.bin. \n";
print "$warn";
print "HIP version : ", $HIP_VERSION, "\n\n";
print "== hipconfig\n";
print "HIP_PATH : ", $HIP_PATH, "\n";