File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -242,10 +242,10 @@ jobs:
242
242
export ONEAPI_ROOT=/tmp/gdb
243
243
./${{ env.GDB_INSTALLER }} -a -s --eula accept --install-dir $ONEAPI_ROOT
244
244
source $ONEAPI_ROOT/debugger/latest/env/vars.sh
245
- # We match only major and minor version because latest gdb is not
246
- # often available.
247
- gdb_version=$(echo "$GDB_INSTALLER" | grep -oP '\d+\.\d+ ' | head -n 1)
248
- icpx_version=$(conda list dpcpp-cpp-rt | tail -n 1 | awk '{print $2}' | grep -oP '\d+\.\d+' )
245
+ # We match only major version because latest gdb is not often
246
+ # available.
247
+ gdb_version=$(echo "$GDB_INSTALLER" | grep -oP '\d+' | head -n 1)
248
+ icpx_version=$(conda list dpcpp-cpp-rt | tail -n 1 | awk '{print $2}' | grep -oP '\d+' | head -n 1 )
249
249
if [ "$gdb_version" != "$icpx_version" ]; then
250
250
echo "Error: GDB version ($gdb_version) does not match icpx version ($icpx_version)"
251
251
exit 1
You can’t perform that action at this time.
0 commit comments