diff options
author | m-wells | 2015-06-08 16:37:18 -0400 |
---|---|---|
committer | m-wells | 2015-06-08 16:37:18 -0400 |
commit | ad6edc683eedca068901f398b20044e12edba190 (patch) | |
tree | d2d9f15ad2377dea97a427e00cc654bceb35e033 /intel_compilers.sh | |
download | aur-ad6edc683eedca068901f398b20044e12edba190.tar.gz |
Initial import
Diffstat (limited to 'intel_compilers.sh')
-rwxr-xr-x | intel_compilers.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/intel_compilers.sh b/intel_compilers.sh new file mode 100755 index 000000000000..1867ffecd344 --- /dev/null +++ b/intel_compilers.sh @@ -0,0 +1,23 @@ +#/bin/bash + +TMP_LLP=$LD_LIBRARY_PATH +if [ -z $TMP_LLP ] ; then + LLP_NULL=true ; +else + LLP_NULL=false ; +fi + +. /opt/intel/composerxe/bin/compilervars.sh <arch> +#. /opt/intel/composerxe/bin/iccvars.sh <arch> + +PATH=$PATH:/opt/intel/bin +export PATH + +if [ $LLP_NULL ] ; then + unset LD_LIBRARY_PATH +else + LD_LIBRARY_PATH=$TMP_LLP + export LD_LIBRARY_PATH +fi + +export INTEL_LICENSE_FILE=/opt/intel/licenses |