File tree Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ WORKDIR /build
14
14
15
15
RUN ./deps/readies/bin/getpy2
16
16
RUN ./system-setup.py
17
- RUN make deps
18
- RUN make -j$(eval "$X_NPROC" )
17
+ RUN make deps SHOW=1
18
+ RUN make build SHOW=1
19
19
20
20
# ----------------------------------------------------------------------------------------------
21
21
# FROM redisfab/redis-x64-${OSNICK}:5.0.5
Original file line number Diff line number Diff line change @@ -8,15 +8,13 @@ FROM redisfab/redis-${OSNICK}-xbuild:5.0.5 AS builder
8
8
9
9
RUN [ "cross-build-start" ]
10
10
11
- ENV X_NPROC "cat /proc/cpuinfo|grep processor|wc -l"
12
-
13
11
ADD ./ /build
14
12
WORKDIR /build
15
13
16
14
RUN ./deps/readies/bin/getpy2
17
15
RUN ./system-setup.py
18
- RUN make deps
19
- RUN make -j$(eval "$X_NPROC")
16
+ RUN make deps SHOW=1
17
+ RUN make SHOW=1
20
18
21
19
RUN [ "cross-build-end" ]
22
20
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ $(BINDIR)/Makefile : CMakeLists.txt
35
35
build : bindirs $(TARGET )
36
36
37
37
$(TARGET ) : bindirs deps $(BINDIR ) /Makefile
38
- $(SHOW )$(MAKE ) -C $(BINDIR )
38
+ $(SHOW )$(MAKE ) -C $(BINDIR ) -j $( shell nproc)
39
39
$(SHOW ) cd bin; ln -sf ../$(TARGET ) $(notdir $(TARGET ) )
40
40
41
41
clean :
53
53
$(SHOW ) ./system-setup.py
54
54
55
55
fetch deps :
56
- $(SHOW ) ./get_deps.sh $(DEPS_FLAGS )
56
+ $(SHOW ) VERBOSE= $( SHOW ) ./get_deps.sh $(DEPS_FLAGS )
57
57
58
58
# ----------------------------------------------------------------------------------------------
59
59
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
# set -x
4
- set -e
4
+ [[ $VERBOSE == 1 ]] && set -e
5
5
6
6
if [[ " $1 " == " cpu" ]]; then
7
7
GPU=no
You can’t perform that action at this time.
0 commit comments