2024-10-20 14:51:05 +02:00
|
|
|
EXTENSION = pacs
|
|
|
|
DATA = pacs--0.0.1.sql
|
|
|
|
REGRESS = pacs
|
|
|
|
MODULES = pacs
|
|
|
|
|
|
|
|
TAP_TESTS = 1
|
|
|
|
|
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
|
|
include $(PGXS)
|
|
|
|
|
|
|
|
%.man.1: README.%.md
|
|
|
|
pandoc -s $< -o $@
|
|
|
|
@echo man -l $@
|
|
|
|
|
|
|
|
pgbench: NPROCS=$(shell nproc)
|
|
|
|
pgbench: NJOBS=$(shell nproc)
|
|
|
|
pgbench: sql/pgbench.sql
|
|
|
|
pgbench -f $< -T 10 --progress 1 --no-vacuum \
|
2024-10-20 14:57:49 +02:00
|
|
|
-c $$(( $(NPROCS) * 16 )) \
|
|
|
|
-j $$(( $(NJOBS) * 16 ))
|