[PATCH] debian: Add packaging to master taken from fairwaves/master

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Freyther holger at freyther.de
Sun Mar 20 17:26:30 UTC 2016


> On 19 Mar 2016, at 22:48, Alexander Chemeris <alexander.chemeris at gmail.com> wrote:
> 
> On Fri, Mar 18, 2016 at 10:22 PM, Holger Freyther <holger at freyther.de> wrote:
>> 
>>> On 18 Mar 2016, at 20:18, Sylvain Munaut <246tnt at gmail.com> wrote:
>>>> dh_auto_configure -- --without-sse CFLAGS="-DHAVE_SSE3 -march=atom -mtune=atom -O2" CXXFLAGS="-DHAVE_SSE3 -march=atom -mtune=atom -O2"
>>> 
>>> This seem awfully specific.
>> 
>> 
>> you are right. To make it worse the Makefile.am is having an -march=native in it as well. I should probably post without these flags and for now we will end up by the caps whatever the kvm builder has.
> 
> AFAIR the detection of capabilities in osmo-trx is based on CPUID, so
> you'll get whatever your real CPU is having. If you're running on
> anything decent, you'll get SSE4.1 detected and it'll crash on Atoms.
> That's why we had those flags built in. With those flags it builds
> without SSE4.1 optimizations and can run on both Atoms and Core's,
> since Atom is a kind of a lowest common denominator. So I suggest you
> leave them until a runtime detection is implemented.


#ifdef HAVE_SSE3 doesn't look like a lot like runtime detection based on CPU capabilities, my interest right now is limited to make packages available to a greater community, performance will then probably come next.

holger


More information about the OpenBSC mailing list