mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:57:35 +00:00
Ports: Bump Zig version to 0.11.0-dev.4003+c6aa29b6f
This commit fixes the build for LLVM 16 now that the toolchain has been updated, and updates us to the latest available Zig commit. The main patch changes are making more symbols available (and exposing them through std.c.serenity) and working around new Zig build requirements. Co-Authored-By: Andre Herbst <moormaster@gmx.net>
This commit is contained in:
parent
92b56ded02
commit
752d9d7c03
22 changed files with 814 additions and 508 deletions
|
@ -1,11 +1,21 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
|
||||
port='zig'
|
||||
version='0.11.0-dev.670+f7fea080b'
|
||||
files='https://github.com/ziglang/zig-bootstrap/archive/b9a466fd23d7777e1b3b87d49074ce66370fb7b3.tar.gz zig-bootstrap-b9a466f.tar.gz 84cf91d727c53ef49220ea6b2864dae3bd48e5e5a73be95bf3672c38a72b0946'
|
||||
workdir='zig-bootstrap-b9a466fd23d7777e1b3b87d49074ce66370fb7b3'
|
||||
version='0.11.0-dev.4003+c6aa29b6f'
|
||||
files='https://github.com/ziglang/zig-bootstrap/archive/bf1b2cdb83141ad9336eec42160c9fe87f90198d.tar.gz zig-bootstrap-bf1b2cd.tar.gz 363f97884f4a291c7167468e53cf4570fa03bc7b8973365dbce2019ffc103150
|
||||
https://github.com/ziglang/zig/archive/c6aa29b6fdba1606bfd218b17de89f64179c0ed8.tar.gz zig-c6aa29b.tar.gz d63c5087a737c46072f155eacacaa406af67addab39ad8179c44b0fc7d698ac1'
|
||||
|
||||
# The actual directory to build in.
|
||||
workdir='zig-bootstrap-bf1b2cdb83141ad9336eec42160c9fe87f90198d'
|
||||
# The newer Zig directory we move into the workdir.
|
||||
zigdir='zig-c6aa29b6fdba1606bfd218b17de89f64179c0ed8'
|
||||
|
||||
post_fetch() {
|
||||
# Move the newer version of Zig into the bootstrap
|
||||
run rm -rf zig
|
||||
run mv "../${zigdir}" zig
|
||||
|
||||
# Copy the scripts that the build process will use
|
||||
run mkdir -p out
|
||||
run cp -r "${PORT_META_DIR}/scripts" out/
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue