Motiejus Jakštys
4fa5eff207
[linux-aarch64] fix top-level include path
2022-05-06 10:46:32 +03:00
Motiejus Jakštys
450a8486e2
[.envrc] fix linux-aarch64 buildifier hash
2022-05-06 09:59:52 +03:00
Motiejus Jakštys
d0c50b9544
[README] clarify binfmt_misc configuration
2022-05-06 09:50:53 +03:00
Motiejus Jakštys
e40d48ab6e
[readme] fix an internal link
2022-05-06 09:47:59 +03:00
Motiejus Jakštys
4dc947c012
Update release notes for v0.7.1
2022-05-05 15:23:39 +03:00
Motiejus Jakštys
94d5864cb7
move `--no-gc-sections` hack to the toolchain definition
...
Thanks laurynasl for the tip.
2022-05-05 14:36:36 +03:00
Motiejus Jakštys
9ce21b5276
[zig ld] --gc-sections workaround + tests
...
`zig cc` emits `--gc-sections` for the linker, which is incompatbile
with what CGo thinks about linking.
This commit adds a workaround: it will add `--no-gc-sections` to the
linking step if the command is not specified (falling back to the
default behavior of gcc/clang).
Related: https://github.com/golang/go/issues/52690
2022-05-05 13:36:58 +03:00
Motiejus Jakštys
4cc8a7b551
bump go to 1.18.1
2022-04-26 05:06:59 +03:00
Motiejus Jakštys
b48e1a62ee
[doc] add binfmt_misc
2022-04-21 08:49:28 +03:00
Motiejus Jakštys
0e62918e88
README updates
...
- more robust transient docker environment
- clarify platform vs subset
2022-04-21 08:47:29 +03:00
Motiejus Jakštys
d4f40a19fb
fix ci/release
...
by adding a stub commit there
2022-04-20 14:45:48 +03:00
Motiejus Jakštys
160de46269
Update release notes for v0.7.0
2022-04-20 12:37:27 +03:00
Motiejus Jakštys
c2c6edd11c
Merge branch 'laurynasl_libc'
2022-04-20 12:24:05 +03:00
Motiejus Jakštys
cca3c49c0b
[ci] install sponge
2022-04-18 13:12:08 +03:00
Motiejus Jakštys
d2af022174
shellcheck
2022-04-18 12:55:53 +03:00
Motiejus Jakštys
418b589ed2
example transitions only change platforms, leave toolchains for WORKSPACE
2022-04-18 12:40:17 +03:00
Motiejus Jakštys
486a26a196
[release] add to CI
2022-04-18 12:37:12 +03:00
Motiejus Jakštys
a53170cf82
ci/list* and ci/test: simple style improvements
2022-04-18 11:58:43 +03:00
Motiejus Jakštys
efca6e6428
remove support for glibc autodetection; this is a hermetic toolchain
2022-04-18 11:45:09 +03:00
Motiejus Jakštys
0c02a827ae
README prose, the way I understand it
2022-04-18 11:42:13 +03:00
laurynasl
4d65b80903
Add libc constraint and libc aware toolchains
...
- Also get rid of @bazel_skylib dependency
2022-04-14 14:29:06 +00:00
laurynasl
7a81e2a129
Restructure tests to all run in bazel
...
- add rules to run tests for a specific platform
- use downloaded buildifier
- move lint to a script
- rename ci tasks
- stop running under qemu-aarch64-static as it doesn't do anything
2022-04-14 10:47:02 +00:00
Motiejus Jakštys
557e75efda
avoid including a phony commit to relnotes
2022-04-09 00:20:55 +03:00
Motiejus Jakštys
8cc0979847
Update release notes for v0.6.1
2022-04-09 00:09:17 +03:00
laurynasl
68b152067c
Fix register toolchain
2022-04-09 00:09:04 +03:00
Motiejus Jakštys
6a6af239a5
Update release notes for v0.6.0
2022-04-07 14:39:47 +03:00
Motiejus Jakštys
313f16b020
[release notes] committer name -> author name
2022-04-07 14:39:31 +03:00
Motiejus Jakštys
43cb9856ea
remove note about 'next' branch
...
will not make it special.
2022-04-07 14:39:22 +03:00
Motiejus Jakštys
56daeaf6c0
Merge branch 'next'
2022-04-07 14:37:08 +03:00
laurynasl
64be98b830
Hide toolchain internals
2022-04-07 11:23:40 +00:00
Motiejus Jakštys
6ded50ad67
buildifier
2022-04-07 13:21:44 +03:00
Motiejus Jakštys
9015e381fd
update .build.yml for correct toolchain/platform paths
2022-04-07 12:56:32 +03:00
Motiejus Jakštys
4574ea0c3a
add a note about next branch
2022-04-07 12:50:45 +03:00
laurynasl
eedfc3312e
Move toolchain definitions to toolchains/
2022-04-07 12:43:34 +03:00
laurynasl
723e6f051d
Move toolchainss under @zig_sdk//platform:
2022-04-07 12:43:34 +03:00
laurynasl
d1b0dddf8c
Move declare_platforms() to platform/
2022-04-07 12:43:34 +03:00
laurynasl
dd76e0b76f
move platforms under @zig_cc//platform:
2022-04-07 12:43:34 +03:00
Motiejus Jakštys
22762ccc97
buildifier
2022-03-26 16:05:25 +02:00
Ken Micklas
843d97621f
Pin Go SDK to 1.18 for reproducibility
2022-03-26 15:56:11 +02:00
Ken Micklas
ccb68098e6
Use upstream read_user_netrc from Bazel 5.1
2022-03-26 15:56:11 +02:00
Ken Micklas
fc62c3a7b7
Remove repo fetch-time uname dependency, use new os.arch instead
2022-03-26 15:56:11 +02:00
Ken Micklas
f3bd9254ad
Upgrade to Bazel 5.1.0
2022-03-26 15:56:11 +02:00
Motiejus Jakštys
7a0c00952e
Update release notes for v0.5.0
2022-03-18 06:52:14 +01:00
Motiejus Jakštys
3492880151
bump to zig-0.10.0-dev.1393+291f5055f
2022-03-18 06:06:08 +01:00
Ken Micklas
9afcddea4f
Support netrc for Zig SDK download
2022-03-18 06:04:49 +01:00
Motiejus Jakštys
2895f0c2bf
replace `url_format` with `url_formats`
2022-03-18 05:44:22 +01:00
Ken Micklas
fb0cf50c44
2022-03-18 05:30:42 +01:00
Ken Micklas
fcb3d0432e
Starlark's default argument semantics are pretty weird and likely not
...
what you would expect:
https://github.com/bazelbuild/starlark/blob/master/spec.md#functions
Additionally, this is just easier to read.
2022-03-18 05:30:38 +01:00
Motiejus Jakštys
0715e6d6ce
buildifier
2022-02-24 11:06:35 +02:00
Motiejus Jakštys
874164ece1
stop hardcoding go sdk version
...
Turns out 1.17 is 1.17, but not 1.17.x, like I assumed previously. From
now on, the builds will be non-reproducible and will depend on whatever
the latest stable Go version is. This is better than me trying to
remember to bump Go versions when patches come out.
2022-02-24 11:03:14 +02:00