mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-19 21:03:48 +00:00
icc update (good for ACM machines)
This commit is contained in:
parent
d32a528f6a
commit
96fef27be2
1 changed files with 8 additions and 2 deletions
10
zsh/icc
10
zsh/icc
|
@ -1,8 +1,9 @@
|
|||
local iccvars_path;
|
||||
# are we linux?
|
||||
case `uname -s` in
|
||||
Linux)
|
||||
local iccvars_path=/opt/intel/Compiler/11.0/074/bin/iccvars.sh
|
||||
if [[ -x $iccvars_path ]] ; then
|
||||
iccvars_path=/opt/intel/Compiler/11.0/074/bin/iccvars.sh
|
||||
if [[ -r $iccvars_path ]] ; then
|
||||
case `uname -m` in
|
||||
x86_64)
|
||||
source $iccvars_path intel64
|
||||
|
@ -14,6 +15,11 @@ case `uname -s` in
|
|||
source $iccvars_path ia64
|
||||
;;
|
||||
esac
|
||||
else
|
||||
iccvars_path=/opt/intel/cc/10.1.018/bin/iccvars.sh
|
||||
if [[ -r $iccvars_path ]] ; then
|
||||
source $iccvars_path
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue