summarylogtreecommitdiffstats
path: root/aocl-gcc.install
diff options
context:
space:
mode:
authorDarjan Krijan2021-03-17 19:25:27 +0100
committerDarjan Krijan2021-03-17 19:25:27 +0100
commitcd059bcb02ad40027fe2af17dd6660cc74768e02 (patch)
tree350819e82cbb031f42657370b220e1015e4f3df2 /aocl-gcc.install
parent3d54154e82d32593ad01bed32c17ff8d67fa8d84 (diff)
downloadaur-cd059bcb02ad40027fe2af17dd6660cc74768e02.tar.gz
Update to 3.0-6, env-modules now optional
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() {