Skip to content

Commit 87d5a0d

Browse files
committed
Add raft worker launching to raftable (not linked to the state machine yet).
1 parent 3307c9a commit 87d5a0d

File tree

2 files changed

+411
-3
lines changed

2 files changed

+411
-3
lines changed

contrib/raftable/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ MODULES = raftable
22
EXTENSION = raftable
33
DATA = raftable--1.0.sql
44

5+
RAFT_PREFIX = $(HOME)/raft
6+
override LDFLAGS += -L$(RAFT_PREFIX)/lib -Wl,-whole-archive -lraft -Wl,-no-whole-archive -ljansson
7+
override CFLAGS += -Wfatal-errors
8+
override CPPFLAGS += -I$(RAFT_PREFIX)/include
9+
510
ifdef USE_PGXS
611
PG_CONFIG = pg_config
712
PGXS := $(shell $(PG_CONFIG) --pgxs)

0 commit comments

Comments
 (0)