Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
soumagne committed Nov 15, 2023
1 parent d0b9227 commit 8e0d81d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Testing/script/gh_install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ PSM_VERSION=updates

set -e

# Source intel env when using icx
# Default to GNU compilers when building dependencies
if [[ ${CC} == 'icx' ]]; then
ICX_LATEST_VERSION=$(ls -1 /opt/intel/oneapi/compiler/ | grep -v latest | sort | tail -1)
source /opt/intel/oneapi/compiler/"$ICX_LATEST_VERSION"/env/vars.sh
CC=gcc
CXX=g++
fi

# BMI
Expand Down

0 comments on commit 8e0d81d

Please sign in to comment.