Skip to content

Commit

Permalink
Merge pull request #590 from MethodicalAcceleratorDesign/ld-dev
Browse files Browse the repository at this point in the history
add set env for intel if it exists
  • Loading branch information
madcern committed Feb 28, 2018
2 parents 206382b + 032e813 commit c1a303d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/build-test-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ check_error "make all-linux64-gnu failed" "no-exit"

echo -e "\n===== Intel build ====="

if [ "`which compilervars.sh`" != "" ] ; then
source compilervars.sh intel64
fi

if [ "`which icc`" != "" -a "`which ifort`" != "" ] ; then
source compilervars.sh ia32
icc -V
Expand Down
4 changes: 4 additions & 0 deletions scripts/build-test-lxplus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ check_error "make all-linux64-gnu failed" "no-exit"

echo -e "\n===== Intel build ====="

if [ -f "/cvmfs/projects.cern.ch/intelsw/psxe/linux/all-setup.sh" ] ; then
source /cvmfs/projects.cern.ch/intelsw/psxe/linux/all-setup.sh intel64
fi

if [ "`which icc`" != "" -a "`which ifort`" != "" ] ; then
source /cvmfs/projects.cern.ch/intelsw/psxe/linux/all-setup.sh ia32
icc --version
Expand Down

0 comments on commit c1a303d

Please sign in to comment.