Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tree-wide: rename TERMUX_MAKE_PROCESSES to TERMUX_PKG_MAKE_PROCESSES #1127

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tur-continuous/carbonyl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ use_thin_lto=false
termux_step_make() {
cd $TERMUX_PKG_SRCDIR
(termux_setup_rust
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release)
cargo build --jobs $TERMUX_PKG_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release)

cd $TERMUX_PKG_BUILDDIR
ninja -C $TERMUX_PKG_BUILDDIR/out/Release headless:headless_shell
Expand Down
2 changes: 1 addition & 1 deletion tur-hacking/hashcat/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ termux_step_make() {
rm -rf $TERMUX_PREFIX/opt/hashcat/
mkdir -p $TERMUX_PREFIX/opt/hashcat/

make -j $TERMUX_MAKE_PROCESSES
make -j $TERMUX_PKG_MAKE_PROCESSES
}

termux_step_make_install() {
Expand Down
6 changes: 3 additions & 3 deletions tur-multilib/hangover-wine/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ termux_step_host_build() {
# Make host wine-tools
(unset sudo; sudo apt update; sudo apt install libfreetype-dev:i386 -yqq)
"$TERMUX_PKG_SRCDIR/configure" ${TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS}
make -j "$TERMUX_MAKE_PROCESSES" __tooldeps__ nls/all
make -j "$TERMUX_PKG_MAKE_PROCESSES" __tooldeps__ nls/all
}

termux_step_pre_configure() {
Expand All @@ -117,9 +117,9 @@ termux_step_pre_configure() {
}

termux_step_make() {
make -j $TERMUX_MAKE_PROCESSES
make -j $TERMUX_PKG_MAKE_PROCESSES
}

termux_step_make_install() {
make -j $TERMUX_MAKE_PROCESSES install
make -j $TERMUX_PKG_MAKE_PROCESSES install
}
6 changes: 3 additions & 3 deletions tur-multilib/wine-devel/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ termux_step_host_build() {
# Make host wine-tools
(unset sudo; sudo apt update; sudo apt install libfreetype-dev:i386 -yqq)
"$TERMUX_PKG_SRCDIR/configure" ${TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS}
make -j "$TERMUX_MAKE_PROCESSES" __tooldeps__ nls/all
make -j "$TERMUX_PKG_MAKE_PROCESSES" __tooldeps__ nls/all
}

termux_step_pre_configure() {
Expand All @@ -131,9 +131,9 @@ termux_step_pre_configure() {
}

termux_step_make() {
make -j $TERMUX_MAKE_PROCESSES
make -j $TERMUX_PKG_MAKE_PROCESSES
}

termux_step_make_install() {
make -j $TERMUX_MAKE_PROCESSES install
make -j $TERMUX_PKG_MAKE_PROCESSES install
}
6 changes: 3 additions & 3 deletions tur-multilib/wine-stable/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ termux_step_host_build() {
# Make host wine-tools
(unset sudo; sudo apt update; sudo apt install libfreetype-dev:i386 -yqq)
"$TERMUX_PKG_SRCDIR/configure" ${TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS}
make -j "$TERMUX_MAKE_PROCESSES" __tooldeps__ nls/all
make -j "$TERMUX_PKG_MAKE_PROCESSES" __tooldeps__ nls/all
}

termux_step_pre_configure() {
Expand All @@ -129,9 +129,9 @@ termux_step_pre_configure() {
}

termux_step_make() {
make -j $TERMUX_MAKE_PROCESSES -k
make -j $TERMUX_PKG_MAKE_PROCESSES -k
}

termux_step_make_install() {
make -j $TERMUX_MAKE_PROCESSES install
make -j $TERMUX_PKG_MAKE_PROCESSES install
}
6 changes: 3 additions & 3 deletions tur-multilib/wine-staging/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ termux_step_host_build() {
# Make host wine-tools
(unset sudo; sudo apt update; sudo apt install libfreetype-dev:i386 -yqq)
"$TERMUX_PKG_SRCDIR/configure" ${TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS}
make -j "$TERMUX_MAKE_PROCESSES" __tooldeps__ nls/all
make -j "$TERMUX_PKG_MAKE_PROCESSES" __tooldeps__ nls/all
}

termux_step_pre_configure() {
Expand All @@ -137,9 +137,9 @@ termux_step_pre_configure() {
}

termux_step_make() {
make -j $TERMUX_MAKE_PROCESSES
make -j $TERMUX_PKG_MAKE_PROCESSES
}

termux_step_make_install() {
make -j $TERMUX_MAKE_PROCESSES install
make -j $TERMUX_PKG_MAKE_PROCESSES install
}
2 changes: 1 addition & 1 deletion tur-on-device/classic-flang/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ termux_step_pre_configure() {
pushd $TERMUX_PKG_SRCDIR/runtime/libpgmath
mkdir -p build && cd build
cmake -DCMAKE_INSTALL_PREFIX=$TERMUX_PREFIX ..
make -j$TERMUX_MAKE_PROCESSES
make -j$TERMUX_PKG_MAKE_PROCESSES
make install
cd .. && rm -rf build
popd
Expand Down
2 changes: 1 addition & 1 deletion tur/codon/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ termux_step_host_build() {

termux_setup_cmake
cmake "$TERMUX_PKG_SRCDIR"
make -j $TERMUX_MAKE_PROCESSES peg2cpp
make -j $TERMUX_PKG_MAKE_PROCESSES peg2cpp
}

termux_step_pre_configure() {
Expand Down
2 changes: 1 addition & 1 deletion tur/detchar/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"

termux_step_make() {
termux_setup_rust
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release --locked
cargo build --jobs $TERMUX_PKG_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release --locked
}

termux_step_make_install() {
Expand Down
2 changes: 1 addition & 1 deletion tur/efte/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TERMUX_PKG_HOSTBUILD=true
termux_step_host_build() {
termux_setup_cmake
cmake "$TERMUX_PKG_SRCDIR" -DBUILD_X=OFF -DBUILD_CONSOLE=OFF
make -j $TERMUX_MAKE_PROCESSES bin2c
make -j $TERMUX_PKG_MAKE_PROCESSES bin2c
}

termux_step_pre_configure() {
Expand Down
2 changes: 1 addition & 1 deletion tur/ffplayout/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ termux_step_make() {
popd
fi

cargo build --jobs $TERMUX_MAKE_PROCESSES --release --target $CARGO_TARGET_NAME
cargo build --jobs $TERMUX_PKG_MAKE_PROCESSES --release --target $CARGO_TARGET_NAME
}

termux_step_make_install() {
Expand Down
2 changes: 1 addition & 1 deletion tur/hare/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ termux_step_host_build() {
"
fi

make $TERMUX_PKG_EXTRA_HOSTBUILD_MAKE_ARGS -j $TERMUX_MAKE_PROCESSES
make $TERMUX_PKG_EXTRA_HOSTBUILD_MAKE_ARGS -j $TERMUX_PKG_MAKE_PROCESSES
make install $TERMUX_PKG_EXTRA_HOSTBUILD_MAKE_ARGS
cp "$TERMUX_PKG_BUILDER_DIR/cross_setup.sh" "$_CROSS_PREFIX/setup.sh"
}
Expand Down
2 changes: 1 addition & 1 deletion tur/harec/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ termux_step_host_build() {
. "$TERMUX_PREFIX/opt/qbe/cross/setup.sh"

"$TERMUX_PKG_SRCDIR/configure" --prefix="$_CROSS_PREFIX"
make -j $TERMUX_MAKE_PROCESSES
make -j $TERMUX_PKG_MAKE_PROCESSES
make install
cp "$TERMUX_PKG_BUILDER_DIR/cross_setup.sh" "$_CROSS_PREFIX/setup.sh"
}
Expand Down
2 changes: 1 addition & 1 deletion tur/hurl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ TERMUX_PKG_BUILD_DEPENDS="openssl, libxml2"

termux_step_make() {
termux_setup_rust
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
cargo build --jobs $TERMUX_PKG_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
}

termux_step_make_install() {
Expand Down
2 changes: 1 addition & 1 deletion tur/krabby/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TERMUX_PKG_BUILD_IN_SRC=true

termux_step_make() {
termux_setup_rust
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
cargo build --jobs $TERMUX_PKG_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
}

termux_step_make_install() {
Expand Down
2 changes: 1 addition & 1 deletion tur/libllvm-11/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ termux_step_host_build() {
termux_setup_ninja

cmake -G Ninja $TERMUX_PKG_SRCDIR/llvm
ninja -j $TERMUX_MAKE_PROCESSES llvm-tblgen
ninja -j $TERMUX_PKG_MAKE_PROCESSES llvm-tblgen
}

termux_step_pre_configure() {
Expand Down
2 changes: 1 addition & 1 deletion tur/libllvm-13/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ termux_step_host_build() {
termux_setup_ninja

cmake -G Ninja $TERMUX_PKG_SRCDIR/llvm
ninja -j $TERMUX_MAKE_PROCESSES llvm-tblgen
ninja -j $TERMUX_PKG_MAKE_PROCESSES llvm-tblgen
}

termux_step_pre_configure() {
Expand Down
2 changes: 1 addition & 1 deletion tur/libllvm-14/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ termux_step_host_build() {
termux_setup_ninja

cmake -G Ninja -DCMAKE_BUILD_TYPE=Release $TERMUX_PKG_SRCDIR/llvm
ninja -j $TERMUX_MAKE_PROCESSES llvm-tblgen
ninja -j $TERMUX_PKG_MAKE_PROCESSES llvm-tblgen
}

termux_step_pre_configure() {
Expand Down
2 changes: 1 addition & 1 deletion tur/libllvm-15/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ termux_step_host_build() {
cmake -G Ninja "-DCMAKE_BUILD_TYPE=Release" \
"-DLLVM_ENABLE_PROJECTS=clang" \
$TERMUX_PKG_SRCDIR/llvm
ninja -j $TERMUX_MAKE_PROCESSES llvm-tblgen clang-tblgen
ninja -j $TERMUX_PKG_MAKE_PROCESSES llvm-tblgen clang-tblgen
}

termux_step_pre_configure() {
Expand Down
2 changes: 1 addition & 1 deletion tur/libllvm-16/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ termux_step_host_build() {
cmake -G Ninja "-DCMAKE_BUILD_TYPE=Release" \
"-DLLVM_ENABLE_PROJECTS=clang;mlir" \
$TERMUX_PKG_SRCDIR/llvm
ninja -j $TERMUX_MAKE_PROCESSES clang-tblgen llvm-tblgen \
ninja -j $TERMUX_PKG_MAKE_PROCESSES clang-tblgen llvm-tblgen \
mlir-tblgen mlir-linalg-ods-yaml-gen
}

Expand Down
2 changes: 1 addition & 1 deletion tur/libllvm-classic-flang/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ termux_step_host_build() {
cmake -G Ninja "-DCMAKE_BUILD_TYPE=Release" \
"-DLLVM_ENABLE_PROJECTS=clang" \
$TERMUX_PKG_SRCDIR/llvm
ninja -j $TERMUX_MAKE_PROCESSES llvm-tblgen clang-tblgen
ninja -j $TERMUX_PKG_MAKE_PROCESSES llvm-tblgen clang-tblgen
}

termux_step_pre_configure() {
Expand Down
2 changes: 1 addition & 1 deletion tur/libllvm-codon/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ termux_step_host_build() {

cmake -G Ninja "-DCMAKE_BUILD_TYPE=Release" \
$TERMUX_PKG_SRCDIR/llvm
ninja -j $TERMUX_MAKE_PROCESSES llvm-tblgen
ninja -j $TERMUX_PKG_MAKE_PROCESSES llvm-tblgen
}

termux_step_pre_configure() {
Expand Down
2 changes: 1 addition & 1 deletion tur/meli/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ termux_step_pre_configure() {
}

termux_step_make() {
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
cargo build --jobs $TERMUX_PKG_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
}

termux_step_make_install() {
Expand Down
4 changes: 2 additions & 2 deletions tur/nodejs-18/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ termux_step_configure() {

termux_step_make() {
if [ "${TERMUX_DEBUG_BUILD}" = "true" ]; then
ninja -C out/Debug -j "${TERMUX_MAKE_PROCESSES}" || bash
ninja -C out/Debug -j "${TERMUX_PKG_MAKE_PROCESSES}" || bash
else
ninja -C out/Release -j "${TERMUX_MAKE_PROCESSES}" || bash
ninja -C out/Release -j "${TERMUX_PKG_MAKE_PROCESSES}" || bash
fi
}

Expand Down
4 changes: 2 additions & 2 deletions tur/nodejs-20/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ termux_step_configure() {

termux_step_make() {
if [ "${TERMUX_DEBUG_BUILD}" = "true" ]; then
ninja -C out/Debug -j "${TERMUX_MAKE_PROCESSES}"
ninja -C out/Debug -j "${TERMUX_PKG_MAKE_PROCESSES}"
else
ninja -C out/Release -j "${TERMUX_MAKE_PROCESSES}"
ninja -C out/Release -j "${TERMUX_PKG_MAKE_PROCESSES}"
fi
}

Expand Down
2 changes: 1 addition & 1 deletion tur/php7.2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ac_cv_func_res_nsearch=no
termux_step_host_build() {
(cd "$TERMUX_PKG_SRCDIR" && ./buildconf --force)
"$TERMUX_PKG_SRCDIR/configure" ${TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS}
make -j "$TERMUX_MAKE_PROCESSES"
make -j "$TERMUX_PKG_MAKE_PROCESSES"
}

termux_step_pre_configure() {
Expand Down
2 changes: 1 addition & 1 deletion tur/php7/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ac_cv_func_res_nsearch=no
termux_step_host_build() {
(cd "$TERMUX_PKG_SRCDIR" && ./buildconf --force)
"$TERMUX_PKG_SRCDIR/configure" ${TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS}
make -j "$TERMUX_MAKE_PROCESSES"
make -j "$TERMUX_PKG_MAKE_PROCESSES"
}

termux_step_pre_configure() {
Expand Down
2 changes: 1 addition & 1 deletion tur/playit/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ termux_step_pre_configure() {
}

termux_step_make() {
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
cargo build --jobs $TERMUX_PKG_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
}

termux_step_make_install() {
Expand Down
2 changes: 1 addition & 1 deletion tur/python3.10/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS="

termux_step_host_build() {
$TERMUX_PKG_SRCDIR/configure $TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS
make -j $TERMUX_MAKE_PROCESSES
make -j $TERMUX_PKG_MAKE_PROCESSES
make altinstall
}

Expand Down
2 changes: 1 addition & 1 deletion tur/python3.7/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS="

termux_step_host_build() {
LN="ln -s" $TERMUX_PKG_SRCDIR/configure $TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS
make -j $TERMUX_MAKE_PROCESSES
make -j $TERMUX_PKG_MAKE_PROCESSES
make altinstall
}

Expand Down
2 changes: 1 addition & 1 deletion tur/python3.8/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS="

termux_step_host_build() {
$TERMUX_PKG_SRCDIR/configure $TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS
make -j $TERMUX_MAKE_PROCESSES
make -j $TERMUX_PKG_MAKE_PROCESSES
make altinstall
}

Expand Down
2 changes: 1 addition & 1 deletion tur/python3.9/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS="

termux_step_host_build() {
$TERMUX_PKG_SRCDIR/configure $TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS
make -j $TERMUX_MAKE_PROCESSES
make -j $TERMUX_PKG_MAKE_PROCESSES
make altinstall
}

Expand Down
2 changes: 1 addition & 1 deletion tur/qbe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ OUTDIR=$TERMUX_PKG_HOSTBUILD_DIR
termux_step_host_build() {
cd $TERMUX_PKG_SRCDIR

make $TERMUX_PKG_EXTRA_HOSTBUILD_MAKE_ARGS -j $TERMUX_MAKE_PROCESSES
make $TERMUX_PKG_EXTRA_HOSTBUILD_MAKE_ARGS -j $TERMUX_PKG_MAKE_PROCESSES
make install $TERMUX_PKG_EXTRA_HOSTBUILD_MAKE_ARGS
cp "$TERMUX_PKG_BUILDER_DIR/cross_setup.sh" "$_CROSS_PREFIX/setup.sh"
}
Expand Down
4 changes: 2 additions & 2 deletions tur/ruby-2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ termux_step_host_build() {
./config --prefix=$TERMUX_PKG_HOSTBUILD_DIR/ruby-host-openssl \
--openssldir=$TERMUX_PKG_HOSTBUILD_DIR/ruby-host-openssl \
shared zlib
make -j $TERMUX_MAKE_PROCESSES
make -j $TERMUX_PKG_MAKE_PROCESSES
make install
popd

"$TERMUX_PKG_SRCDIR/configure" \
--prefix=$TERMUX_PKG_HOSTBUILD_DIR/ruby-host \
--with-openssl-dir=$TERMUX_PKG_HOSTBUILD_DIR/ruby-host-openssl
make -j $TERMUX_MAKE_PROCESSES
make -j $TERMUX_PKG_MAKE_PROCESSES
make install
}

Expand Down
4 changes: 2 additions & 2 deletions tur/smartdns/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ termux_step_configure() {
}

termux_step_make() {
make -j $TERMUX_MAKE_PROCESSES \
make -j $TERMUX_PKG_MAKE_PROCESSES \
PREFIX="$PREFIX" \
SBINDIR="$PREFIX/bin" \
SYSCONFDIR="$PREFIX/etc" \
RUNSTATEDIR="$PREFIX/var/run"
}

termux_step_make_install() {
make install -j $TERMUX_MAKE_PROCESSES \
make install -j $TERMUX_PKG_MAKE_PROCESSES \
PREFIX="$PREFIX" \
SBINDIR="$PREFIX/bin" \
SYSCONFDIR="$PREFIX/etc" \
Expand Down
4 changes: 2 additions & 2 deletions tur/suitesparse/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ termux_step_make() {
CMAKE_OPTIONS+=" -DBUILD_TESTING=OFF"
CMAKE_OPTIONS+=" $(echo $TERMUX_PKG_EXTRA_CONFIGURE_ARGS)"

make -j $TERMUX_MAKE_PROCESSES \
CMAKE_OPTIONS="$CMAKE_OPTIONS" JOBS=$TERMUX_MAKE_PROCESSES
make -j $TERMUX_PKG_MAKE_PROCESSES \
CMAKE_OPTIONS="$CMAKE_OPTIONS" JOBS=$TERMUX_PKG_MAKE_PROCESSES
}

termux_step_make_install() {
Expand Down
Loading
Loading