16 lines
440 B
Bash
16 lines
440 B
Bash
# shellcheck shell=bash
|
|
# vim: ft=sh
|
|
|
|
if [[ -n ${ENABLE_INTEL_STUDIO+set} ]]; then
|
|
#export COMPILERVARS_ARCHITECTURE=intel64
|
|
#export COMPILERVARS_PLATFORM=linux
|
|
INTEL_VARS=( /opt/intel/oneapi/advisor/latest/advixe-vars.sh
|
|
/opt/intel/oneapi/compiler/latest/env/vars.sh
|
|
/opt/intel/oneapi/vtune/latest/vtune-vars.sh )
|
|
|
|
for f in "${INTEL_VARS[@]}"; do
|
|
if [ -r "$f" ]; then source "$f" >/dev/null; fi
|
|
done
|
|
fi
|
|
|