File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1003,7 +1003,7 @@ jobs:
10031003 Compress-Archive -Path "build/bin/${{ matrix.build }}" -DestinationPath "whisper-bin-${{ matrix.arch }}.zip"
10041004
10051005 - name : Upload binaries
1006- if : matrix.sdl2 == 'ON' && ${{ needs.determine-tag.outputs.should_release }}
1006+ if : ${{ matrix.sdl2 == 'ON' && needs.determine-tag.outputs.should_release }}
10071007 uses : actions/upload-artifact@v6
10081008 with :
10091009 name : whisper-bin-${{ matrix.arch }}.zip
@@ -1089,7 +1089,7 @@ jobs:
10891089 Compress-Archive -Path "build/bin/${{ matrix.build }}" -DestinationPath "whisper-blas-bin-${{ matrix.arch }}.zip"
10901090
10911091 - name : Upload binaries
1092- if : matrix.blas == 'ON' && matrix.sdl2 == 'ON' && ${{ needs.determine-tag.outputs.should_release }}
1092+ if : ${{ matrix.blas == 'ON' && matrix.sdl2 == 'ON' && needs.determine-tag.outputs.should_release }}
10931093 uses : actions/upload-artifact@v6
10941094 with :
10951095 name : whisper-blas-bin-${{ matrix.arch }}.zip
Original file line number Diff line number Diff line change @@ -79,6 +79,12 @@ if [ ! -z ${GG_BUILD_ROCM} ]; then
7979 fi
8080
8181 CMAKE_EXTRA=" ${CMAKE_EXTRA} -DAMDGPU_TARGETS=${GG_BUILD_AMDGPU_TARGETS} "
82+
83+ # Set HIP environment if not already set
84+ export HIP_PLATFORM=${HIP_PLATFORM:- amd}
85+ export ROCM_PATH=${ROCM_PATH:-/ opt/ rocm}
86+ export HIP_PATH=${HIP_PATH:-/ opt/ rocm}
87+ CMAKE_EXTRA=" ${CMAKE_EXTRA} -DCMAKE_PREFIX_PATH=${ROCM_PATH} -DCMAKE_HIP_COMPILER=${ROCM_PATH} /lib/llvm/bin/clang++"
8288fi
8389
8490if [ ! -z ${GG_BUILD_SYCL} ]; then
You can’t perform that action at this time.
0 commit comments