GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — siphon.cpp/scripts/build-gds-cuda.sh at main · Manohar20006/siphon.cpp

Expand file tree

/

build-gds-cuda.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
24 lines (18 loc) · 695 Bytes
/

build-gds-cuda.sh

Copy path

File metadata and controls

executable file
·
24 lines (18 loc) · 695 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
BUILD_DIR="${BUILD_DIR:-$ROOT/build-gds-cuda}"
if [[ -z "${CUDACXX:-}" && -x /usr/local/cuda/bin/nvcc ]]; then
export CUDACXX=/usr/local/cuda/bin/nvcc
fi
if [[ -f "$BUILD_DIR/CMakeCache.txt" ]] && grep -q "CMAKE_CUDA_COMPILER:FILEPATH=CMAKE_CUDA_COMPILER-NOTFOUND" "$BUILD_DIR/CMakeCache.txt"; then
rm -rf "$BUILD_DIR"
fi
cmake -S "$ROOT" -B "$BUILD_DIR" \
-DGGML_CUDA=ON \
-DLLAMA_BUILD_SERVER=ON \
-DLLAMA_BUILD_EXAMPLES=OFF \
-DLLAMA_BUILD_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release
cmake --build "$BUILD_DIR" --config Release -j"$(nproc)"
echo "Built: $BUILD_DIR/bin/llama-server"
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.