How to inject options only for intel architectures with cmake (Was: Bug#793344: hyphy: FTBFS on non-x86: unrecognized command line option '-msse3')

2015-07-23 Thread Andreas Tille
Hi, considering the fact that SSE3 optimisation is really wanted on intel architectures how could the option be added only for those architectures that understand -msse3 option? Kind regards Andreas. On Wed, Jul 22, 2015 at 10:30:58PM -0400, Aaron M. Ucko wrote: Source: hyphy

Re: How to inject options only for intel architectures with cmake (Was: Bug#793344: hyphy: FTBFS on non-x86: unrecognized command line option '-msse3')

2015-07-23 Thread Andreas Tille
Hi Gert, On Thu, Jul 23, 2015 at 03:25:00PM +0200, Gert Wollny wrote: On Thu, 2015-07-23 at 14:36 +0200, Andreas Tille wrote: Hi, considering the fact that SSE3 optimisation is really wanted on intel architectures how could the option be added only for those architectures that

Re: How to inject options only for intel architectures with cmake (Was: Bug#793344: hyphy: FTBFS on non-x86: unrecognized command line option '-msse3')

2015-07-23 Thread Gert Wollny
Hello Andreas, On the contrary users want to get the best performance from their recent processors I certainly can understand this ... Is there any better place to help upstream implementing it? This looks quite interesting: https://gcc.gnu.org/wiki/FunctionMultiVersioning It also

Re: [Debian-med-packaging] Bug#793344: How to inject options only for intel architectures with cmake (Was: Bug#793344: hyphy: FTBFS on non-x86: unrecognized command line option '-msse3')

2015-07-23 Thread Gert Wollny
It also seems to create the run-time decision manually. Of course I meant automatically. -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive:

Re: How to inject options only for intel architectures with cmake (Was: Bug#793344: hyphy: FTBFS on non-x86: unrecognized command line option '-msse3')

2015-07-23 Thread Andreas Tille
Hi Gert, I'll forward this. I just wait whether all bugs are now really closed. I found that upstream is actually checking via cmake for SSE3 extension but did not used the check results just for the test suite. Thanks for all your help anyway Andreas. On Thu, Jul 23, 2015 at

Re: How to inject options only for intel architectures with cmake (Was: Bug#793344: hyphy: FTBFS on non-x86: unrecognized command line option '-msse3')

2015-07-23 Thread Gert Wollny
On Thu, 2015-07-23 at 14:36 +0200, Andreas Tille wrote: Hi, considering the fact that SSE3 optimisation is really wanted on intel architectures how could the option be added only for those architectures that understand -msse3 option? You can do this: ### include(CheckCXXCompilerFlag)