dots/zsh/icc
David Majnemer ba2f3cfb85 huge changes and refactoring done:
-   split zsh into many files
-   add bash support
-   cleaned up lots of stuff, created a commonsh folder for common stuff between bash and zsh
-   commonsh supports an order of execution, deliminated by filename. This is to enforce dependencies
All of these changes were needed so that we could sensibly continue to extend the system
2009-01-02 18:37:27 -05:00

22 lines
475 B
Text
Executable file

local iccvars_path;
if [[ -d "/opt/intel/Compiler" ]] ; then
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
fi
else
iccvars_path=$(echo /opt/intel/cc*/(10|9).*/bin/iccvars.sh(On[1]))
if [[ -r $iccvars_path ]] ; then
source $iccvars_path
fi
fi