Skip to content

Commit 524c959

Browse files
committed
followed 202502 updates
1 parent 753b106 commit 524c959

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

toolchain/build_abacus_aocc-aocl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ INSTALL_DIR=$TOOL/install
1616
source $INSTALL_DIR/setup
1717
cd $ABACUS_DIR
1818
ABACUS_DIR=$(pwd)
19-
#AOCLhome=/opt/aocl-linux-aocc-5.0.0/5.0.0/aocc/ # user should specify this parameter
19+
#AOCLhome=/opt/aocl-linux-aocc-5.0.0/5.0.0/aocl/ # user should specify this parameter
2020

2121
BUILD_DIR=build_abacus_aocl
2222
rm -rf $BUILD_DIR

toolchain/build_abacus_gnu-aocl.sh renamed to toolchain/build_abacus_gcc-aocl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ INSTALL_DIR=$TOOL/install
1616
source $INSTALL_DIR/setup
1717
cd $ABACUS_DIR
1818
ABACUS_DIR=$(pwd)
19-
#AOCLhome=/opt/aocl-linux-aocc-5.0.0/5.0.0/aocc/ # user should specify this parameter
19+
#AOCLhome=/opt/aocl-linux-aocc-5.0.0/5.0.0/aocl/ # user should specify this parameter
2020

2121
BUILD_DIR=build_abacus_aocl
2222
rm -rf $BUILD_DIR

toolchain/install_abacus_toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ To build ABACUS by gnu-toolchain, just use:
891891
To build ABACUS by intel-toolchain, just use:
892892
./build_abacus_intel.sh
893893
To build ABACUS by amd-toolchain in gcc-aocl, just use:
894-
./build_abacus_gnu-aocl.sh
894+
./build_abacus_gcc-aocl.sh
895895
To build ABACUS by amd-toolchain in aocc-aocl, just use:
896896
./build_abacus_aocc-aocl.sh
897897
or you can modify the builder scripts to suit your needs.

toolchain/scripts/stage2/install_aocl.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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
;;
5959
esac
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"
6363
prepend_path LD_LIBRARY_PATH "$pkg_install_dir/lib"
6464
prepend_path LD_RUN_PATH "$pkg_install_dir/lib"
@@ -76,7 +76,7 @@ export AOCL_ROOT=${pkg_install_dir}
7676
EOF
7777
cat "${BUILDDIR}/setup_aocl" >> $SETUPFILE
7878
fi
79-
cat << EOF >> "${BUILDDIR}/setup_aocl"
79+
cat << EOF >> "${BUILDDIR}/setup_aocl"
8080
export AOCL_ROOT="${pkg_install_dir}"
8181
export AOCL_CFLAGS="${AOCL_CFLAGS}"
8282
export AOCL_LDFLAGS="${AOCL_LDFLAGS}"

0 commit comments

Comments
 (0)