Page 1 of 1

Complete rewrite of makemake

Posted: Tue Dec 13, 2011 7:44 pm
by pouillon
As you might have already noticed, I've heavily changed the makemake script in the 6.11.2 version of Abinit. It is now a modular and flexible Python script with a few command-line options (use the -h or --help option for documentation). Backward compatibility with the already-existing options has been preserved.

The new makemake is making use of the build-system information available in config/specs/*.conf to adapt automatically to the new developments, which was not possible with the former shell-script style. This situation had resulted in some discrepancies with the current status of the source tree too, due to the need (actually lack) of regular human intervention. I took the opportunity to fix a few design flaws as well.

One of the consequences of the new style is that the build-autotools-framework script has been removed. In order to obtain the same effects, you may now run the following instead:

Code: Select all

makemake -blmsx
or, more explicitely:

Code: Select all

makemake --without-buildsys --without-abilint --without-makefiles --without-source --without-subsystems

Another consequence is that the clean-source-tree script has been obsoleted and is scheduled for removal in Abinit 6.13, unless I receive supplications not to do so. To clean the source tree, you may now run instead:

Code: Select all

makemake -c
or, more explicitely:

Code: Select all

makemake --clean

Should you wish to preserve the script-generated source files (Fortran interfaces, checking routines, info modules, ...), you may now run:

Code: Select all

makemake -ck
or:

Code: Select all

makemake --clean --keep-source


Due to my sloppiness in rewriting the script, a few transient problems have appeared, in particular the generation of files in the wrong order and the ignoring of abilint failures. :oops: All of them should have been fixed by now (pouillon/6.11.2-public/790). Disculpen las molestias.

In case the new script style is causing you some issues, please do not hesitate to let me know by replying to this post.