Skip to content

Commit 700ffed

Browse files
committed
Use local subtree of raft to build raftable.
1 parent a436926 commit 700ffed

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

contrib/raftable/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ OBJS = raftable.o worker.o state.o blockmem.o
33
EXTENSION = raftable
44
DATA = raftable--1.0.sql
55

6+
raftable.so: raft/lib/libraft.a
7+
8+
raft/lib/libraft.a:
9+
make -C raft
10+
611
EXTRA_INSTALL = contrib/raftable
712

8-
RAFT_PREFIX = $(HOME)/raft
13+
RAFT_PREFIX = raft
914
override LDFLAGS += -L$(RAFT_PREFIX)/lib -Wl,-whole-archive -lraft -Wl,-no-whole-archive
1015
override CFLAGS += -Wfatal-errors
1116
override CPPFLAGS += -I$(RAFT_PREFIX)/include

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy