1
0

build: don't hardcode num worker threads "make -j4"

This commit is contained in:
SomberNight
2022-12-03 22:50:18 +00:00
parent 96af21faeb
commit 65ae281180
5 changed files with 6 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ tar xf "$CACHEDIR/Python-$PYTHON_VERSION.tar.xz" -C "$CACHEDIR"
--enable-ipv6 \
--enable-shared \
-q
make -j4 -s || fail "Could not build Python"
make "-j$CPU_COUNT" -s || fail "Could not build Python"
)
info "installing python."
(
@@ -111,7 +111,7 @@ XCB_UTIL_VERSION="acf790d7752f36e450d476ad79807d4012ec863b"
git checkout "${XCB_UTIL_VERSION}^{commit}"
./autogen.sh
./configure --enable-shared
make -j4 -s || fail "Could not build libxcb-util1"
make "-j$CPU_COUNT" -s || fail "Could not build libxcb-util1"
) || fail "Could build libxcb-util1"
cp "$CACHEDIR/libxcb-util1/util/src/.libs/libxcb-util.so.1" "$APPDIR/usr/lib/libxcb-util.so.1"