1 parent c1ab62c commit e7c1d57Copy full SHA for e7c1d57
1 file changed
Makefile
@@ -451,6 +451,9 @@ ifndef WITH_TOPLING_ROCKS
451
# default 1
452
WITH_TOPLING_ROCKS := 1
453
endif
454
+ifeq ($(filter 0,${DEBUG_LEVEL})$(wildcard sideplugin/topling-rocks/src/table/top_patent_algo.cc),)
455
+ override WITH_TOPLING_ROCKS := 0
456
+endif
457
458
ifeq (${WITH_TOPLING_ROCKS},1)
459
ifneq (,$(wildcard sideplugin/topling-rocks))
@@ -493,6 +496,9 @@ endif
493
496
494
497
# allow override by env or cmd line
495
498
WITH_CSPP_MEMTABLE ?= 1
499
+ifeq ($(filter 0,${DEBUG_LEVEL})$(wildcard sideplugin/cspp-memtable/cspp_memtable.cc),)
500
+ override WITH_CSPP_MEMTABLE := 0
501
502
503
ifeq (${WITH_CSPP_MEMTABLE}${WITH_TOPLING_ROCKS},10)
504
$(error "When WITH_CSPP_MEMTABLE is 1, WITH_TOPLING_ROCKS must be 1 also")
0 commit comments