File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 8383 shell : bash -noprofile --norc -eo pipefail -c "source /opt/intel/oneapi/setvars.sh > /dev/null; source {0}"
8484 outputs :
8585 test-triton-command : ${{ steps.test-triton.outputs.command }}
86+ pti_libs_dir : ${{ steps.build-proton.outputs.pti_libs_dir }}
8687 steps :
8788 - name : Print inputs
8889 run : |
@@ -120,6 +121,7 @@ jobs:
120121
121122 - name : Build Proton with XPU support
122123 if : inputs.driver_version == 'rolling' && inputs.device == 'max1100'
124+ id : build-proton
123125 run : |
124126 echo TRITON_BUILD_PROTON_XPU=1 | tee -a $GITHUB_ENV
125127
@@ -132,7 +134,7 @@ jobs:
132134
133135 PTI_LIBS_DIR="$(pwd)/build-linux-icpx-release/lib/"
134136 ls $PTI_LIBS_DIR
135- echo "PTI_LIBS_DIR =$PTI_LIBS_DIR" >> $GITHUB_ENV
137+ echo "pti_libs_dir =$PTI_LIBS_DIR" >> $GITHUB_OUTPUT
136138
137139 - name : Build Triton
138140 uses : ./.github/actions/setup-triton
@@ -299,6 +301,7 @@ jobs:
299301 - name : Run Proton tests
300302 if : matrix.suite == 'rest' && inputs.driver_version == 'rolling' && inputs.device == 'max1100'
301303 run : |
304+ export "PTI_LIBS_DIR=${{ needs.build.outputs.pti_libs_dir }}"
302305 export LD_LIBRARY_PATH=$PTI_LIBS_DIR:$LD_LIBRARY_PATH
303306 export TRITON_XPUPTI_LIB_PATH=$PTI_LIBS_DIR
304307 cd third_party/proton/test
You can’t perform that action at this time.
0 commit comments