[Bug 1638968] Review Request: libneurosim - Common interfaces for neuronal simulators

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1638968



--- Comment #5 from Ankur Sinha (FranciscoD) <sanjay.ankur@xxxxxxxxx> ---
(In reply to Dominik 'Rathann' Mierzejewski from comment #4)
> %global with_mpich 1
> %global with_openmpi 1
> 
> Why do you need those at all? Is mpich or openmpi missing on some arch? If
> yes, just exclude the affected subpackage on that arch.

Those really are just for convenience so that I can flip a switch to run
quicker builds, and if someone wants to use the spec to test newer versions of
the software without MPI etc.

> 
> # Empty debugsources.list---not sure what to do about this
> # gdb-add-index: No index was created for all created libraries
> # Needs investigation at upstream level
> 
> Are Fedora build flags applied to all compiler and linker invocations?

Yes---this was because of the way I was copying the sources for the different
builds. It's fixed now. The trick is to create all copies of the source as
sub-directories of the main build directory (was pointed out on the devel
list).

> 
> %{_libdir}/libpy3neurosim*.so.*
> 
> This is forbidden now
> (https://docs.fedoraproject.org/en-US/packaging-guidelines/
> #_listing_shared_library_files). You must list shared libraries with
> explicit version so that you don't accidentally introduce (possibly)
> incompatible SONAME bumps when doing an update.

Ah, yes! I forgot. Fixed.

> 
> %files mpich
> %license COPYING
> %doc README.md
> 
> Arguably, it's better to split out common license files and documentation
> into a separate -common/-doc subpackage. Both -mpich and -openmpi could be
> installed in at the same time, duplicating some files.

Yes, also done. Thanks.

> 
> Finally, the %build section could be factorized by not using %{_mpich_load}
> and %{_openmpi_load} macros, which make it difficult. See my elpa package
> for example:
> https://src.fedoraproject.org/rpms/elpa/blob/master/f/elpa.spec#_167 .

Ah, that's quite nifty. I haven't used that yet---this one is quite simple
enough to use these for the moment. I've got another package or two which are a
lot more complex, so I'll use it there.

Thanks for all the feedback.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux