1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

infiniband: do not build memory allocator if node is not acticated

This commit is contained in:
Steffen Vogel 2018-07-02 16:05:05 +02:00
parent bb70be0b2c
commit 45b121d884
2 changed files with 2 additions and 1 deletions

View file

@ -26,7 +26,7 @@ LIB = $(BUILDDIR)/$(LIB_NAME).so.$(LIB_ABI_VERSION)
# Object files for libvillas
LIB_SRCS += $(addprefix lib/kernel/, kernel.c rt.c) \
$(addprefix lib/memory/, heap.c hugepage.c ib.c managed.c) \
$(addprefix lib/memory/, heap.c hugepage.c managed.c) \
$(addprefix lib/, sample.c path.c node.c hook.c log.c log_config.c \
utils.c super_node.c hist.c timing.c pool.c list.c queue.c \
queue_signalled.c memory.c advio.c plugin.c node_type.c stats.c \

View file

@ -159,6 +159,7 @@ endif
# Enable Infiniband support
ifeq ($(WITH_NODE_INFINIBAND),1)
LIB_SRCS += lib/nodes/infiniband.c
LIB_SRCS += lib/memory/ib.c
LIB_NODES += infiniband
LIB_LDLIBS += -libverbs
LIB_LDLIBS += -lrdmacm