summarylogtreecommitdiffstats
path: root/aocl-gcc.install
diff options
context:
space:
mode:
Diffstat (limited to 'aocl-gcc.install')
-rw-r--r--aocl-gcc.install7
1 files changed, 6 insertions, 1 deletions
diff --git a/aocl-gcc.install b/aocl-gcc.install
index 46d79afc7785..ce5339dca828 100644
--- a/aocl-gcc.install
+++ b/aocl-gcc.install
@@ -1,5 +1,10 @@
post_install() {
- echo "Use 'module load aocl-gcc' to set up the environment for AMD Optimizing CPU Libraries."
+ if pacman -Q env-modules &> /dev/null; then
+ echo "env-modules seems to be installed:"
+ echo "If configured correctly, you can conveniently use"
+ echo " $ module load aocl-gcc"
+ echo "to set up the environment for AMD Optimizing CPU Libraries."
+ fi
}
post_upgrade() {