-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.iris_bash_profile
More file actions
28 lines (20 loc) · 892 Bytes
/
Copy path.iris_bash_profile
File metadata and controls
28 lines (20 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
prepend_path PATH ~/"iris/bin/" 2> /dev/null
append_path LD_LIBRARY_PATH ~/"iris/lib64/" 2> /dev/null
unset GREP_OPTIONS
unset GZIP
gdb-oneapi()
{
(
declare -x LD_LIBRARY_PATH="${LD_LIBRARY_PATH}"
prepend_path LD_LIBRARY_PATH "${A21_SDK_ROOT}"/debugger/latest/gdb/intel64/lib
prepend_path LD_LIBRARY_PATH "${A21_SDK_ROOT}"/debugger/latest/libipt/intel64/lib 2> /dev/null
prepend_path LD_LIBRARY_PATH "${A21_SDK_ROOT}"/debugger/latest/dep/lib
declare -x PYTHONPATH="${PYTHONPATH}"
prepend_path PYTHONPATH "${A21_SDK_ROOT}"/debugger/latest/dep/lib/python3.8
declare -x PYTHONHOME=/usr/lib/python3.6
prepend_path PATH "${A21_SDK_ROOT}"/debugger/latest/gdb/intel64/bin
declare -x INTELGT_AUTO_ATTACH_DISABLE="${INTELGT_AUTO_ATTACH_DISABLE:-1}"
"$(type -P gdb-oneapi)" "${@}"
)
}
export -f gdb-oneapi