Compare commits
No commits in common. "fc3b8519a9eaf8ee355a5c67d96d11053d38e9d3" and "de1a4ec6fcd8d624049a9be5bba668ee8377bc3d" have entirely different histories.
fc3b8519a9
...
de1a4ec6fc
5 changed files with 9 additions and 18 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -6,4 +6,3 @@
|
||||||
99-replicate
|
99-replicate
|
||||||
99-podman-kode
|
99-podman-kode
|
||||||
99-eulerpool
|
99-eulerpool
|
||||||
99-doffin
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,12 @@
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
# Build tool settings: Ninja/CMake, sccache, Podman/Buildah
|
# Configure C/C++ build tools:
|
||||||
|
# - 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:-100.70.100.115:11434}"
|
export OLLAMA_HOST="${OLLAMA_HOST:-192.168.1.84:11434}"
|
||||||
|
|
|
||||||
5
20-sccache
Executable file
5
20-sccache
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# shellcheck shell=bash
|
||||||
|
# Configure sccache (shared compilation cache)
|
||||||
|
if command -v sccache &>/dev/null; then
|
||||||
|
export SCCACHE_CACHE_SIZE="40G"
|
||||||
|
fi
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
# 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