Skip to content

Commit 64eabbc

Browse files
committed
restore ramp
1 parent 2c3239e commit 64eabbc

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

opt/Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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)
4040
make clean # remove build artifacts
4141
ALL=1 # remove entire artifacts directory
4242
make 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
8080
endef
8181

82-
#----------------------------------------------------------------------------------------------
82+
#----------------------------------------------------------------------------------------------
8383

8484
override GPU:=$(or $(findstring $(CUDA),1),$(findstring $(GPU),1))
8585

@@ -97,7 +97,7 @@ DEPS_FLAGS += CPU=1
9797
DEVICE=cpu
9898
endif
9999

100-
#----------------------------------------------------------------------------------------------
100+
#----------------------------------------------------------------------------------------------
101101

102102
SRCDIR=..
103103
BINDIR=$(BINROOT)/src
@@ -110,7 +110,7 @@ INSTALLED_TARGET=$(INSTALL_DIR)/redisai.so
110110

111111
BACKENDS_PATH ?= $(INSTALL_DIR)/backends
112112

113-
#----------------------------------------------------------------------------------------------
113+
#----------------------------------------------------------------------------------------------
114114

115115
CMAKE_FILES += \
116116
$(SRCDIR)/CMakeLists.txt \
@@ -165,7 +165,7 @@ include $(MK)/defs
165165

166166
include $(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
@@ -190,7 +190,7 @@ else
190190
-$(SHOW)$(MAKE) -C $(BINDIR) clean
191191
endif
192192

193-
#----------------------------------------------------------------------------------------------
193+
#----------------------------------------------------------------------------------------------
194194

195195
setup:
196196
@echo Setting up system...
@@ -222,9 +222,9 @@ endif
222222
pack: $(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

Comments
 (0)