Commit ad19fee
committed
Drop BUILD_JOBS to 1 to bypass BuildKit -j>1 parallel-make race
Even with HOSTCC=gcc HOSTCXX=g++ passed on the make command line (which
correctly overrides Make.inc's HOSTCC=$(CC)+-m64 logic in the libwhich
sub-make), CI still fails with 'gcc: error: x86_64: linker input file
not found' in another autoconf configure script running in parallel.
Locally, '-j4 install-libwhich' succeeds with the override but '-j4
julia-deps' under docker build still hits a stray-token issue in some
other dep's configure. The pattern only reproduces under BuildKit's
docker build with parallel make.
Use -j1 in CI for now — reliable, ~25 min for deps phase instead of
~12 min, and Julia's sysimg/precompile phase isn't bottlenecked on -j.
Re-introduce parallelism once the actual stray-token source is
identified upstream (Julia/Make.inc, libwhich.mk, or BuildKit).
Also docs: README explicitly notes the Windows variant has NO Julia,
to avoid the 'why did it succeed in 26 seconds' question (it succeeds
because the windows job is a thin wrapper over dockcross with cbindgen
added; subsequent runs hit BuildKit's GHA layer cache).
Signed-off-by: Joris Gillis <joris@yacoda.com>1 parent 4828ab2 commit ad19fee
2 files changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
22 | 33 | | |
23 | 34 | | |
24 | 35 | | |
| |||
0 commit comments