File tree 4 files changed +4
-5
lines changed
4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ function build_freetype() {
18
18
push_arm
19
19
export LDFLAGS=" $LDFLAGS -L$BUILD_harfbuzz /src/.libs/"
20
20
try ./configure --host=arm-linux-androideabi --prefix=$BUILD_freetype --without-zlib --with-png=no --enable-shared
21
- try make -j5
21
+ try make -j $MAKE_JOBS
22
22
pop_arm
23
23
24
24
try cp $BUILD_freetype /objs/.libs/libfreetype.so $LIBS_PATH
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ function build_harfbuzz() {
27
27
# try ./configure --build=i686-pc-linux-gnu --host=arm-linux-androideabi --prefix="$BUILD_PATH/python-install" --enable-shared --without-freetype --without-glib
28
28
# ~ try ./autogen.sh --build=i686-pc-linux-gnu --host=arm-linux-androideabi --prefix="$BUILD_PATH/python-install" --without-freetype --without-glib
29
29
try ./configure --without-icu --host=arm-linux-androideabi --prefix=" $BUILD_PATH /python-install" --without-freetype --without-glib
30
- try make -j5
30
+ try make -j $MAKE_JOBS
31
31
pop_arm
32
32
try cp -L $BUILD_harfbuzz /src/.libs/libharfbuzz.so $LIBS_PATH
33
33
}
Original file line number Diff line number Diff line change @@ -28,8 +28,7 @@ function build_libtorrent() {
28
28
29
29
# Build the Python bindings with Boost.Build and some dependencies recursively (libtorrent-rasterbar, Boost.*)
30
30
# Also link to openssl
31
- # Hardcoded on -j5 because P4A does it too
32
- $BOOST_ROOT /b2 -q -j5 target-os=android link=static boost-link=static boost=source threading=multi toolset=gcc-android geoip=off encryption=tommath linkflags=" $BOOSTSTUFF " release
31
+ $BOOST_ROOT /b2 -q -j$MAKE_JOBS target-os=android link=static boost-link=static boost=source threading=multi toolset=gcc-android geoip=off encryption=tommath linkflags=" $BOOSTSTUFF " release
33
32
34
33
# Copy the module
35
34
try cp -L libtorrent.so $SITEPACKAGES_PATH
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ function build_opencv() {
45
45
-DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_ANDROID_EXAMPLES=OFF \
46
46
-DPYTHON_PACKAGES_PATH=$SITEPACKAGES_PATH \
47
47
$_cvsrc
48
- try make -j8 opencv_python
48
+ try make -j $MAKE_JOBS opencv_python
49
49
try cmake -DCOMPONENT=python -P ./cmake_install.cmake
50
50
try cp -a $_cvbuild /lib/$ARCH /lib* .so $LIBS_PATH
51
51
You can’t perform that action at this time.
0 commit comments