Comment 1 for bug 1837577

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2019-07-24 08:37 EDT-------
For previous work on this topic, see:
<https://bugs.launchpad.net/ubuntu/+source/atlas/+bug/1814796>
The resulting package had some issues. I suggest the following changes:

1. Drop the spurious directories /usr/lib/s390x-linux-gnuvx and
/usr/lib/s390x-linux-gnu/atlasvx.
2. For each of the libraries libblas.so.3, libcblas.so.3, and
liblapack.so.3:
- Install the "vx"-specific library version into
/usr/lib/s390x-linux-gnu/vx/atlas.
- Install the non-"vx" version into /usr/lib/s390x-linux-gnu/atlas.
- Establish an alternative from /usr/lib/s390x-linux-gnu/<lib> to
/usr/lib/s390x-linux-gnu/atlas/<lib>.
- Establish an alternative (slave) from
/usr/lib/s390x-linux-gnu/vx/<lib> to
/usr/lib/s390x-linux-gnu/vx/atlas/<lib>.
3. Install appropriate versions of libatlas.so.3 and
liblapack_atlas.so.3 directly into /usr/lib/s390x-linux-gnu/vx and
/usr/lib/s390x-linux-gnu. Maybe the same applies to libf77blas.so.3,
or maybe this should also be handled with alternatives.

And in addition, this new feature request is meant to address IBM z14
support as well. For this, additional changes are needed:

4. Add "cross-compilation" support for ATLAS. I'll attach patches for
that.
5. Add "vxe" variants for each of the "vx" variants above and place the
z14 binaries there.