Initial commit: modular bash configuration
Reinitialised repo to purge credential history. Credential files are now gitignored with .example templates. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
4cfec0b336
22 changed files with 364 additions and 0 deletions
13
20-oneapi
Executable file
13
20-oneapi
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
# shellcheck shell=bash
|
||||
# Intel oneAPI toolkit — source the environment setup if installed
|
||||
# shellcheck disable=SC1090
|
||||
ONEAPI_SETVARS="/opt/intel/oneapi/setvars.sh"
|
||||
if [[ -f "$ONEAPI_SETVARS" ]]; then
|
||||
. "$ONEAPI_SETVARS" --force > /dev/null
|
||||
if [[ -n "$ONEAPI_ROOT" ]]; then
|
||||
case ":${LD_LIBRARY_PATH}:" in
|
||||
*":${ONEAPI_ROOT}/lib:"*) ;;
|
||||
*) export LD_LIBRARY_PATH="${ONEAPI_ROOT}/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" ;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue