1
Commit Graph

531 Commits

Author SHA1 Message Date
Motiejus Jakštys
5f5b25d34b use newer arm64 glibc explicitly 2021-08-06 09:49:52 +03:00
Motiejus Jakštys
50c5e58dcd better fcntl64 hack
this file may be included from the assembler; assembler does not
understand the `__asm__` directive.
2021-08-06 09:43:18 +03:00
Motiejus Jakštys
e262e3acc5 specify absolute path to glibchack-fcntl.h 2021-08-06 08:44:56 +03:00
Motiejus Jakštys
7b0c37aacd add DEFAULT_COPTS 2021-08-05 15:21:38 +03:00
Motiejus Jakštys
63fc7aeb7a update .build.yml 2021-08-05 12:25:42 +03:00
Motiejus Jakštys
a58e58c175 update README 2021-08-05 12:24:26 +03:00
Motiejus Jakštys
bf84ec2090 more aggressive toolchain resolution:
- hardcode gnu.2.19 instead of autodetect
- more tests.
2021-08-05 11:49:17 +03:00
Motiejus Jakštys
005f87a26d more robust toolchain selection 2021-08-05 09:47:34 +03:00
Motiejus Jakštys
4d44d9ffd4 speed first safety later 2021-08-04 19:46:21 +03:00
Motiejus Jakštys
144a87cd4c flock zig toolchain
slower, but more robust.
2021-08-04 15:16:18 +03:00
Motiejus Jakštys
13cba6c244 rework toolchain registration
- support specifying the glibc version.
- support picking the default of musl or glibc.
- create both zig and go conventions for `--extra_toolchains`.
2021-08-04 15:04:14 +03:00
Motiejus Jakštys
6687f16a49 update zig 2021-08-04 13:17:55 +03:00
Motiejus Jakštys
fc7335054e disable tests on linux arm64 2021-07-29 00:10:58 +03:00
Motiejus Jakštys
5bf03915be implement fcntl64 hack
glibc overrides fcntl with a macro to fcntl64; implement some trickery
to bring back fcntl on older toolchain.
2021-07-28 23:44:06 +03:00
Motiejus Jakštys
14cb54fbd4 remove obsolete tool_srcs 2021-07-28 19:15:06 +03:00
Motiejus Jakštys
44da7f7f46 remove obsolete comments and code 2021-07-28 19:13:40 +03:00
Motiejus Jakštys
4667068ceb add a known issue 2021-07-21 19:37:55 +03:00
Motiejus Jakštys
ebfabb6d0f use 2.19 again; 2.28 doesn't help 2021-07-21 17:07:14 +03:00
Motiejus Jakštys
9152ce8216 fix .envrc 2021-07-21 16:28:33 +03:00
Motiejus Jakštys
a71f17adf8 use glibc 2.28 2021-07-21 16:24:31 +03:00
Motiejus Jakštys
1c86c6e5c7 check arch when downloading bazel 2021-07-21 16:23:57 +03:00
Motiejus Jakštys
37953e9cd3 add some C dependencies
this stresses the toolchain more.
2021-07-21 15:02:04 +03:00
Motiejus Jakštys
631906ffd8 wip: go repositories 2021-07-21 14:59:33 +03:00
Motiejus Jakštys
cb10c591be rename zig toolchain to match go 2021-07-21 14:53:39 +03:00
Motiejus Jakštys
d78d78393b separate zigtarget and gotarget 2021-07-21 14:42:55 +03:00
Motiejus Jakštys
1fa90818cb quote strings properly 2021-07-12 09:45:23 +03:00
Motiejus Jakštys
d67a5e8514 update zig
should stop hanging
2021-07-02 12:32:50 +03:00
Motiejus Jakštys
5a4a2dfcf1 remove non-required options from .bazelrc 2021-06-30 16:00:42 +03:00
Motiejus Jakštys
dca2989825 replace curl with wget 2021-06-28 15:29:45 +03:00
Motiejus Jakštys
bbb985362b move setup to .envrc 2021-06-28 14:00:47 +03:00
Motiejus Jakštys
82053e2127 expose zig compiler 2021-06-28 13:57:47 +03:00
Motiejus Jakštys
be168480a7 downgrade bazel to 3.7.0
that's our target for now.
2021-06-28 12:52:20 +03:00
f094bdf879 Merge branch 'hangzig' 2021-06-28 12:37:58 +03:00
221b76a84a shorter tool_srcs 2021-06-20 15:15:21 +03:00
ed2bc345be remove unused filegroups 2021-06-20 15:12:48 +03:00
0944357d54 --extra_toolchains also needs to know the platform 2021-06-20 15:00:17 +03:00
f65969f038 fix build-and-file 2021-06-20 14:37:28 +03:00
94eb081d6d use @io_bazel_rules_go//go/toolchain where possible
only musl adds extra-toolchains.
2021-06-20 13:48:39 +03:00
29e2317de3 bash stricter mode 2021-06-19 16:48:26 +03:00
f6f6be1b88 update README 2021-06-19 16:47:48 +03:00
b5c8f85ece update .build.yml, remove hangzig 2021-06-19 16:45:33 +03:00
a3606b7404 register only gnu toolchain by default
musl can be specified with --extra_toolchains.
2021-06-19 16:32:07 +03:00
e94447bd83 update readme 2021-06-19 12:17:58 +03:00
afba2b1e33 less verbose build 2021-06-19 12:14:19 +03:00
c6c38f9022 -y 2021-06-19 12:12:19 +03:00
638f1fcc3d remove gcc 2021-06-19 12:11:46 +03:00
75f73b0c82 cat 2021-06-19 12:10:38 +03:00
f2bf76925c add dpkg -l 2021-06-19 12:09:54 +03:00
55d97c6731 add dpkg -l 2021-06-19 12:09:41 +03:00
c15060ec35 privileged container; allows ptrace 2021-06-18 11:16:08 +03:00