Commit 39b3885d authored by Matthieu Boileau's avatar Matthieu Boileau

Update AMD-APP-SDK/install.sh

parent 36f74eb2
...@@ -20,7 +20,11 @@ if [[ -d $SRC_DIR ]]; then ...@@ -20,7 +20,11 @@ if [[ -d $SRC_DIR ]]; then
if [[ ! -f $INSTALL_SCRIPT ]]; then if [[ ! -f $INSTALL_SCRIPT ]]; then
tar xvjf $TARBALL || exit 1 tar xvjf $TARBALL || exit 1
fi fi
./$INSTALL_SCRIPT --nox11 echo "y" > script.input
echo "y" >> script.input
echo $INSTALL_DIR >> script.input
./$INSTALL_SCRIPT --nox11 < script.input
ln -s /etc/OpenCL/vendors/nvidia.icd /data/software/install/AMD-APP-SDK/3.0.130.136/AMDAPPSDK-3.0/etc/OpenCL/vendors/nvidia.icd
else else
echo "Source dir $SRC_DIR does not exist." echo "Source dir $SRC_DIR does not exist."
exit 1 exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment