SWDEV-296926 - warning message for hipcc/hipconfig pl deprecation (#2438)
Change-Id: I9bd339b1cbeac54b9905a00a71849a441694d0ff
[ROCm/hip commit: 9799a0278a]
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user