On 26 Okt., 15:15, Volker Braun <vbraun.n...@gmail.com> wrote:
> I don't like having different source distributions for different
> OS'es.

Me either, but if we keep shipping binaries in a source distributions
that's an easy way to go:
Create a fortran-x.y.z-darwin.spkg that's only included in sage-u.v.w-
darwin.tar, trivial to implement in "sage -sdist".

Even better would be to (also) have it in e.g. $SAGE_ROOT/spkg/
darwin/, which would be easier to handle in the sage-upgrade script.

> Thats unnecessary added complexity. If you want to save a few
> megabytes you can always rsync the sage.tar archive, this will avoid
> retransmitting the unchanged spkgs.

rsync is not an option for ordinary users, nor when upgrading Sage
(which already lowers the amount of necessary downloads, but not if
somebody decides to change a few characters in e.g. the Fortran spkg's
spkg-install; also [unnecessarily] many packages will get rebuilt due
to such.)


Replying to Karl-Dieter:

I wouldn't mind keeping an spkg with binaries for Darwin (and perhaps
other "binary" spkgs for other platforms), but people using different
platforms shouldn't be bothered by that. The question would be if the
users are to download it manually, download a different tarball, or
just get instructions on how to install after 'configure' realized
some part of the toolchain is missing. As said on sage-release, we
currently don't want automatic downloads during the ("real") build
process; we could of course offer that as an option, though other
people again don't like interactive scripts...
A simple get_prerequisites script would be an alternative, also adding
some option to enable quering to or automatically getting them (i.e.,
platform-specific spkgs as required).

A lot of what's currently made in individual spkg-installs should IMHO
be moved to Sage's 'configure', e.g. detecting a capable libreadline
(and its header files) and the decision to eventually install Sage's
readline spkg (cf. #9530, #9523).

Also, I guess there are people using other platforms that would say
installing prerequisite xy on my system/platform isn't easy
either. ;-)


-Leif

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to