@@ -49,16 +49,16 @@ case "${with_aocl}" in
4949
5050 * )
5151 echo " ==================== Linking AOCL to user paths ===================="
52- pkg_install_dir=" $with_openblas "
52+ pkg_install_dir=" $with_aocl "
5353 check_dir " ${pkg_install_dir} /include"
5454 check_dir " ${pkg_install_dir} /lib"
5555 AOCL_CFLAGS=" -I'${pkg_install_dir} /include'"
5656 AOCL_LDFLAGS=" -L'${pkg_install_dir} /lib' -Wl,-rpath,'${pkg_install_dir} /lib'"
5757 AOCL_LIBS=" -lblis -lflame"
5858 ;;
5959esac
60- if [ " $with_openblas " != " __DONTUSE__" ]; then
61- if [ " $with_openblas " != " __SYSTEM__" ]; then
60+ if [ " $with_aocl " != " __DONTUSE__" ]; then
61+ if [ " $with_aocl " != " __SYSTEM__" ]; then
6262 cat << EOF > "${BUILDDIR} /setup_aocl"
6363prepend_path LD_LIBRARY_PATH "$pkg_install_dir /lib"
6464prepend_path LD_RUN_PATH "$pkg_install_dir /lib"
@@ -76,7 +76,7 @@ export AOCL_ROOT=${pkg_install_dir}
7676EOF
7777 cat " ${BUILDDIR} /setup_aocl" >> $SETUPFILE
7878 fi
79- cat << EOF >> "${BUILDDIR} /setup_aocl"
79+ cat << EOF >> "${BUILDDIR} /setup_aocl"
8080export AOCL_ROOT="${pkg_install_dir} "
8181export AOCL_CFLAGS="${AOCL_CFLAGS} "
8282export AOCL_LDFLAGS="${AOCL_LDFLAGS} "
0 commit comments