[opensuse-buildservice] only src.rpm build ?

Hi, just a question, do we have a use case somewhere, where only a src.rpm should get build, but no binary packages ? We have frequently the case that people are confused why OBS can not expand their BuildRequires, even though the package build successfully. So I think about to let a build failing, if no binarie rpms are generated. (The case that only a src.rpm is created happens by wrong usage of %if statements frequently. This leads to the situation that no %files section is there anymore). bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Adrian Schröter wrote:
Hi,
just a question, do we have a use case somewhere, where only a src.rpm should get build, but no binary packages ?
yes, ATLAS: http://math-atlas.sourceforge.net/ It is an optimized BLAS/LAPACK library, useful for numerical computation. The optimization is based on running many different tests during the build, and the performances are CPU dependant (depends on the L1/L2/L3 cache size, etc...). This means it is not possible to build it as an rpm, but a src.rpm is still useful (since the user only has to run rpmbuild bla bla). cheers, David --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

David Cournapeau wrote:
Adrian Schröter wrote:
just a question, do we have a use case somewhere, where only a src.rpm should get build, but no binary packages ?
yes, ATLAS:
http://math-atlas.sourceforge.net/
It is an optimized BLAS/LAPACK library, useful for numerical computation. The optimization is based on running many different tests during the build, and the performances are CPU dependant (depends on the L1/L2/L3 cache size, etc...). This means it is not possible to build it as an rpm, but a src.rpm is still useful (since the user only has to run rpmbuild bla bla).
http://math-atlas.sourceforge.net/faq.html#binary | Can I download a prebuilt binary instead of installing from source? | We provide prebuilt ATLAS libraries for some selected architectures/configurations. Even if the software is able to optimize itself better by compiling it on the target processor you could still build a generic version for the architecture. Those who need the last bit of performance can still rebuild the source then. Also, I don't know if that software offers a library. If it does you may need the generic version for linking other applications. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Ludwig Nussel wrote:
http://math-atlas.sourceforge.net/faq.html#binary | Can I download a prebuilt binary instead of installing from source? | We provide prebuilt ATLAS libraries for some selected architectures/configurations.
Except that it is terribly out of date (3.4.1 is maybe 5 years old or something). And we all know the pathetic state of linux when trying to distribute binary/distribution independant only anyway (it is basically impossible without huge ressources most open source projects do not have).
Even if the software is able to optimize itself better by compiling it on the target processor you could still build a generic version for the architecture. Those who need the last bit of performance can still rebuild the source then.
The problem is that this is not possible. You can't build a generic version: if I have a CPU with SSE3, it is not possible to build ATLAS without SSE3 instructions. This is a PITA, because even on the same machine, it is not possible to generate the exact same binary (debian does it by recording the build output and replaying it....).
Also, I don't know if that software offers a library. If it does you may need the generic version for linking other applications.
No, it does not ATM. Trust me, I have some knowledge about building ATLAS on various platforms (including but not limited to linux), more than I wish I had: I am a core developer of numpy, which optionally depends on Atlas, and it is the number one problem wrt deployment for us. Most distributions screw up those packages (blas/lapack/Atlas), BTW. I would understand that it is not a big user-case for the build service; but it is a case where source rpm only are useful, and binary rom next to impossible to support correctly (reproducible build, for once). cheers, David --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
David Cournapeau
-
Ludwig Nussel