Skip to content

Commit 2519fc2

Browse files
committed
create aocl script
1 parent 8a1f4ac commit 2519fc2

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash -e
2+
3+
# TODO: Review and if possible fix shellcheck errors.
4+
# shellcheck disable=all
5+
6+
# Last Update in 2025-0308
7+
8+
[ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0
9+
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)"
10+
11+
source "${SCRIPT_DIR}"/common_vars.sh
12+
source "${SCRIPT_DIR}"/tool_kit.sh
13+
source "${SCRIPT_DIR}"/signal_trap.sh
14+
source "${INSTALLDIR}"/toolchain.conf
15+
source "${INSTALLDIR}"/toolchain.env
16+
17+
[ -f "${BUILDDIR}/setup_mkl" ] && rm "${BUILDDIR}/setup_mkl"
18+
19+
MKL_CFLAGS=""
20+
MKL_LDFLAGS=""
21+
MKL_LIBS=""
22+
MKL_FFTW="yes"
23+
24+
! [ -d "${BUILDDIR}" ] && mkdir -p "${BUILDDIR}"
25+
cd "${BUILDDIR}"
26+
27+
# Not Completed

0 commit comments

Comments
 (0)