Makefile: build t/fio-dedupe only if zlib support is found
A message that is not in the archive (sent off-list or not yet received): CGME20220128214648uscas1p1093b2602603486134890a51b38270e45@uscas1p1.samsung.com
PATCH 1/1 Makefile: build t/fio-dedupe only if zlib support is found
df284fbdc23974c931865a8ddb7d171606b3c778 added zlib support as a requirement for building fio-dedupe.
The current patch changes the Makefile to avoid trying to build fio-dedupe when zlib support is not present.
Reported-by Professor Pro <[email protected]>
Signed-off-by Vincent Fu <[email protected]>
--- Makefile | 4 ++++ 1 file changed, 4 insertions(+)
Makefile +4 -0
@@ -430,7 +430,9 @@ T_TEST_PROGS += $(T_AXMAP_PROGS) T_TEST_PROGS += $(T_LFSR_TEST_PROGS) T_TEST_PROGS += $(T_GEN_RAND_PROGS) T_PROGS += $(T_BTRACE_FIO_PROGS) +ifdef CONFIG_ZLIB T_PROGS += $(T_DEDUPE_PROGS) +endif T_PROGS += $(T_VS_PROGS) T_TEST_PROGS += $(T_MEMLOCK_PROGS) ifdef CONFIG_PREAD
@@ -618,8 +620,10 @@ t/fio-btrace2fio: $(T_BTRACE_FIO_OBJS) $(QUIET_LINK)$(CC) $(LDFLAGS) -o $@ $(T_BTRACE_FIO_OBJS) $(LIBS) endif +ifdef CONFIG_ZLIB t/fio-dedupe: $(T_DEDUPE_OBJS) $(QUIET_LINK)$(CC) $(LDFLAGS) -o $@ $(T_DEDUPE_OBJS) $(LIBS) +endif t/fio-verify-state: $(T_VS_OBJS) $(QUIET_LINK)$(CC) $(LDFLAGS) -o $@ $(T_VS_OBJS) $(LIBS)
Signature · 1 line
2.25.1
Jens Axboe
AppliedQuoted 8 lines · Vincent Fu
df284fbdc23974c931865a8ddb7d171606b3c778added zlib support as a requirement for building fio-dedupe.The current patch changes the
Makefileto avoid trying to build fio-dedupe when zlib support is not present.[...]
Applied, thanks!
[1/1] Makefile: build t/fio-dedupe only if zlib support is found
commit: dd75d6d0d4121ab9ca6ca571fbc1b2bf7fe89dad
Best regards,
Signature · 1 line
Jens Axboe