-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a script to build examples in background
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#! /usr/bin/env bash | ||
|
||
set -e | ||
|
||
echo "" | ||
echo "Setting environment variables" | ||
source ../set_pico_envars | ||
|
||
echo "This starts up background jobs to rebuild all the example uf2s." | ||
echo "It starts the jobs and then exits, leaving them running." | ||
echo "You can do other stuff or just monitor their progress by doing" | ||
echo "" | ||
echo " tail -f" | ||
echo "" | ||
echo "on the logfiles. This takes about half an hour on my 32 GB" | ||
echo "Acer Nitro 5 laptop. It probably requires at least 8 GB of" | ||
echo "RAM." | ||
|
||
/usr/bin/time ./build_rp2040_examples.sh > build_rp2040_examples.log 2>&1 & | ||
/usr/bin/time ./build_rp2350_examples.sh > build_rp2350_examples.log 2>&1 & | ||
|
||
echo "Finished" |