mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
20 lines
417 B
Text
Executable file
20 lines
417 B
Text
Executable file
local iccvars_path;
|
|
iccvars_path=$(echo /opt/intel/Compiler/11.*/*/bin/iccvars.sh(On[1]))
|
|
if [[ -r $iccvars_path ]] ; then
|
|
case `uname -m` in
|
|
x86_64)
|
|
source $iccvars_path intel64
|
|
;;
|
|
i*86)
|
|
source $iccvars_path ia32
|
|
;;
|
|
ia64)
|
|
source $iccvars_path ia64
|
|
;;
|
|
esac
|
|
else
|
|
iccvars_path=$(echo /opt/intel/cc*/(10|9).*/bin/iccvars.sh(On[1]))
|
|
if [[ -r $iccvars_path ]] ; then
|
|
source $iccvars_path
|
|
fi
|
|
fi
|