File tree Expand file tree Collapse file tree 1 file changed +2
-22
lines changed
Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -115,34 +115,14 @@ jobs:
115115 # Add ROCm to PATH for current session
116116 echo "/opt/rocm/bin" >> $GITHUB_PATH
117117
118- - name : Verify ROCm Installation
119- run : |
120- # Verify ROCm installation
121- if [ -f "/opt/rocm/bin/clang" ]; then
122- echo "ROCm clang found at /opt/rocm/bin/clang"
123- /opt/rocm/bin/clang --version
124- else
125- echo "ERROR: ROCm clang not found"
126- ls -la /opt/rocm/bin/ || echo "ROCm bin directory not found"
127- exit 1
128- fi
129-
130- # Test rocminfo if available
131- if command -v rocminfo >/dev/null 2>&1; then
132- echo "ROCm device info:"
133- rocminfo | head -20 || echo "Warning: rocminfo failed, but continuing"
134- else
135- echo "rocminfo not available (expected in CI environment)"
136- fi
137-
138118 - name : Build
139119 id : cmake_build
140120 run : |
141121 mkdir build
142122 cd build
143123 cmake .. -G Ninja \
144- -DCMAKE_CXX_COMPILER=/opt/rocm/bin/clang ++ \
145- -DCMAKE_C_COMPILER=/opt/rocm/bin/clang \
124+ -DCMAKE_CXX_COMPILER=amdclang ++ \
125+ -DCMAKE_C_COMPILER=amdclang \
146126 -DCMAKE_BUILD_TYPE=Release \
147127 -DGGML_HIPBLAS=ON \
148128 -DGGML_AVX2=ON \
You can’t perform that action at this time.
0 commit comments