From 1868a6c45ec90529ef764a7e37e27e58a3288dec Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Thu, 24 Mar 2016 22:12:41 -0500 Subject: [PATCH] report linux distro if possible [ROCm/hip commit: 814c3d30fc191825e867ff312d868d52b89eb91c] --- projects/hip/bin/hipconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/hip/bin/hipconfig b/projects/hip/bin/hipconfig index d5f068c097..af85e335a6 100755 --- a/projects/hip/bin/hipconfig +++ b/projects/hip/bin/hipconfig @@ -116,6 +116,10 @@ if (!$printed or $p_full) { print "== Linux Kernel\n"; system ("uname -a"); + if (-e "/usr/bin/lsb_release") { + system ("/usr/bin/lsb_release -a"); + } + print "\n" ; $printed = 1; }