Compare commits
3 commits
de1a4ec6fc
...
fc3b8519a9
| Author | SHA1 | Date | |
|---|---|---|---|
| fc3b8519a9 | |||
| 54e7984666 | |||
| cbc8a0ceea |
5 changed files with 18 additions and 9 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -6,3 +6,4 @@
|
||||||
99-replicate
|
99-replicate
|
||||||
99-podman-kode
|
99-podman-kode
|
||||||
99-eulerpool
|
99-eulerpool
|
||||||
|
99-doffin
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,20 @@
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
# Configure C/C++ build tools:
|
# Build tool settings: Ninja/CMake, sccache, Podman/Buildah
|
||||||
# - Use Ninja instead of Make for CMake builds (faster parallel builds)
|
|
||||||
# - Use ccache to cache compilations and speed up rebuilds
|
|
||||||
if command -v ninja &>/dev/null; then
|
if command -v ninja &>/dev/null; then
|
||||||
export NINJA_STATUS="[%e sec | %p (%u remaining) | %o / sec] "
|
export NINJA_STATUS="[%e sec | %p (%u remaining) | %o / sec] "
|
||||||
export CMAKE_GENERATOR=Ninja
|
export CMAKE_GENERATOR=Ninja
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v ccache &>/dev/null; then
|
if command -v ccache &>/dev/null; then
|
||||||
export CMAKE_C_COMPILER_LAUNCHER=ccache
|
export CMAKE_C_COMPILER_LAUNCHER=ccache
|
||||||
export CMAKE_CXX_COMPILER_LAUNCHER=ccache
|
export CMAKE_CXX_COMPILER_LAUNCHER=ccache
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if command -v sccache &>/dev/null; then
|
||||||
|
export SCCACHE_CACHE_SIZE="40G"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if command -v podman &>/dev/null; then
|
||||||
|
export BUILDAH_FORMAT=docker
|
||||||
|
fi
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
# Point Ollama CLI at the remote Ollama server (default: goblin:11434)
|
# Point Ollama CLI at the remote Ollama server (default: goblin:11434)
|
||||||
export OLLAMA_HOST="${OLLAMA_HOST:-192.168.1.84:11434}"
|
export OLLAMA_HOST="${OLLAMA_HOST:-100.70.100.115:11434}"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
# shellcheck shell=bash
|
|
||||||
# Configure sccache (shared compilation cache)
|
|
||||||
if command -v sccache &>/dev/null; then
|
|
||||||
export SCCACHE_CACHE_SIZE="40G"
|
|
||||||
fi
|
|
||||||
5
99-doffin.example
Normal file
5
99-doffin.example
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# shellcheck shell=bash
|
||||||
|
# Doffin API key
|
||||||
|
# Copy to 99-doffin and fill in your key, then: chmod 700 99-doffin
|
||||||
|
#require_private "${BASH_SOURCE[0]}"
|
||||||
|
export DOFFIN_API_KEY=your-api-key-here
|
||||||
Loading…
Add table
Add a link
Reference in a new issue