Skip to content

Commit

Permalink
fix(ci-windows): Fix cmake build -j nproc
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro-v committed Oct 8, 2023
1 parent 2882bb4 commit 3da740a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ jobs:
mkdir build
cd build
cmake .. ${{ matrix.defines }}
cmake --build . --config Release -j ${env:NUMBER_OF_PROCESSORS}
cmake --build . --config Release -j $(nproc)
- name: Add libopenblas.dll
id: add_libopenblas_dll
Expand Down Expand Up @@ -347,7 +347,7 @@ jobs:
mkdir build
cd build
cmake .. -DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_CUBLAS=ON -DBUILD_SHARED_LIBS=ON
cmake --build . --config Release -j ${env:NUMBER_OF_PROCESSORS}
cmake --build . --config Release -j $(nproc)
- name: Extract branch name
shell: cmd
Expand Down

0 comments on commit 3da740a

Please sign in to comment.