blob: d0f4e10d03c3b4822488f4045027230a9e2ccf15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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-gcc"
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-gcc.conf` containing:'
echo " /opt/aocl/gcc/lib/"
echo 'then running `ldconfig`'
echo 'and creating `/etc/profile.d/aocl-gcc.sh` containing:'
echo " export AOCL_ROOT=/opt/aocl/gcc/"
}
post_upgrade() {
post_install
}
|