1
Fork 0
Commit Graph

542 Commits (main)

Author SHA1 Message Date
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
Motiejus Jakštys e89233cab2 README nit: flip -y argument 2022-02-11 07:45:01 +02:00
Motiejus Jakštys c4cc66961b Update release notes for v0.4.5 2022-02-11 06:31:00 +02:00
Ken Micklas 9ede1507c3 Fix and adjust darwin libc header paths depending on CPU 2022-02-11 06:29:46 +02:00
Ken Micklas 77688d0a45 Interpret arm64 output from uname as aarch64 on mac OS 2022-02-11 06:29:07 +02:00
Ken Micklas dc138b490a Fix darwin arm64 case in .envrc for loading bazel 2022-02-11 06:28:55 +02:00
Motiejus Jakštys 8e72cf89ec [readme] update bazel-test for aarch64 2022-02-08 14:42:32 +02:00
Motiejus Jakštys 84b5fa6dc8 [readme] update obsolete section 2022-02-08 14:41:35 +02:00
Motiejus Jakštys 90ceb2f896 [readme] fix aarch64 aliases 2022-02-08 14:39:29 +02:00
Motiejus Jakštys 3d166c5671 use .bazelrc for qemu configuration 2022-02-08 14:22:21 +02:00
Motiejus Jakštys 3325986971 recommend registering toolchains via .bazelrc 2022-02-08 14:09:30 +02:00
Motiejus Jakštys 424b1ca27d [docs] how to test your own zig version 2022-02-05 17:27:38 +02:00
Motiejus Jakštys 8d110a392a fcntl64 test
Refs https://github.com/ziglang/zig/issues/9485
2022-02-05 16:28:20 +02:00
Motiejus Jakštys 0cc6ce2a5b [readme] toolchain grep and qemu-static
... so it matches what's in the CI.
2022-02-05 11:49:57 +02:00
Motiejus Jakštys 1102b261bd [readme] more examples 2022-02-05 11:16:16 +02:00
Motiejus Jakštys 74fb5e7aac upgrade rules_go 2022-02-05 11:07:58 +02:00
Motiejus Jakštys a0a36f5c70 Update release notes for v0.4.4 2022-02-05 06:55:47 +02:00
Motiejus Jakštys acb4fd475a restructure tests for merging 2022-02-05 06:12:41 +02:00
Motiejus Jakštys 5de2126926 install binfmt-support 2022-02-05 05:58:24 +02:00
Motiejus Jakštys 7c8682b865 run tests with qemu-aarch64 2022-02-05 05:35:39 +02:00
Motiejus Jakštys 8430789f21 .envrc: remove bashism 2022-02-04 11:16:52 +02:00
Motiejus Jakštys 5871171549 run bazel test
This simplifies the tests somewhat.
2022-02-04 10:07:34 +02:00
Motiejus Jakštys 78a77ebbe5 preparing for aarch64 tests 2022-02-03 18:01:32 +02:00
Motiejus Jakštys 3e77c48662 Merge branch 'tests' 2022-02-03 15:47:45 +02:00
Motiejus Jakštys ebbf499208 move golang tests to its own directory
this prepares for more test binaries.
2022-02-03 15:24:26 +02:00
Motiejus Jakštys 0535dac898 buildifier 2022-02-03 15:17:53 +02:00
Motiejus Jakštys 5631c7e2b6 build everything under //test/... and remove duplicate test binaries 2022-02-03 14:58:42 +02:00
Motiejus Jakštys f7df739c83 back to glibc 2.19
fcntl64 is not yet fixed.
2022-02-03 14:24:32 +02:00
Motiejus Jakštys bcd9731f92 add @zig_sdk//:<os>_<arch>_platform values 2022-02-03 14:24:26 +02:00
Motiejus Jakštys 6136c7059f Update release notes for v0.4.3 2022-02-02 15:25:07 +02:00
Motiejus Jakštys 3cd456f0e7 Merge branch 'zig-0.10.0-dev.513+029844210' 2022-02-02 15:24:56 +02:00
Motiejus Jakštys d7a47c7349 README: --extra_toolchains and --platform 2022-02-02 15:11:10 +02:00
Motiejus Jakštys d27f6be570 upgrade to 0.10.0-dev.513+029844210 2022-02-02 14:59:34 +02:00
Motiejus Jakštys 1cd04478b7 rename/fix the package 2022-01-28 15:57:22 +02:00
Motiejus Jakštys f19927ac17 remove sqlite from dependencies
racy `zig cc` is no longer a thing. Good time to make tests faster.
2022-01-28 15:50:33 +02:00
Motiejus Jakštys 3d8cc9c38c add unit test 2022-01-28 15:49:24 +02:00