-
Notifications
You must be signed in to change notification settings - Fork 163
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
BuildPackages.sh: "make clean" before full build #3480
BuildPackages.sh: "make clean" before full build #3480
Conversation
This way, if a user re-runs BuildPackages.sh in order to re-build packages, there is a higher chance that this works as expected, instead of mixing old compilation results with new ones. For GAP packages with non-autoconf based build systems, we re-run configure after the `make clean`, as for many of them, the latter removes their generated Makefile (in violation of well-established UNIX conventions).
I seem to remember doing this in the past, and finding some packages, on make clean, remove their documentation, and then make not breaking it back. |
I'm trying to find the package which did this, and I can't seem to find it. Maybe it was an earlier problem and has been fixed. |
If I comparing building the packages, to doing "build, clean, build" then the following files are missing (of note, there is the odd minor file here and there) gbnp has some files in doc/examples and some test files GeneralizedMorhismsForCAP, LinearAlgebraForCAP, ModulePresentationsForCAP all don't regenerate their html docs, and also remove a file called 'maketest.g' |
OK, then I'll bug the CAP folks (@sebasguts and @sebastianpos) about fixing their Makefiles then :-). |
@ChrisJefferson huh, but looking closer, I don't understand: those three CAP packages don't have a |
I didn't notice you don't run 'make clean' on packages without a configure. It looks like all packages which feature problematic 'make clean' happen to not have a configure script either. |
So, I just did a fresh package bootstrap; then used
So, it seems that FPLSA is affected (and I'll make sure to fix that there), but nothing else, at least nothing in the distribution. |
I just released fplsa 1.2.3 to improve this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had the same concerns as in the discussion above - glad to find them answered.
Should this be mentioned in release notes? |
Regarding mentioning this in the release notes: All in all, I am completely neutral on whether to mention it or not |
Also it may affect package authors... It will make no harm to mention it, so let's do that. |
This way, if a user re-runs BuildPackages.sh in order to re-build packages,
there is a higher chance that this works as expected, instead of mixing old
compilation results with new ones.
For GAP packages with non-autoconf based build systems, we re-run configure
after the
make clean
, as for many of them, the latter removes theirgenerated Makefile (in violation of well-established UNIX conventions).