File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,11 @@ RUN echo 'solutions = [' >> /tmp/
27
27
28
28
RUN cd /tmp && git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools.git && \
29
29
export PATH=`pwd`/depot_tools:"${PATH}" && \
30
- export NPROCS=`grep -c ^processor /proc/cpuinfo` && \
31
- gclient sync --no-history --reset -j ${NPROCS} -r ${V8} && \
30
+ gclient sync --no-history --reset -j $(nproc) -r ${V8} && \
32
31
cd v8 && \
33
32
gn gen out.gn/x64.release --args="is_debug=false is_official_build=true is_component_build=true is_cfi=false is_clang=false v8_use_external_startup_data=false treat_warnings_as_errors=false use_custom_libcxx=false use_sysroot=false use_gold=false use_allocator_shim=false" && \
34
33
gn args out.gn/x64.release --list > out.gn/x64.release/gn_args.txt && \
35
- ninja -j ${NPROCS} -v d8 -C out.gn/x64.release
34
+ ninja -j $(nproc) -v d8 -C out.gn/x64.release
36
35
37
36
RUN cd /tmp/v8 && \
38
37
mkdir -p /opt/libv8/include && \
You can’t perform that action at this time.
0 commit comments