Skip to content

Commit c16db07

Browse files
committed
Killing all hardcoded job options
1 parent 295933a commit c16db07

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

recipes/freetype/recipe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function build_freetype() {
1818
push_arm
1919
export LDFLAGS="$LDFLAGS -L$BUILD_harfbuzz/src/.libs/"
2020
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
2222
pop_arm
2323

2424
try cp $BUILD_freetype/objs/.libs/libfreetype.so $LIBS_PATH

recipes/harfbuzz/recipe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function build_harfbuzz() {
2727
#try ./configure --build=i686-pc-linux-gnu --host=arm-linux-androideabi --prefix="$BUILD_PATH/python-install" --enable-shared --without-freetype --without-glib
2828
#~ try ./autogen.sh --build=i686-pc-linux-gnu --host=arm-linux-androideabi --prefix="$BUILD_PATH/python-install" --without-freetype --without-glib
2929
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
3131
pop_arm
3232
try cp -L $BUILD_harfbuzz/src/.libs/libharfbuzz.so $LIBS_PATH
3333
}

recipes/libtorrent/recipe.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ function build_libtorrent() {
2828

2929
# Build the Python bindings with Boost.Build and some dependencies recursively (libtorrent-rasterbar, Boost.*)
3030
# 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
3332

3433
# Copy the module
3534
try cp -L libtorrent.so $SITEPACKAGES_PATH

recipes/opencv/recipe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function build_opencv() {
4545
-DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_ANDROID_EXAMPLES=OFF \
4646
-DPYTHON_PACKAGES_PATH=$SITEPACKAGES_PATH \
4747
$_cvsrc
48-
try make -j8 opencv_python
48+
try make -j$MAKE_JOBS opencv_python
4949
try cmake -DCOMPONENT=python -P ./cmake_install.cmake
5050
try cp -a $_cvbuild/lib/$ARCH/lib*.so $LIBS_PATH
5151

0 commit comments

Comments
 (0)