mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-27 07:14:18 +08:00
Make all make calls parallel
This commit is contained in:
parent
10234adf0c
commit
5391551561
@ -14,7 +14,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix=''
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -15,9 +15,9 @@ function recipe_build {
|
||||
wget -O lib/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
sed -i 's|.*/doc/help2man.*|\&\& true|' Makefile.in
|
||||
sed -i 's|install-info-am install-man|install-info-am|' Makefile.in
|
||||
|
||||
|
||||
./configure --host=${HOST} --prefix=''
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
wget -O support/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix=/ --disable-readline
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ function recipe_build {
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
./configure --host=${HOST} --prefix=/ --without-fonts
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ function recipe_build {
|
||||
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
autoreconf -i
|
||||
./configure --prefix=/ --host=${HOST} --disable-tftp --disable-ftp --disable-ntlm-wb --disable-threaded-resolver --with-zlib="$PWD/../sysroot" --with-ssl="$PWD/../sysroot" --with-ca-path=/ssl/certs
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
./autogen.sh
|
||||
./configure --host=${HOST} --prefix=/
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
autoreconf
|
||||
./configure --host=${HOST} --prefix=/
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ function recipe_build {
|
||||
./autogen.sh
|
||||
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix='' --disable-opengl --disable-sdltest --with-sdl-prefix="$PWD/../sysroot"
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -38,4 +38,4 @@ function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
make DESTDIR="$dest" install
|
||||
skip=1
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,7 +13,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
sed -i "s/= gcc/= $TARGET-gcc/g" Makefile.cmdline
|
||||
make -f Makefile.cmdline
|
||||
make -f Makefile.cmdline -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ function recipe_build {
|
||||
--enable-zlib \
|
||||
--enable-encoder=png \
|
||||
--enable-decoder=png
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ function recipe_build {
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
|
||||
./configure --host=${HOST} --prefix='/'
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix=/ ac_cv_func_gethostbyname=no ac_cv_func_connect=no
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ function recipe_build {
|
||||
sysroot="${PWD}/../sysroot"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
make all
|
||||
make all -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ function recipe_build {
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
./configure --host=${HOST} --prefix=/ ac_cv_fread_reads_directories=yes ac_cv_snprintf_returns_bogus=yes ac_cv_lib_curl_curl_global_init=yes CURL_CONFIG=no
|
||||
make ${MAKEFLAGS}
|
||||
make ${MAKEFLAGS} -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ function recipe_build {
|
||||
ln -sf "$sysroot/include" "$sysroot/usr/include"
|
||||
ln -sf "$sysroot/lib" "$sysroot/usr/lib"
|
||||
./configure --host=${HOST} --target=${HOST} --prefix=/ --with-sysroot=/ --with-build-sysroot="$sysroot" --disable-gdb --disable-nls --disable-werror
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix=/
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix=/ CFLAGS="-DPOSIX -DNO_ARCHIVES -DNO_OUTPUT_SYNC" --without-guile
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ function recipe_build {
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
./configure --host=${HOST} --prefix=/
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix='/' --disable-shared --enable-static
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix='/'
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ function recipe_build {
|
||||
chmod +w config.sub
|
||||
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix='/'
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ function recipe_build {
|
||||
# Disclaimer: No idea what I'm doing
|
||||
./autogen.sh
|
||||
./configure --host=${HOST} --prefix='/'
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ function recipe_update {
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
make generic CC="${HOST}-gcc -std=gnu99"
|
||||
make generic CC="${HOST}-gcc -std=gnu99" -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -16,8 +16,7 @@ function recipe_build {
|
||||
sysroot="${PWD}/../sysroot"
|
||||
export CFLAGS="-I$sysroot/include -I$sysroot/include/ncursesw"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix=""
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ function recipe_build {
|
||||
./configure \
|
||||
--build x86_64-pc-linux-gnu \
|
||||
--host "$HOST"
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
function recipe_test {
|
||||
|
||||
@ -15,7 +15,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
export CPPFLAGS="-P"
|
||||
./configure --host=${HOST} --prefix="" --disable-db-install --without-ada
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
export CPPFLAGS="-P"
|
||||
./configure --host=${HOST} --prefix="" --enable-widec --disable-db-install
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -18,8 +18,7 @@ function recipe_build {
|
||||
export TARGET="framebuffer"
|
||||
export CFLAGS="-I$sysroot/include -I${PWD}/inst-${TARGET}/include"
|
||||
export LDFLAGS="-L$sysroot/lib -L${PWD}/inst-${TARGET}/lib -Wl,--allow-multiple-definition"
|
||||
|
||||
make V=1
|
||||
make V=1 -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@ function recipe_build {
|
||||
popd
|
||||
|
||||
CC= ./configure --target="${HOST}" --prefix=/
|
||||
make all
|
||||
make all -j"$(nproc)"
|
||||
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -16,8 +16,7 @@ function recipe_build {
|
||||
export CFLAGS="-static -nostdinc -I $sysroot/include -I /usr/lib/gcc/x86_64-unknown-redox/7.0.1/include/ -nostdlib -L $sysroot/lib"
|
||||
export CRT="$sysroot/lib/crt0.o"
|
||||
export CLIBS="-lc -lm"
|
||||
|
||||
make all
|
||||
make all -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@ function recipe_build {
|
||||
autoconf
|
||||
wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix=''
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
./configure --build=`gcc -dumpmachine` --host=${HOST} --prefix='' --enable-static --without-liblzo2 --disable-network --without-threads
|
||||
make VERBOSE=1
|
||||
make VERBOSE=1 -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ function recipe_build {
|
||||
wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
autoreconf
|
||||
./configure --host=${HOST} --prefix=/
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@ function recipe_build {
|
||||
sed -i "s/^#define Netdb_name_t.*/#define Netdb_name_t const char*/" config.h # XXX
|
||||
sed -i 's/#define Strerror(e).*$/#define Strerror(e) strerror(e)/' config.h #
|
||||
echo "#define HAS_VPRINTF" >> config.h
|
||||
make LIBS=-lm
|
||||
make LIBS=-lm -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ function recipe_build {
|
||||
autoreconf -if
|
||||
wget -O autotools/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --prefix=/ --host=${HOST} --disable-sdltest --disable-cpu-opt --disable-gl --without-net --with-sdl-prefix="$PWD/../sysroot"
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
cp ../config.site ./
|
||||
./configure --host=${HOST} --build=${ARCH} --prefix=/
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ function recipe_build {
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CFLAGS="-I$sysroot/include"
|
||||
./configure --disable-shared --host=${HOST} --prefix=""
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
GIT=https://gitlab.redox-os.org/redox-os/relibc.git
|
||||
|
||||
function recipe_build {
|
||||
make
|
||||
make -C tests
|
||||
make -j"$(nproc)"
|
||||
make -C tests -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@ function recipe_build {
|
||||
--with-zlib-prefix="$sysroot" \
|
||||
--disable-timidity \
|
||||
--disable-mt32emu
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
./autogen.sh
|
||||
./configure --prefix=/ --host=${HOST} --disable-shared --disable-pulseaudio --disable-video-x11 --disable-loadso --disable-threads --enable-audio --enable-dummyaudio --enable-video-orbital --enable-cdrom
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
./autogen.sh
|
||||
./configure --prefix=/ --host=${HOST} --disable-shared --disable-sdltest --enable-png --enable-jpg
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -31,9 +31,9 @@ function recipe_clean {
|
||||
make clean
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
make DESTDIR="$dest" install
|
||||
skip=1
|
||||
}
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
./autogen.sh
|
||||
./configure --prefix=/ --host=${HOST} --disable-shared --disable-sdltest --disable-music-cmd --disable-music-mp3 --disable-smpegtest
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -36,4 +36,4 @@ function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
make DESTDIR="$dest" install
|
||||
skip=1
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,7 +13,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix=/
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ function newlib_build {
|
||||
popd
|
||||
|
||||
CC= ./configure --target="${HOST}" --prefix=/
|
||||
make all
|
||||
make all -j"$(nproc)"
|
||||
make DESTDIR="$sysroot" install
|
||||
cd ..
|
||||
cp -r $sysroot/x86_64-unknown-redox/* $sysroot
|
||||
|
||||
@ -17,7 +17,7 @@ function recipe_build {
|
||||
autoreconf -f -i
|
||||
wget -O autoconf/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix='' --enable-vt100
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@ function recipe_build {
|
||||
export vim_cv_stat_ignores_slash=no
|
||||
export vim_cv_memmove_handles_overlap=yes
|
||||
./configure --host=${HOST} --prefix=/ --with-tlib=ncurses
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix=''
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ function recipe_build {
|
||||
chmod +w build-aux/config.sub
|
||||
wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix=/ --enable-threads=no
|
||||
make
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user