summarylogtreecommitdiffstats
path: root/aocl-aocc.install
diff options
context:
space:
mode:
Diffstat (limited to 'aocl-aocc.install')
-rw-r--r--aocl-aocc.install7
1 files changed, 6 insertions, 1 deletions
diff --git a/aocl-aocc.install b/aocl-aocc.install
index 0aa6fed53990..9117229fc8d3 100644
--- a/aocl-aocc.install
+++ b/aocl-aocc.install
@@ -1,5 +1,10 @@
post_install() {
- echo "Use 'module load aocl-aocc' 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-aocc"
+ echo "to set up the environment for AMD Optimizing CPU Libraries."
+ fi
}
post_upgrade() {