-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should make test
use jobserver parallelism?
#808
Comments
Now that Zuo's Could it be an issue with Zuo and the particular variant of GNU make that you're using? |
I will test that and find out! |
I tried commenting out my customized "check phase", and not only does the
I don't know what's going on. If it helps,
|
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. |
True: my hypothesis had been that it had failed early but was on its way to a higher number.
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:
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. |
This succeeded in 526.6 seconds, so it does seem to work! For posterity, |
The
BUILDING
document says:ChezScheme/BUILDING
Lines 244 to 245 in 57f92bb
Should testing use Zuo's support for the GNU Make jobserver so that
make -j <jobs> test
also runs tests in parallel?It doesn't seem to be happening automatically. While working on update the Guix package of Chez Scheme to version 10, I changed the "check phase" of the build recipe to use Zuo instead of GNU Make. The
BUILDING
document warns thatmake test
"can take on the order of an hour, depending on the speed of the machine," and indeed, on my 16-core laptop, an old log for a build of 9.9.9-pre-release.18 reported that the tests took 3165.6 seconds. Changing to Zuo for version 10.0.0 got the time down to 496.5, a huge improvement!The text was updated successfully, but these errors were encountered: