1
Commit Graph

11 Commits

Author SHA1 Message Date
Motiejus Jakštys
0e48fc3cb4 tests: sandboxing
The slowness of bazel-zig-cc comes from setup and teardown of sandbox
directories[1]. Turning on `experimental_reuse_sandbox_directories`
speeds it up significantly.

Depending on how the tests with this go in the next few days, I will add
this recommendation to README.

This has been marked as safe to use and no longer experimental as of
Bazel master[2].

[1]: https://git.sr.ht/~motiejus/test-zigcc
[2]: https://github.com/bazelbuild/bazel/pull/16490
2022-12-12 10:24:52 +02:00
db2f187aa9 ci/test: switch to proper fastbuild
turns out this was overwritten in .bazelrc from a long time ago.
2022-06-28 13:34:02 +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
laurynasl
723e6f051d Move toolchainss under @zig_sdk//platform: 2022-04-07 12:43:34 +03: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
98f31dcf58 [bazelrc] build --compilation_mode=opt 2021-12-15 15:05:12 +02:00
Motiejus Jakštys
5a4a2dfcf1 remove non-required options from .bazelrc 2021-06-30 16:00:42 +03:00
61c98f3464 bring back some things from the old repo 2021-06-07 22:50:19 +03:00
Adam Bouhenguel
2195fb6941 Initial commit with minimal examples 2021-04-09 15:05:01 -07:00