Skip to content

Commit

Permalink
Fix job name checking for AVX tests (#8135)
Browse files Browse the repository at this point in the history
  • Loading branch information
yf225 authored Jun 4, 2018
1 parent c0a419e commit a5ce012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .jenkins/pytorch/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ fi

export ATEN_DISABLE_AVX=
export ATEN_DISABLE_AVX2=
if [[ "${JOB_BASE_NAME}" == *NO_AVX* ]]; then
if [[ "${JOB_BASE_NAME}" == *-NO_AVX-* ]]; then
export ATEN_DISABLE_AVX=1
fi
if [[ "${JOB_BASE_NAME}" == *NO_AVX2* ]]; then
if [[ "${JOB_BASE_NAME}" == *-NO_AVX2-* ]]; then
export ATEN_DISABLE_AVX2=1
fi

Expand Down

0 comments on commit a5ce012

Please sign in to comment.