mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-16 03:49:42 +00:00
try hardcoded path (+1 squashed commits)
Squashed commits: [711b43d9d] let's see if VS2019 can work
This commit is contained in:
parent
736030bb9f
commit
a74d8669b3
2 changed files with 5 additions and 5 deletions
|
@ -13,7 +13,7 @@ env:
|
|||
|
||||
jobs:
|
||||
windows:
|
||||
runs-on: windows-2019
|
||||
runs-on: windows-2022
|
||||
steps:
|
||||
- name: Clone
|
||||
id: checkout
|
||||
|
@ -64,12 +64,14 @@ jobs:
|
|||
cuda: '11.4.4'
|
||||
use-github-cache: false
|
||||
|
||||
- name: Build CUDA
|
||||
- name: Build CUDA with Visual Studio 2019
|
||||
id: cmake_build
|
||||
shell: cmd
|
||||
run: |
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DLLAMA_CUBLAS=ON -DCMAKE_SYSTEM_VERSION="10.0.19041.0"
|
||||
cmake .. -G "Visual Studio 16 2019" -A x64 -DLLAMA_CUBLAS=ON -DCMAKE_SYSTEM_VERSION="10.0.19041.0"
|
||||
cmake --build . --config Release -j 2
|
||||
cd ..
|
||||
|
||||
|
|
|
@ -79,8 +79,6 @@ set(GGML_V2_LEGACY_CUDA_SOURCES otherarch/ggml_v2-cuda-legacy.cu otherarch/ggml_
|
|||
|
||||
|
||||
if (LLAMA_CUBLAS)
|
||||
cmake_minimum_required(VERSION 3.17)
|
||||
|
||||
find_package(CUDAToolkit)
|
||||
if (CUDAToolkit_FOUND)
|
||||
message(STATUS "cuBLAS found")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue