diff --git a/.gitignore b/.gitignore index 73d3d75..66f404c 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,3 @@ 99-replicate 99-podman-kode 99-eulerpool -99-doffin diff --git a/20-build-tools b/20-ninja similarity index 57% rename from 20-build-tools rename to 20-ninja index 17720ea..5f82b3a 100755 --- a/20-build-tools +++ b/20-ninja @@ -1,20 +1,12 @@ # 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 export NINJA_STATUS="[%e sec | %p (%u remaining) | %o / sec] " export CMAKE_GENERATOR=Ninja fi - if command -v ccache &>/dev/null; then export CMAKE_C_COMPILER_LAUNCHER=ccache export CMAKE_CXX_COMPILER_LAUNCHER=ccache 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 diff --git a/20-ollama b/20-ollama index edf67d3..3f3b49d 100755 --- a/20-ollama +++ b/20-ollama @@ -1,3 +1,3 @@ # shellcheck shell=bash # 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}" diff --git a/20-sccache b/20-sccache new file mode 100755 index 0000000..1f98288 --- /dev/null +++ b/20-sccache @@ -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 diff --git a/99-doffin.example b/99-doffin.example deleted file mode 100644 index 26cfe3e..0000000 --- a/99-doffin.example +++ /dev/null @@ -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