Re: Bug#875618: openblas: please enable build on s390x

Sébastien Villemot <[email protected]>
Newsgroups gmane.linux.debian.ports.s390
Message-ID <[email protected]>
Control: tags -1 upstream
Control: forwarded -1 https://github.com/xianyi/OpenBLAS/issues/1307

On Thu, Sep 14, 2017 at 12:34:34PM +0200, Christian Borntraeger wrote:
> On 09/14/2017 09:58 AM, Sébastien Villemot wrote:
> > On Wed, Sep 13, 2017 at 08:33:08PM +0000, PICCA Frederic-Emmanuel wrote:
> >>> Unfortunately it does not look that simple. OpenBLAS is optimized for z13, but
> >>> our s390x port is supposed to support all the z systems (see [1]).
> >>
> >> what about asking for a a z13-support package to the isa-support (source
> >> package) maintainer. This way it could be possible to upload an optimise
> >> vesion of openblas which can install on recent enought s390x machines.
> > 
> > I am not totally convinced by this solution. If we adopt it, somebody who
> > installs e.g. octave on an old system-z machine will be hit by a failure in the
> > dpkg installation process, which needs manual intervention. This is likely to
> > generate problems in automated installers (and also confuse and annoy system
> > admins).
> > 
> >> the question will be then : does the buildd support these instructions ?
> > 
> > I leave that to the s390 porters to answer.
> 
> FWIW, some years ago I did the atlas port for s390x. For dynamic linking the atlas
> build/package process did support the exploitation of ELF HW_CAPS. So you could 
> build a z900 (generic) and a z13 variant which is then picked by the linker at 
> runtime. No idea if openblas allows the same. Of course the static variant (.a) 
> must be the generic one.

Thanks for your feedback. I have opened a request upstream about the need for a
z900 kernel, and for a dynamic selection between the z900 and z13 kernels
(as OpenBLAS currently does on x86).

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  http://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  http://www.debian.org
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAlm/tGcACgkQLOzpNQ7O
vkoJRQ/8Dp/1A7iq4JF2/xSowSIY3RHc19+IdsDlfupkU7QsNLI21J7P/MJKffUJ
ZwL47fK77JaJBmXXNewJBQMf8aK1xOzV2IzKK4DAdsw4B3Qa2AlEYujGLOyKW8x4
f6Guatt2Y7YuTmCgq77dgwKT9bd+Qs7idAIyMQMQ5mDrspFP1vCHLtnUCplZ/ujN
cupzMK3+X2kAaoCrFRDgBqd8hWZmn6z0e2LaFwGzMnpyzRfS7B7RMY1nryVPwav3
0sq0fau/LeEX8/A49plIWCR1M3pl1r8DT66E6dUxMy0QPKqbeTiV5/vk+T1HE8FY
zpf5prLD2RlDpxikyoEYIxyMv4xT4MLfsboOQ6fX5xAOg5Wc+JtlPEzCU0pBgbE4
QHh/+N5rv8K33hSTMVjhDhCu9PQkIr9Ucr0d2Lhlhm/F+MWfEC/MhBijuuBeHhRV
xZ0iiNTFOGoWP4Azz0msl6dzJkzrhLKqfMwvak4GNqWN3jCdABmMg2g4QxfSzO/o
YUPML8nozrdl8pa9ioJ7iCC9C21OfqG/RoEKTC9Y4j82FQLyGNtJmut27VVJx4FY
GC/m9XeHqCjy1uyolzg0pJiee1eHWaOjdvrW3RxZj2WdH39G0r3G6xet9jGLy8bd
TfWZsl2ioPjqPMLdgeW6SmW6KXokvdtHnlD4tdg5a41Ucn7w3fs=
=ZRZF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.