[build] Add new build_sysroot.sh and peru.yaml

Update the build_sysroot to build an LLVM 11 sysroot, dealing with
LLVM's change in structure. Also re-add peru.yaml for getting a
pre-built sysroot via peru.

See: https://github.com/buildinspace/peru
This commit is contained in:
Justin C. Miller
2021-04-07 22:56:15 -07:00
parent 55c9faaa79
commit e408142ca5
2 changed files with 108 additions and 106 deletions

7
peru.yaml Normal file
View File

@@ -0,0 +1,7 @@
imports:
sysroot: sysroot/
curl module sysroot:
url: https://f000.backblazeb2.com/file/jsix-os/sysroot-llvm-11.tar.gz
unpack: tar
sha1: 7dffa388bdb2e20e1b0eb73600024e0c07d95abd