Comments (6)
Now that Zuo's build
uses jobserver support by default, it doesn't need to be specifically enabled. When I try on my machines (macOS and Linux), make -j 4 test
runs with 4 jobs in a shell where make test
doesn't (i.e., where I've unset the ZUO_JOBS
environment variable that I normally have set).
Could it be an issue with Zuo and the particular variant of GNU make that you're using?
from chezscheme.
I will test that and find out!
from chezscheme.
I tried commenting out my customized "check phase", and not only does the make
-based one not seem to run in parallel, it also failed! I've uploaded the log as a7kk3sqx1vw0fwqsj65pp38g425kz7wv-chez-scheme-10.0.0.drv.log.gz; here's the tail:
-------- o=3 hci=101 eval=interpret rmg=2 hci-rmg --------
some output differs from expected
in build-one
in loop
in module->hash
make: *** [Makefile:40: test] Error 1
Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("test" "-j" "16") exit-status: 2 term-signal: #f stop-signal: #f>
phase `check' failed after 669.9 seconds
command "make" "test" "-j" "16" failed with status 2
I don't know what's going on. If it helps, make --version
reports:
make --version
GNU Make 4.3
Built for x86_64-unknown-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
from chezscheme.
I don't know if there's a way to tell definitively from the log that it's sequential or parallel, but that log seems to report 669.9s, which is closer to 496.5s than 3165.6s . I forget how long ago pre-release.18 was, but maybe that was before jobserver support was enabled by default.
Meanwhile, the test failure appears to be a crash in the test related to signal handling. I have seen this on occasion, and I suspect an issue with the test, but I didn't figure it out the last time I tried.
from chezscheme.
I don't know if there's a way to tell definitively from the log that it's sequential or parallel, but that log seems to report 669.9s, which is closer to 496.5s than 3165.6s .
True: my hypothesis had been that it had failed early but was on its way to a higher number.
I forget how long ago pre-release.18 was, but maybe that was before jobserver support was enabled by default.
That's the version from the Racket 8.11.1 release, built with the Zuo 1.7 from the same release. Just in case it's useful, here's that log:
lwa63x3g6pa4x2xvddsq3wflfmnmz3rd-chez-scheme-for-racket-9.9.9-pre-release.18.drv.log.gz
Meanwhile, the test failure appears to be a crash in the test related to signal handling. I have seen this on occasion, and I suspect an issue with the test, but I didn't figure it out the last time I tried.
If it's an inconsistent failure, I can try again later (once I've got my local tree back in the right state). I can also try building 9.9.9.pre-release-18 with the latest Zuo: I should test that anyway, as a consequence of the way Guix likes changes to be organized.
from chezscheme.
I can also try building 9.9.9.pre-release-18 with the latest Zuo: I should test that anyway, as a consequence of the way Guix likes changes to be organized.
This succeeded in 526.6 seconds, so it does seem to work! For posterity,
16p8jj8dx9pv33aqsd6s0as7w814w53k-chez-scheme-for-racket-9.9.9-pre-release.18.drv.log.gz is the log from building commit 5f7cbdcd81 in my fork of Guix.
from chezscheme.
Related Issues (20)
- Out of scope syntax-parameterize and local variables HOT 1
- Unable to build ChezSchem on WSL Archlinux HOT 1
- Small error in the CSUG HOT 1
- Release 10.0.0 .tar.gz does not contain the submodules HOT 3
- Intermittent crash in `make test` HOT 2
- `makefiles/boot.zuo`'s `main` calls `cross-build-boot` incorrectly HOT 3
- Why is `main.o` installed? HOT 3
- Bug in fixnum arithmetic HOT 1
- bytevector-reference-ref & set! fail to correctly check size of bytevectors smaller than ptr-bytes - 1 HOT 1
- Warnings from GCC `-fanalyzer`
- new RNG is very broken HOT 4
- chezscheme 10 cannot be built from tarball HOT 1
- Non-tail calls to errorf sometimes treated as tail calls with debug-level 2 HOT 5
- weird cond expansion HOT 8
- a few questions regarding packaging chez-scheme HOT 6
- [PATCH] Update user's guide link in README HOT 1
- Bug in V format prefix parameter HOT 1
- native eol style HOT 4
- error: use of unknown builtin '__builtin_add_overflow' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chezscheme.