blob: 5ae4ea354896b979bf89be6797f6d3b7578ba01b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
post_install() {
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
echo "You can enable AMD Optimizing CPU Libraries globally"
echo 'by creating `/etc/ld.so.conf.d/aocl-aocc.conf` containing:'
echo " /opt/aocl/aocc/lib/"
echo 'then running `ldconfig`'
}
post_upgrade() {
post_install
}
|