Le 10/01/2012 15:03, Jeroen Demeyer a écrit :
On 2012-01-10 12:16, Julien Puydt wrote:
Hi,
I would like to know how accurate the explicit dependencies in
spkg/standard/deps are.
For example, I see there that bzip2 needs prereq, but isn't listed
anywhere -- which would mean that it's only used as a build tool more
than a real dependency.
??? I don't understand what you mean here.
spkg/standard/deps is a "makefile", see
http://www.gnu.org/software/make/manual/make.html for a description of
the syntax.
I know what a Makefile is ; the question was how "good" it is. I'll try
to give a few examples.
(1) Consider :
A depends on B and C
B depends on C
the Makefile can just indicate :
A depends on B
B depends on C
ie : the *direct* dependency of A on C is implicit -- but easy to discover.
(2) Now consider :
A depends on C
B depends on C
but the Makefile just says :
A depends on C
and it just happens that since A is always built before B, then
everything works... but there is an implicit dependency -- and it's not
easy to discover.
(3) The Makefile says what to build and give some dependencies, but
doesn't say "why" ; for example, what is bzip2 used for, since it's not
explicitly needed by anything?
I hope that makes my question clearer.
Snark on #sagemath
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org