-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
build/make/Makefile.in: Filter out "-j" from sub-make invocations to avoid excessive parallel load #30345
Comments
comment:1
Example, from https://github.com/mkoeppe/sage/runs/977866778:
Looks like 64 parallel jobs to me... |
Author: Matthias Koeppe |
New commits:
|
Commit: |
comment:5
Now I see
e.g. at https://github.com/mkoeppe/sage/runs/978617323 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
what is the meaning of this syntax:
in Makefile.in ? |
comment:9
This is going to wind up doing the wrong thing in a lot of places but I'm not sure how to fix it. Using the top-level makefile as a convenient way to run high-level commands means that we have two different interpretations of the
Right now we don't distinguish them. For example, I want to build each spkg with 4 threads, not try to build 4 spkgs at the same time. Maybe a new sage-specific variable like In any case... can some of these recursive calls be eliminated? E.g. this one...
can probably be eliminated by making |
comment:10
Replying to @dimpase:
This is an instance of pattern substitution $(VARIABLE:FROM=TO), https://www.gnu.org/software/make/manual/html_node/Substitution-Refs.html |
comment:11
Let me just quickly say that the present ticket is a hotfix for breakage caused by #30153. Let's please keep the scope limited so we can it into the next beta. For the big picture discussion regarding this whole mess of why we even recommend |
Reviewer: Dima Pasechnik |
comment:13
it does the job, let us get it in. As to recommendation for setting MAKE, it could be due to an outdated |
comment:14
Thank you! |
comment:15
Follow-up: #30369 |
Fixup from #30153, where recursive invocations of
$(MAKE)
forSPKG-no-deps
targets were added.The recursive invocation of $(MAKE) seems to lead to builds with extremely high parallel load when
MAKE="make -j8"
as recommended in Sage build documentation. This may be part of why lately many builds on GH Actions are failing.CC: @orlitzky @kliem @jhpalmieri
Component: build
Author: Matthias Koeppe
Branch/Commit:
701b4ce
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/30345
The text was updated successfully, but these errors were encountered: