@@ -36,7 +36,7 @@ make build # compile and link
36
36
PROFILE=1 # enable profiling compile flags (and debug symbols) for release type.
37
37
# You can consider this as build type release with debug symbols and -fno-omit-frame-pointer
38
38
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)
40
40
make clean # remove build artifacts
41
41
ALL=1 # remove entire artifacts directory
42
42
make install # create ready-to-run scheme (module and engines)
@@ -79,7 +79,7 @@ device selection options (fetch, build, and test):
79
79
JETSON=1 # build for Nvidia Jetson
80
80
endef
81
81
82
- # ----------------------------------------------------------------------------------------------
82
+ # ----------------------------------------------------------------------------------------------
83
83
84
84
override GPU: =$(or $(findstring $(CUDA ) ,1) ,$(findstring $(GPU ) ,1) )
85
85
@@ -97,7 +97,7 @@ DEPS_FLAGS += CPU=1
97
97
DEVICE =cpu
98
98
endif
99
99
100
- # ----------------------------------------------------------------------------------------------
100
+ # ----------------------------------------------------------------------------------------------
101
101
102
102
SRCDIR =..
103
103
BINDIR =$(BINROOT ) /src
@@ -110,7 +110,7 @@ INSTALLED_TARGET=$(INSTALL_DIR)/redisai.so
110
110
111
111
BACKENDS_PATH ?= $(INSTALL_DIR ) /backends
112
112
113
- # ----------------------------------------------------------------------------------------------
113
+ # ----------------------------------------------------------------------------------------------
114
114
115
115
CMAKE_FILES += \
116
116
$(SRCDIR ) /CMakeLists.txt \
@@ -165,7 +165,7 @@ include $(MK)/defs
165
165
166
166
include $(MK ) /rules
167
167
168
- # ----------------------------------------------------------------------------------------------
168
+ # ----------------------------------------------------------------------------------------------
169
169
170
170
# prebuild:
171
171
# $(SHOW)if [ ! -d $(DEPS_DIR) ]; then echo $$'Dependencies are not in place.\nPlease run \'make fetch\'.'; exit 1; fi
190
190
-$(SHOW)$(MAKE) -C $(BINDIR) clean
191
191
endif
192
192
193
- # ----------------------------------------------------------------------------------------------
193
+ # ----------------------------------------------------------------------------------------------
194
194
195
195
setup :
196
196
@echo Setting up system...
@@ -222,9 +222,9 @@ endif
222
222
pack : $(INSTALLED_TARGET )
223
223
$(SHOW ) find $(INSTALL_DIR ) -name " *.so" -exec chmod +x {} \;
224
224
$(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
228
228
229
229
# ----------------------------------------------------------------------------------------------
230
230
0 commit comments