oxidecomputer / helios

Helios: Or, a Vision in a Dream. A Fragment.
Mozilla Public License 2.0
371 stars 10 forks source link

config: enable auto-update for phbl project #145

Closed citrus-it closed 8 months ago

citrus-it commented 8 months ago

At present phbl is not pinned but is never updated after the first helios checkout/gmake setup. Let's always fetch the latest version.

citrus-it commented 8 months ago

With this branch, I did gmake setup and pbhl was updated to the latest commit as expected:

atrium:helios:andy/phbl% gmake setup
cd tools/helios-build && cargo build --quiet
Mar 08 17:10:30.190 INFO helios repository root is: /home/andy/helios
...
project: phbl
 Mar 08 17:10:31.269 INFO project phbl: Project { github: Some("oxidecomputer/phbl"), url: None, auto_update: true, rev: None, use_ssh: false, site_sh: false, cargo_build: false, use_debug: false, unless_env: None, fixup: [] }
 Mar 08 17:10:31.269 INFO clone https://github.com/oxidecomputer/phbl.git exists already at "/home/andy/helios/projects/phbl"
 Mar 08 17:10:31.269 INFO fetching updates for clone ...
 Mar 08 17:10:32.323 INFO rolling branch forward...
Updating 2d549e5..a615475
Fast-forward
 .cargo/{config => config.toml} |  0
 Cargo.lock                     | 14 ++++-----
 rust-toolchain                 |  2 +-
 src/allocator.rs               |  2 +-
 src/loader.rs                  |  4 ++-
 src/main.rs                    |  6 ++--
 src/mmu.rs                     | 25 +++++++++++-----
 src/phbl.rs                    |  3 +-
 x86_64-oxide-none-elf.json     |  2 +-
 xtask/Cargo.lock               | 68 +++++++++++++++++++++---------------------
 10 files changed, 70 insertions(+), 56 deletions(-)
 rename .cargo/{config => config.toml} (100%)
 Mar 08 17:10:32.335 INFO updating submodules...
...