File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 4747 repository : ggml-org/llama.cpp
4848 path : repo
4949
50- - name : Get number of CPU cores
51- uses : SimenB/github-actions-cpu-cores@v2
52- id : cpu-cores
53-
5450 - name : Setup Alpine Linux
5551 uses : jirutka/setup-alpine@v1
5652 with :
5955 - name : CMake
6056 run : |
6157 cmake repo -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS="-static" -DGGML_NATIVE=OFF -DGGML_STATIC=ON -DGGML_RPC=ON -DGGML_CCACHE=OFF -DGGML_OPENMP=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_CURL=OFF -DBUILD_SHARED_LIBS=OFF ${{ matrix.ssl_defines }} ${{ matrix.avx_defines }}
62- cmake --build build --config Release --target llama-server --target rpc-server -j ${{ steps.cpu-cores.outputs.count }}
58+ cmake --build build --config Release --target llama-server --target rpc-server -j $(nproc)
6359 strip build/bin/*
6460 shell : alpine.sh {0}
6561
You can’t perform that action at this time.
0 commit comments