On 16.06.2015 00:30, Susi Lehtola wrote:
On 06/14/2015 03:02 PM, Sandro Mani wrote:
On 14.06.2015 16:28, Sandro Mani wrote:
Rules to generate such requires/provides:
* Provides: if the path of the library starts with $MPI_LIB, append
the (openmpi) resp (mpich) to the provides string
* Requires: if the path of the scanned object starts with $MPI_LIB and
the required library exists in $MPI_LIB, add (openmpi) resp (mpich) to
the requires string
Overriding the find-requires.sh could be done with a
%{?openmpi_package_header}.
Concrete examples:
https://smani.fedorapeople.org/mpi-find-provides
https://smani.fedorapeople.org/mpi-find-requires
Konsole output
$ echo -e
"/usr/lib64/openmpi/lib/libnglib-5.3.1.so\n/usr/lib64/libnglib-5.3.1.so"
| ./mpi-find-provides
libnglib-5.3.1.so()(64bit)(openmpi-x86_64)
libnglib-5.3.1.so()(64bit)
Sounds even better... although your links give HTTP 403.
Thanks for the feedback. Permissions fixed, sorry about that.
To discuss this further, should it be drafted as a Change and go to
FESCO, or rather filed as an FPC ticket?
Thanks,
Sandro
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct