Skip to content

Commit

Permalink
more cmake changes
Browse files Browse the repository at this point in the history
  • Loading branch information
YellowRoseCx committed May 16, 2024
1 parent d23982b commit 60af2da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake-rocm-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ jobs:
Get-Location
cmake --version
clang --version
cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DLLAMA_HIPBLAS=ON -DHIP_PLATFORM=amd -DCMAKE_C_COMPILER="C:\Program Files\AMD\ROCm\5.7\bin\clang.exe" -DCMAKE_CXX_COMPILER="C:\Program Files\AMD\ROCm\5.7\bin\clang++.exe" -DAMDGPU_TARGETS="gfx803;gfx900;gfx906;gfx908;gfx90a;gfx1010;gfx1030;gfx1031;gfx1032;gfx1100;gfx1101;gfx1102"
cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DLLAMA_HIPBLAS=ON -DHIP_PLATFORM=amd -DAMDGPU_TARGETS="gfx803;gfx900;gfx906;gfx908;gfx90a;gfx1010;gfx1030;gfx1031;gfx1032;gfx1100;gfx1101;gfx1102"
cmake --build . --config Release -j ${env:NUMBER_OF_PROCESSORS}
# -DCMAKE_C_COMPILER="C:\Program Files\AMD\ROCm\5.7\bin\clang.exe" -DCMAKE_CXX_COMPILER="C:\Program Files\AMD\ROCm\5.7\bin\clang++.exe"
- name: Copy ROCm DLLs and Run PyInstaller
run: |
Set-Location 'D:\a\koboldcpp-rocm\koboldcpp-rocm'
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ set(LLAMA_SANITIZE_ADDRESS OFF)
set(LLAMA_SANITIZE_UNDEFINED OFF)
set(LLVM_CC "C:/Program Files/LLVM/bin/clang.exe")
set(LLVM_CXX "C:/Program Files/LLVM/bin/clang++.exe")
set(ROCM_CC "C:\Program Files\AMD\ROCm\5.7\bin\clang.exe")
set(ROCM_CXX "C:\Program Files\AMD\ROCm\5.7\bin\clang++.exe")
set(ROCM_CC "C:/Program Files/AMD\ROCm/5.7/bin/clang.exe")
set(ROCM_CXX "C:/Program Files/AMD\ROCm/5.7/bin/clang++.exe")

# instruction set specific
option(LLAMA_AVX "llama: enable AVX" ON)
Expand Down

0 comments on commit 60af2da

Please sign in to comment.