-
Notifications
You must be signed in to change notification settings - Fork 0
guides_build
Comprehensive guide to building ThemisDB across all platforms.
- 📋 Übersicht
- ✨ Features
- 🚀 Quick Start
- 📖 Build Strategien
- 💡 Best Practices
- 🔧 Troubleshooting
- 📚 Siehe auch
- 📝 Changelog
Complete guide for compiling ThemisDB across Windows, Linux, Docker, and ARM64 platforms.
Stand: 22. Dezember 2025
Version: 1.3.0
Kategorie: 🔨 Build/Deployment
- 🪟 Windows (MSVC/Clang) - VS 2022 generator
- 🐧 Linux - GCC/Clang with preset configs
- 🐳 Docker - Multi-stage builds, quick & full
- 🦾 ARM64 - Raspberry Pi & IoT devices
- ⚡ Parallel - Multi-core compilation
- 📦 Release Automation - Version management & tagging
# Debug build with MSVC
.\build-unified.ps1 -Platform windows -Config debug
# Release build with ClangCL
.\build-unified.ps1 -Platform windows -Config release -Compiler clangcl# Build on WSL from Windows
.\build-unified.ps1 -Platform linux -Config release
# Or directly on Linux
./build.sh# Standard Docker image (Ubuntu 24.04)
.\build-unified.ps1 -Platform docker -Tag themisdb:latest
# Quick build with pre-compiled binary
.\build-docker-simple.ps1
# QNAP (Ubuntu 20.04, GLIBC 2.31) statischer Build mit separatem Manifest
.\build-qnap.ps1# Cross-compile for ARM64
.\build-unified.ps1 -Platform arm64 -Config release
# Raspberry Pi specific
.\build-unified.ps1 -Platform rpi -Config release# Dry run to verify changes
.\scripts\release.ps1 -Version 0.2.0 -DryRun
# Update version, commit, and tag
.\scripts\release.ps1 -Version 0.2.0# Build all platforms
.\scripts\release.ps1 -Version 0.2.0 -Platforms windows,linux,docker
# Build specific platforms only
.\scripts\release.ps1 -Version 0.2.0 -Platforms docker# Push to GitHub and Docker Hub
.\scripts\release.ps1 -Version 0.2.0 -PushGit -PushDockerthemis/
├── build-unified.ps1 # Main build script (all platforms)
├── build-docker-simple.ps1 # Quick Docker build (pre-built binary)
├── scripts/
│ └── release.ps1 # Release automation
├── Dockerfile # Full Docker build (Ubuntu 24.04)
├── Dockerfile.simple # Minimal Docker (pre-built binary)
├── docker-compose.yml # Standard deployment
├── docker-compose-arm.yml # ARM64 deployment
├── CMakePresets.json # Platform-specific CMake configs
└── BUILD_STRATEGY.md # Detailed build documentation
The following files are obsolete and should be removed:
-
Dockerfile.old- Replaced by Dockerfile.simple -
Dockerfile.runtime- Redundant -
Dockerfile.qnap- Non-functional (vcpkg issues) -
Dockerfile.qnap.simple- Incomplete -
build-docker-qnap.ps1- Non-functional -
build-docker-qnap-simple.ps1- Incomplete -
build-tests-msvc.ps1- Use CMakePresets instead -
build-msvc/directory - Old build artifacts -
build-wsl/directory - Use CMakePresets instead
- Requires Visual Studio 2022 or LLVM/Clang
- vcpkg automatically handled by CMake
- Requires GCC 11+ or Clang 14+
- Ubuntu 24.04 LTS recommended (GLIBC 2.38+)
- Standard: Ubuntu 24.04 (GLIBC 2.38+)
- QNAP: Ubuntu 20.04 (GLIBC 2.31) via
build-qnap.ps1(statisch, separates Manifestvcpkg.qnap.json)
- Tested on Raspberry Pi 4/5
- Debian Bullseye or Ubuntu 22.04 recommended
.\build-unified.ps1 -Clean.\build-unified.ps1 -Platform windows -Tests.\build-unified.ps1 -Platform linux -Benchmarks.\build-unified.ps1 -Platform linux -Static
# Alternativ mit QNAP Manifest (Tests/Benchmarks/Tracing aktiv)
.\build-qnap.ps1.\build-unified.ps1 -Platform docker -NoCacheUse the simplified Docker build:
.\build-docker-simple.ps1Nutze QNAP Build-Script (statisch + eigenes Manifest):
.\build-qnap.ps1Ensure project is in /mnt/c/VCC/themis or adjust paths in scripts.
Version is centrally managed in CMakeLists.txt:
project(ThemisDB VERSION 0.1.0)Release script automatically updates:
- CMakeLists.txt
- CHANGELOG.md
- Git tags
- Docker tags
GitHub Actions workflows:
-
.github/workflows/ci.yml- Build and test -
.github/workflows/build-multiarch.yml- Multi-platform builds -
.github/workflows/arm-build.yml- ARM64 builds
Triggers:
- Push to
main- Full CI - Tags
v*.*.*- Release builds
See BUILD_STRATEGY.md for:
- Detailed platform matrix
- QNAP deployment solutions
- Separates Manifest:
vcpkg.qnap.json(inkl. tests/benchmarks/tracing, statischer Triplet)
- Separates Manifest:
- Packaging strategy (.deb, .rpm, etc.)
- Migration plan
ThemisDB v1.3.4 | GitHub | Documentation | Discussions | License
Last synced: January 02, 2026 | Commit: 6add659
Version: 1.3.0 | Stand: Dezember 2025
- Übersicht
- Home
- Dokumentations-Index
- Quick Reference
- Sachstandsbericht 2025
- Features
- Roadmap
- Ecosystem Overview
- Strategische Übersicht
- Geo/Relational Storage
- RocksDB Storage
- MVCC Design
- Transaktionen
- Time-Series
- Memory Tuning
- Chain of Thought Storage
- Query Engine & AQL
- AQL Syntax
- Explain & Profile
- Rekursive Pfadabfragen
- Temporale Graphen
- Zeitbereichs-Abfragen
- Semantischer Cache
- Hybrid Queries (Phase 1.5)
- AQL Hybrid Queries
- Hybrid Queries README
- Hybrid Query Benchmarks
- Subquery Quick Reference
- Subquery Implementation
- Content Pipeline
- Architektur-Details
- Ingestion
- JSON Ingestion Spec
- Enterprise Ingestion Interface
- Geo-Processor Design
- Image-Processor Design
- Hybrid Search Design
- Fulltext API
- Hybrid Fusion API
- Stemming
- Performance Tuning
- Migration Guide
- Future Work
- Pagination Benchmarks
- Enterprise README
- Scalability Features
- HTTP Client Pool
- Build Guide
- Implementation Status
- Final Report
- Integration Analysis
- Enterprise Strategy
- Verschlüsselungsstrategie
- Verschlüsselungsdeployment
- Spaltenverschlüsselung
- Encryption Next Steps
- Multi-Party Encryption
- Key Rotation Strategy
- Security Encryption Gap Analysis
- Audit Logging
- Audit & Retention
- Compliance Audit
- Compliance
- Extended Compliance Features
- Governance-Strategie
- Compliance-Integration
- Governance Usage
- Security/Compliance Review
- Threat Model
- Security Hardening Guide
- Security Audit Checklist
- Security Audit Report
- Security Implementation
- Development README
- Code Quality Pipeline
- Developers Guide
- Cost Models
- Todo Liste
- Tool Todo
- Core Feature Todo
- Priorities
- Implementation Status
- Roadmap
- Future Work
- Next Steps Analysis
- AQL LET Implementation
- Development Audit
- Sprint Summary (2025-11-17)
- WAL Archiving
- Search Gap Analysis
- Source Documentation Plan
- Changefeed README
- Changefeed CMake Patch
- Changefeed OpenAPI
- Changefeed OpenAPI Auth
- Changefeed SSE Examples
- Changefeed Test Harness
- Changefeed Tests
- Dokumentations-Inventar
- Documentation Summary
- Documentation TODO
- Documentation Gap Analysis
- Documentation Consolidation
- Documentation Final Status
- Documentation Phase 3
- Documentation Cleanup Validation
- API
- Authentication
- Cache
- CDC
- Content
- Geo
- Governance
- Index
- LLM
- Query
- Security
- Server
- Storage
- Time Series
- Transaction
- Utils
Vollständige Dokumentation: https://makr-code.github.io/ThemisDB/