diff options
| author | Egor Tensin <egor@tensin.name> | 2026-07-01 15:51:05 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-07-01 16:05:29 +0200 |
| commit | 1159be9d9824a5e9fa1228b8922e75d903f21047 (patch) | |
| tree | 968c5dccff2c4b0baebee722114b03a4e91aff34 | |
| parent | Merge pull request #10 from egor-tensin/dependabot/github_actions/actions/che... (diff) | |
| download | cimple-1159be9d9824a5e9fa1228b8922e75d903f21047.tar.gz cimple-1159be9d9824a5e9fa1228b8922e75d903f21047.zip | |
switch to building w/ Ninja
| -rw-r--r-- | Dockerfile | 2 | ||||
| -rw-r--r-- | Makefile | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ FROM alpine:3.24 AS base FROM base AS builder -RUN build_deps='bash bsd-compat-headers build-base clang cmake coreutils git json-c-dev libgit2-dev libsodium-dev py3-pytest sqlite-dev valgrind' && \ +RUN build_deps='bash bsd-compat-headers build-base clang cmake coreutils git json-c-dev libgit2-dev libsodium-dev ninja py3-pytest sqlite-dev valgrind' && \ apk add -q --no-cache $build_deps ARG COMPILER=clang @@ -34,7 +34,7 @@ build: @echo ----------------------------------------------------------------- @mkdir -p -- '$(call escape,$(build_dir)/cmake)' cmake \ - -G 'Unix Makefiles' \ + -G 'Ninja' \ -D 'CMAKE_C_COMPILER=$(call escape,$(COMPILER))' \ -D 'CMAKE_BUILD_TYPE=$(call escape,$(CONFIGURATION))' \ -D 'CMAKE_INSTALL_PREFIX=$(call escape,$(build_dir)/install)' \ @@ -46,7 +46,7 @@ build: -D 'FLAME_GRAPHS_DIR=$(call escape,$(build_dir)/flame_graphs)' \ -S '$(call escape,$(src_dir))' \ -B '$(call escape,$(build_dir)/cmake)' - cmake --build '$(call escape,$(build_dir)/cmake)' -- -j + cmake --build '$(call escape,$(build_dir)/cmake)' .PHONY: debug debug debug/%: CONFIGURATION := debug |
