On Saturday 10 September 2011, Mathias Homann wrote:
Am Samstag, 10. September 2011 schrieb Rüdiger Meier:
On Saturday 10 September 2011, Roger Luedecke wrote:
How would you go about using Intels compiler in OBS anyway?
Intels icc is distributed as several rpm packages which installs everything below /opt/intel. Quick but dirty I would tar them together and write a spec file simplified like this:
question... why?
When developing software it's a real benfit regularly testing at least the build and "make check" using different compilers, watching the logs for errors and warnings. If these build tests happens automatically then it will make your software much more stable and compatible without much more devel efforts. So my primary use case would be simply using it for building my own projects from daily snapshots. There are already many different gcc versions and even a lot cross compilers ready to use on OBS. Icc would be nice to have. Another benefit would be the huge performance improvements when using icc for packages where permormance is relevant. And last but not least there is existing software, which does not compile with gcc at all or which officially supports icc only.
and wouldn't the resultin binaries require some other runtime than glibc on any system using them?
Not when using icc -static-intel or maybe even icc -no-use-intel-optimized-headers -shared-libgcc (Which would decrease the performance benefit.) cu, Rudi -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org