diff options
author | Darjan Krijan | 2021-03-17 19:25:27 +0100 |
---|---|---|
committer | Darjan Krijan | 2021-03-17 19:25:27 +0100 |
commit | cd059bcb02ad40027fe2af17dd6660cc74768e02 (patch) | |
tree | 350819e82cbb031f42657370b220e1015e4f3df2 /aocl-gcc.install | |
parent | 3d54154e82d32593ad01bed32c17ff8d67fa8d84 (diff) | |
download | aur-cd059bcb02ad40027fe2af17dd6660cc74768e02.tar.gz |
Update to 3.0-6, env-modules now optional
Diffstat (limited to 'aocl-gcc.install')
-rw-r--r-- | aocl-gcc.install | 7 |
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() { |