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

Change-Id: I9bd339b1cbeac54b9905a00a71849a441694d0ff
This commit is contained in:
agunashe
2022-01-12 20:33:58 -08:00
committed by GitHub
vanhempi b665052bd7
commit 9799a0278a
2 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
+5
Näytä tiedosto
@@ -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
Näytä tiedosto
@@ -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";