Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Commit

Permalink
Copy build output to artifacts directory
Browse files Browse the repository at this point in the history
  • Loading branch information
pktpls authored and Akira25 committed Oct 3, 2022
1 parent d7d0e20 commit beb39b9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build_feed
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ if [ "$1" == "incontainer" ]; then
fi
echo "$FEED_LINE" >> feeds.conf.default

logfile="bin/packages/$INSTR_SET/$FEED_NAME/build.log"
mkdir -p "$(dirname "$logfile")"

# the grep pipes further down would otherwise be buffered
unbuf="stdbuf --output=0 --error=0"
{
Expand All @@ -23,7 +26,8 @@ if [ "$1" == "incontainer" ]; then
make package/index V=s
} |& $unbuf grep -v 'warning: ignoring type redefinition' \
| $unbuf grep -v 'warning: defaults for choice' \
| $unbuf grep -v "linux/Makefile' has a dependency"
| $unbuf grep -v "linux/Makefile' has a dependency" \
| tee "$logfile"
else
SDK_TAG="$1"
FEED_LINE="$2"
Expand Down

0 comments on commit beb39b9

Please sign in to comment.