Karim Belabas on Tue, 15 Nov 2005 11:17:43 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Not shipping pari.desc in the tarball and other wishlist


* Bill Allombert [2005-11-10 22:11]:
> We should try to remove pari.desc from the tarball. This is
> useless since pari.desc can be trivially rebuild with find and cat,
> and is not needed for normal build.
> (This would save 186kB and reduce the tar.gz by 44kB ).

This is quite easy, the file is added explicitly in get_MANIFEST. 
Done.

> Secondly, I think we could get rid of src/desc/Makefile at this stage
> and move it to Oxx-xx/Makefile.  Handling correctly submakefile is
> always difficult.

Done. Can you check what I did in config/Makefile.SH (look for 'funclist') ?

> Third, we should implement a top-level makefile target that take care
> of setting up the source tree in a way such that parallel build of 
> pari in separate Oxxx-xxx object dir are safe. Currently there is a
> small risk of two threads updating the autogenerated .h files
> at the same times and producing garbage.

I am not sure how to do this. As long as the generated files end up in
the source tree (even if created elsewhere), two threads may try to 'mv'
identical files to the same spot at the same time.

I don't think what I've done prevents this.

Cheers,

    Karim.
-- 
Karim Belabas                  Tel: (+33) (0)5 40 00 26 17
Universite Bordeaux 1          Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~belabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]