@@ -36,7 +36,7 @@ make build # compile and link
3636 PROFILE=1 # enable profiling compile flags (and debug symbols) for release type.
3737 # You can consider this as build type release with debug symbols and -fno-omit-frame-pointer
3838 VARIANT=name # build variant `name`
39- WHY=1 # explain CMake decisions (into /tmp/cmake.why)
39+ WHY=1 # explain CMake decisions (into /tmp/cmake.why)
4040make clean # remove build artifacts
4141 ALL=1 # remove entire artifacts directory
4242make install # create ready-to-run scheme (module and engines)
@@ -79,7 +79,7 @@ device selection options (fetch, build, and test):
7979 JETSON=1 # build for Nvidia Jetson
8080endef
8181
82- # ----------------------------------------------------------------------------------------------
82+ # ----------------------------------------------------------------------------------------------
8383
8484override GPU: =$(or $(findstring $(CUDA ) ,1) ,$(findstring $(GPU ) ,1) )
8585
@@ -97,7 +97,7 @@ DEPS_FLAGS += CPU=1
9797DEVICE =cpu
9898endif
9999
100- # ----------------------------------------------------------------------------------------------
100+ # ----------------------------------------------------------------------------------------------
101101
102102SRCDIR =..
103103BINDIR =$(BINROOT ) /src
@@ -110,7 +110,7 @@ INSTALLED_TARGET=$(INSTALL_DIR)/redisai.so
110110
111111BACKENDS_PATH ?= $(INSTALL_DIR ) /backends
112112
113- # ----------------------------------------------------------------------------------------------
113+ # ----------------------------------------------------------------------------------------------
114114
115115CMAKE_FILES += \
116116 $(SRCDIR ) /CMakeLists.txt \
@@ -165,7 +165,7 @@ include $(MK)/defs
165165
166166include $(MK ) /rules
167167
168- # ----------------------------------------------------------------------------------------------
168+ # ----------------------------------------------------------------------------------------------
169169
170170# prebuild:
171171# $(SHOW)if [ ! -d $(DEPS_DIR) ]; then echo $$'Dependencies are not in place.\nPlease run \'make fetch\'.'; exit 1; fi
190190 -$(SHOW)$(MAKE) -C $(BINDIR) clean
191191endif
192192
193- # ----------------------------------------------------------------------------------------------
193+ # ----------------------------------------------------------------------------------------------
194194
195195setup :
196196 @echo Setting up system...
@@ -222,9 +222,9 @@ endif
222222pack : $(INSTALLED_TARGET )
223223 $(SHOW ) find $(INSTALL_DIR ) -name " *.so" -exec chmod +x {} \;
224224 $(SHOW ) mkdir -p $(ROOT ) /bin/artifacts
225- $(SHOW ) DEVICE=$(DEVICE ) BINDIR=$(ROOT ) /bin/artifacts INSTALL_DIR=$(INSTALL_DIR ) BRANCH=$(BRANCH ) DEPS=$(PACK_DEPS ) ./pack.sh
226- $(SHOW ) DEVICE=$(DEVICE ) BINDIR=$(ROOT ) /bin/artifacts INSTALL_DIR=$(INSTALL_DIR ) BRANCH=$(BRANCH ) DEPS=$(PACK_DEPS ) VARIANT=lite ./pack.sh
227- $(SHOW ) DEVICE=$(DEVICE ) BINDIR=$(ROOT ) /bin/artifacts INSTALL_DIR=$(INSTALL_DIR ) BRANCH=$(BRANCH ) DEPS=$(PACK_DEPS ) VARIANT=rce ./pack.sh
225+ $(SHOW ) DEVICE=$(DEVICE ) BINDIR=$(ROOT ) /bin/artifacts INSTALL_DIR=$(INSTALL_DIR ) BRANCH=$(BRANCH ) RAMP=1 DEPS=$(PACK_DEPS ) ./pack.sh
226+ $(SHOW ) DEVICE=$(DEVICE ) BINDIR=$(ROOT ) /bin/artifacts INSTALL_DIR=$(INSTALL_DIR ) BRANCH=$(BRANCH ) RAMP=1 DEPS=$(PACK_DEPS ) VARIANT=lite ./pack.sh
227+ $(SHOW ) DEVICE=$(DEVICE ) BINDIR=$(ROOT ) /bin/artifacts INSTALL_DIR=$(INSTALL_DIR ) BRANCH=$(BRANCH ) RAMP=1 DEPS=$(PACK_DEPS ) VARIANT=rce ./pack.sh
228228
229229# ----------------------------------------------------------------------------------------------
230230
0 commit comments