1
Commit Graph

154 Commits

Author SHA1 Message Date
Motiejus Jakštys
52b4f4b436 Merge branch 'motiejus_go1.20' 2023-02-24 11:43:00 +02:00
Motiejus Jakštys
90867df2b7 update README
- add more test commands
- add the Laurynas BazelCon talk
2023-01-30 17:18:11 -08:00
Motiejus Jakštys
f92ef2d8d4 Update release notes for v1.0.0 2023-01-24 10:58:51 +02:00
Jeremy Volkman
cc8f113489 Use artifact_name_pattern to specify proper macos and windows artifact names.
On macos, dynamic libraries are generated as "libfoo.dylib".

On windows, executables end with ".exe", static libraries end with ".lib",
and dynamic libraries end with ".dll".
2022-12-18 05:29:04 +02:00
Motiejus Jakštys
775227fde2 Update release notes for v1.0.0-rc4 2022-12-14 14:54:41 +02:00
Motiejus Jakštys
359cb0fe6d README: fix copy/pasta 2022-10-08 15:01:00 +03:00
c0a58691eb README: rollback to v0.9.2
v1.0-rc* all have a performance regression due to
https://github.com/ziglang/zig/issues/13050; follow along there.
2022-10-07 12:28:07 +02:00
Motiejus Jakštys
50ca49181f Zig cache hacks/optimizations
Zig does not always share `libc++.a` and the glibc shims. We have observed
to be caused for 2 reasons:

- For some commands Go `chdir`s to `/tmp/`. This causes `ZIG_LIB_DIR` to be
  absolute, which blows the cache key to find the right `libc++.a` (because Zig
  thinks we are using a different lib dir to compile libc++). This is currently
  worked around in `toolchain/defs.bzl` by overfitting to Go and returning
  early from that particular invocation.
- Sometimes Bazel's sandbox messes up Zig's cache keys. If one runs without the
  sandbox (`--spawn_strategy=standalone`), the cache hit rate and thus the
  build time are much better.

This is actively investigated. I am adding `--spawn_strategy=standalone`
to CI to see the speedup that it provides. I will rollback it later.
2022-10-03 05:50:53 +03:00
Motiejus Jakštys
e9638443c6 tools wrapper: fix for windows
'common' is not a thing in Windows; but it needs to be defined.

This makes v1.0.0-rc3 broken for Windows, and not useful (yet) for
anyone else but me. Revert the README update too.
2022-10-01 05:12:45 +03:00
Motiejus Jakštys
873a703fc1 Update release notes for v1.0.0-rc3 2022-09-30 15:03:51 +03:00
Motiejus Jakštys
b9ded4caeb Update release notes for v1.0.0-rc2 2022-09-29 11:32:57 +03:00
Motiejus Jakštys
d841763745 update versions and sizes 2022-09-27 15:43:24 +03:00
Motiejus Jakštys
530dd1a825 Update release notes for v1.0.0-rc1 2022-09-27 15:41:06 +03:00
Ken Micklas
ab59c18d60 WIP: use relative paths for tools 2022-09-27 10:14:59 +03:00
Motiejus Jakštys
b3a8b5b169 update README
- update fixed upstream issues
- add the mailing list e-mail address
2022-09-22 11:57:13 +03:00
Motiejus Jakštys
f0f2ce597e Update release notes for v0.9.2 2022-09-12 13:46:54 +03:00
Motiejus Jakštys
a0fefdb15b Update release notes for v0.9.1 2022-08-26 11:35:12 +03:00
aaa50aad6d update README 2022-08-12 06:03:53 +03:00
a2632f953a Update release notes for v0.9.0 2022-08-12 05:56:39 +03:00
2423759d7d readme: update clang and glibc versions 2022-07-12 14:23:12 +03:00
c6e7927bc7 Update release notes for v0.8.2 2022-07-04 15:32:54 +03:00
d3cd4d81f1 Update release notes for v0.8.1 2022-07-04 15:31:17 +03:00
ef5d2b5069 README: maintainers section 2022-06-09 08:49:19 +03:00
3823cbdbf8 README: remove mention of wine-binfmt 2022-06-08 23:29:27 +03:00
0f888c458d README: short and long container versions 2022-06-08 23:27:04 +03:00
8ce003edec README: add qemu-user-static to the prereqs 2022-06-08 23:21:37 +03:00
623430d0bb README: update gc-sections 2022-06-08 23:17:50 +03:00
c904fc7d7d README: spaces 2022-06-08 23:12:22 +03:00
9569702e27 README: an upstream issue fixed 2022-06-08 23:12:00 +03:00
4486c2feed fix README.md url 2022-06-08 23:03:33 +03:00
92084a60b2 Update release notes for v0.8.0 2022-06-08 23:00:07 +03:00
86ae317685 zig sdk: rename {ext} to {_ext}
Also update README and release scripts
2022-06-06 10:32:42 +03:00
Fabian Hahn
6f2ae838cd added Windows target testing 2022-06-02 05:27:22 +03:00
Fabian Hahn
72475ee012 added support for Windows targets 2022-06-02 05:27:22 +03:00
Fabian Hahn
4a6eef7945 added Windows host support 2022-06-02 05:27:22 +03:00
Motiejus Jakštys
8b7597f4a1 Update release notes for v0.7.3 2022-06-01 11:51:40 +03:00
Motiejus Jakštys
f6440f8cf0 README: clarify video link 2022-05-25 15:20:12 +03:00
Motiejus Jakštys
1f8b1e4dd8 README: publicity section 2022-05-25 15:18:28 +03:00
Motiejus Jakštys
583ef5e55b README: update darwin_amd64 description 2022-05-18 10:45:22 +03:00
Motiejus Jakštys
7d5fb880c8 Update release notes for v0.7.2 2022-05-17 15:05:50 +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
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
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
160de46269 Update release notes for v0.7.0 2022-04-20 12:37:27 +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