Skip to content

Commit

Permalink
Merge branch 'makepkg.conf'
Browse files Browse the repository at this point in the history
  • Loading branch information
takano32 committed Mar 10, 2024
2 parents daf4106 + bd16c18 commit e6df553
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion archlinux/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ while :; do $SUDO makepkg -o --skippgpcheck && break || sleep 5; done
# `makepkg` in `$BUILD_DIR/linux`
JOBS=$(getconf _NPROCESSORS_ONLN)
JOBS=$(expr "$JOBS" + "$JOBS")
$SUDO MAKEFLAGS="-j$JOBS" makepkg --skippgpcheck
JOBS=$(expr "$JOBS" + "$JOBS")
echo "MAKEFLAGS='-j$JOBS'" | tee -a /etc/makepkg.conf
$SUDO makepkg --skippgpcheck

cd $BUILD_DIR
# mv linux/src/archlinux-linux/Documentation/output ../htmldocs
Expand Down
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ unset IFS
LOCALVERSION=-$(date +%Y%m%d)
JOBS=$(getconf _NPROCESSORS_ONLN)
JOBS=$(expr "$JOBS" + "$JOBS")
JOBS=$(expr "$JOBS" + "$JOBS")
time $MAKE $MAKE_OPTS -j $JOBS O=/build-kernel/build/ LOCALVERSION=$LOCALVERSION
time $MAKE $MAKE_OPTS -j $JOBS modules O=/build-kernel/build/ LOCALVERSION=$LOCALVERSION
IFS="|"
Expand Down
4 changes: 3 additions & 1 deletion manjarolinux/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ while :; do $SUDO makepkg -o --skippgpcheck && break || sleep 5; done
# `makepkg` in `$BUILD_DIR/linux`
JOBS=$(getconf _NPROCESSORS_ONLN)
JOBS=$(expr "$JOBS" + "$JOBS")
$SUDO MAKEFLAGS="-j$JOBS" makepkg --skippgpcheck
JOBS=$(expr "$JOBS" + "$JOBS")
echo "MAKEFLAGS='-j$JOBS'" | tee -a /etc/makepkg.conf
$SUDO makepkg --skippgpcheck

cd $BUILD_DIR
# mv linux/src/archlinux-linux/Documentation/output ../htmldocs
Expand Down

0 comments on commit e6df553

Please sign in to comment.