Skip to content

Commit 194358e

Browse files
committed
ci : restore the original HIP commands
1 parent 50455de commit 194358e

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,10 +1106,7 @@ jobs:
11061106
run: |
11071107
$env:HIP_PATH=$(Resolve-Path 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' | split-path | split-path)
11081108
$env:CMAKE_PREFIX_PATH="${env:HIP_PATH}"
1109-
cmake -G "Unix Makefiles" -B build -S . -DCMAKE_C_COMPILER="${env:HIP_PATH}\bin\clang.exe" -DCMAKE_CXX_COMPILER="${env:HIP_PATH}\bin\clang++.exe" \
1110-
-DCMAKE_BUILD_TYPE=Release \
1111-
-DGGML_HIP=ON \
1112-
-DGGML_RPC=ON
1109+
cmake -G "Unix Makefiles" -B build -S . -DCMAKE_C_COMPILER="${env:HIP_PATH}\bin\clang.exe" -DCMAKE_CXX_COMPILER="${env:HIP_PATH}\bin\clang++.exe" -DGGML_HIP=ON -DCMAKE_BUILD_TYPE=Release -DGGML_RPC=ON
11131110
cmake --build build -j ${env:NUMBER_OF_PROCESSORS}
11141111
11151112
windows-latest-cmake-hip-release:
@@ -1147,11 +1144,7 @@ jobs:
11471144
run: |
11481145
$env:HIP_PATH=$(Resolve-Path 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' | split-path | split-path)
11491146
$env:CMAKE_PREFIX_PATH="${env:HIP_PATH}"
1150-
cmake -G "Unix Makefiles" -B build -S . -DCMAKE_C_COMPILER="${env:HIP_PATH}\bin\clang.exe" -DCMAKE_CXX_COMPILER="${env:HIP_PATH}\bin\clang++.exe" \
1151-
-DCMAKE_BUILD_TYPE=Release \
1152-
-DAMDGPU_TARGETS=${{ matrix.gpu_target }} \
1153-
-DGGML_HIP=ON \
1154-
-DGGML_RPC=ON
1147+
cmake -G "Unix Makefiles" -B build -S . -DCMAKE_C_COMPILER="${env:HIP_PATH}\bin\clang.exe" -DCMAKE_CXX_COMPILER="${env:HIP_PATH}\bin\clang++.exe" -DGGML_HIP=ON -DCMAKE_BUILD_TYPE=Release -DAMDGPU_TARGETS=${{ matrix.gpu_target }} -DGGML_RPC=ON
11551148
cmake --build build -j ${env:NUMBER_OF_PROCESSORS}
11561149
md "build\bin\rocblas\library\"
11571150
cp "${env:HIP_PATH}\bin\hipblas.dll" "build\bin\"

0 commit comments

Comments
 (0)