File tree Expand file tree Collapse file tree 4 files changed +11
-10
lines changed
Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ ARG OSNICK
2323ARG OS
2424ARG ARCH
2525ARG REDIS_VER
26+ ARG REDISAI_LITE
27+ ARG PACK
28+ ARG TEST
2629
2730RUN echo "Building for ${OSNICK} (${OS}) for ${ARCH} [with Redis ${REDIS_VER}]"
2831
@@ -41,19 +44,16 @@ RUN if [ "$DEPS_ARGS" = "" ]; then ./get_deps.sh cpu; else env $DEPS_ARGS ./get_
4144
4245ARG BUILD_ARGS=""
4346ADD ./ /build
44- RUN bash -l -c "make -C opt build $BUILD_ARGS SHOW=1"
47+ RUN bash -l -c "make -C opt build REDISAI_LITE=${REDISAI_LITE} $BUILD_ARGS SHOW=1"
4548
46- ARG PACK
47- ARG REDISAI_LITE
48- ARG TEST
4949
5050RUN mkdir -p bin/artifacts
5151RUN set -e ;\
52- if [ "$PACK" = "1" ]; then bash -l -c "make -C opt pack REDISAI_LITE=$REDISAI_LITE" ; fi
52+ if [ "$PACK" = "1" ]; then bash -l -c "make -C opt pack REDISAI_LITE=${ REDISAI_LITE} " ; fi
5353
5454RUN set -e ;\
5555 if [ "$TEST" = "1" ]; then \
56- bash -l -c "TEST= make -C opt test $BUILD_ARGS NO_LFS=1" ;\
56+ bash -l -c "TEST= make -C opt test REDISAI_LITE=${REDISAI_LITE} $BUILD_ARGS NO_LFS=1" ;\
5757 if [[ -d test/logs ]]; then \
5858 tar -C test/logs -czf bin/artifacts/test-logs-cpu.tgz . ;\
5959 fi ;\
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ REPO=redisai
1212INT_BRANCHES =1.2
1313
1414REDIS_VER: =6.0.9
15+ REDISAI_LITE: =0
1516
1617export ART_DIR =$(ROOT ) /bin/artifacts
1718export ART_INT_DIR =/var/opt/redislabs/artifacts
Original file line number Diff line number Diff line change 1- display_name : RedisAI
1+ display_name : RedisAI-Lite
22author : Tensorwerk and RedisLabs
33email : support@redislabs.com
44description : Serving tensors and executing deep learning graphs
55homepage : https://oss.redislabs.com/redisai/
66license : Redis Source Available License v1.0
7- command_line_args : " BACKENDSPATH /var/opt/redislabs/modules/ai/{{NUMVER}}/deps"
7+ command_line_args : " BACKENDSPATH /var/opt/redislabs/modules/ai-lite /{{NUMVER}}/deps"
88# command_line_args: "BACKENDSPATH /var/opt/redislabs/modules/ai/{{NUMVER}}/deps/backends"
99min_redis_version : " 5.0.7"
1010min_redis_pack_version : " 5.4.14"
Original file line number Diff line number Diff line change 1- display_name : RedisAI
1+ display_name : RedisAI-RCE
22author : Tensorwerk and RedisLabs
33email : support@redislabs.com
44description : Serving tensors and executing deep learning graphs
55homepage : https://oss.redislabs.com/redisai/
66license : Redis Source Available License v1.0
7- command_line_args : " BACKENDSPATH /var/opt/redislabs/modules/ai/{{NUMVER}}/deps"
7+ command_line_args : " BACKENDSPATH /var/opt/redislabs/modules/ai-lite /{{NUMVER}}/deps"
88# command_line_args: "BACKENDSPATH /var/opt/redislabs/modules/ai/{{NUMVER}}/deps/backends"
99min_redis_version : " 5.0.7"
1010min_redis_pack_version : " 5.4.14"
You can’t perform that action at this time.
0 commit comments