[Debian-med-packaging] Bug#813436: How to specify a generic architecture to GCC (Was: SSE3 issue with iqtree when trying to enable i386)

Andreas Tille andreas at an3as.eu
Tue Jun 28 09:01:07 UTC 2016


Hi,

I admit I can not answer the question asked by upstream.  The package in
question is iqtree[1] and they said that they have different
computational kernels implemented to respect different hardware.
Current Git[1] does not even build - may be due to some fine tuning of
gcc options needed???

Any help is welcome

    Andreas.

On Sat, Mar 12, 2016 at 07:33:48PM +0100, Tung Nguyen wrote:
> >
> > That's perfect.  A runtime detection is always the best way to go.  The
> > only problem might be that some architectures do not know SSE3 at build
> > time and the code needs to compile also under this conditions.
> >
> >
> Dear Andreas,
> 
> Is it possible to specify a generic architecture to GCC when you compile
> the code so that all 3 computational kernels  (non-SSE, SSE3, AVX) get
> compiled? Then during runtime IQ-TREE will automatically detect which
> kernel it should use, depending on the architecture. I assume that the
> non-SSE kernel should run fine on most x86 architecture. If this approach
> does not work, then we will provide a flag to exclude the compilation of
> the SSE3 and AVX kernels.


[1] https://anonscm.debian.org/git/debian-med/iqtree.git

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list