mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-21 05:43:42 +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?
|
# are we linux?
|
||||||
case `uname -s` in
|
case `uname -s` in
|
||||||
Linux)
|
Linux)
|
||||||
local iccvars_path=/opt/intel/Compiler/11.0/074/bin/iccvars.sh
|
iccvars_path=/opt/intel/Compiler/11.0/074/bin/iccvars.sh
|
||||||
if [[ -x $iccvars_path ]] ; then
|
if [[ -r $iccvars_path ]] ; then
|
||||||
case `uname -m` in
|
case `uname -m` in
|
||||||
x86_64)
|
x86_64)
|
||||||
source $iccvars_path intel64
|
source $iccvars_path intel64
|
||||||
|
@ -14,6 +15,11 @@ case `uname -s` in
|
||||||
source $iccvars_path ia64
|
source $iccvars_path ia64
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
else
|
||||||
|
iccvars_path=/opt/intel/cc/10.1.018/bin/iccvars.sh
|
||||||
|
if [[ -r $iccvars_path ]] ; then
|
||||||
|
source $iccvars_path
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Reference in a new issue