From a30018e16668f8a1eea8b3f9aa3016da4ef24520 Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Thu, 25 Feb 2016 23:07:18 -0600 Subject: [PATCH] Add PATH and LD_LIBRARY_FLAGS --- bin/hipconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/hipconfig b/bin/hipconfig index 1687983330..b369a83e52 100755 --- a/bin/hipconfig +++ b/bin/hipconfig @@ -14,7 +14,7 @@ GetOptions( ,"compiler|c" => \$p_compiler ,"platform|P" => \$p_platform ,"cpp_config|cxx_config|C" => \$p_cpp_config - ,"full|f" => \$p_full, + ,"full|f|info" => \$p_full, ,"newline|n" => \$p_newline ); @@ -94,7 +94,9 @@ if ($p_full) { print "\n" ; print "=== Environment Variables\n"; - system("env | egrep '^HIP|^HSA|^HCC|^CUDA'"); + system("echo PATH=\$PATH"); + system("env | egrep '^HIP|^HSA|^HCC|^CUDA|^LD_LIBRARY_PATH'"); + print "\n" ; print "== Linux Kernel\n";