threefoldtech / 0-bootstrap

Zero-OS Bootstrap Webservice
Apache License 2.0
1 stars 2 forks source link

autobuild: investigate how to speedup the build process #12

Closed maxux closed 2 years ago

maxux commented 2 years ago

On build process, a rebuild and deps computation is redo each time, this can probably be avoided. Investigate how to avoid that.

maxux commented 2 years ago
/tmp/tmpeny13e8u/src /mnt/hub/bootstrap-v2
  [DEPS] crypto/certstore.c
  [DEPS] crypto/rootcert.c
  [DEPS] image/embedded.c
  [BUILD] bin-x86_64-efi/embedded.o
  [BUILD] bin-x86_64-efi/rootcert.o
  [BUILD] bin-x86_64-efi/certstore.o
  [AR] bin-x86_64-efi/blib.a
ar: creating bin-x86_64-efi/blib.a
  [VERSION] bin-x86_64-efi/version.ipxe.efi.o
  [LD] bin-x86_64-efi/ipxe.efi.tmp
  [FINISH] bin-x86_64-efi/ipxe.efi
rm bin-x86_64-efi/version.ipxe.efi.o

Current latest version seems to use the most optimized workflow.