summarylogtreecommitdiffstats
path: root/aocl-aocc.install
blob: e14ef990c725ccc5cca7fc85100f4f057cf681a2 (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-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`'
	echo 'and creating `/etc/profile.d/aocl-aocc.sh` containing:'
	echo " export AOCL_ROOT=/opt/aocl/aocc/"
}

post_upgrade() {
	post_install
}