Re: RFS: python-cartopy/0.14.2-2
On Thu, 19 Jan 2017 11:50:18 +0000
Ghislain Vaillant <ghisvail@gmail.com> wrote:
> > > Then there's the additional complication that x32 is a 32-bit version of
> > > amd64, so it shouldn't fail the test. Therefore, I would propose
> > > something like the following Debian-specific hack:
> > >
> > > host_cpu = subprocess.check_output(['dpkg-architecture', '-qDEB_HOST_ARCH_CPU'])
> > > if host_cpu != 'i386':
> > > # Do the assert
Have you tried platfrom.machine ? it return either "i386" or "i686"
It is cleaner but I don't know how it behaves with an "x32" kernel.
Cheers,
--
Jérôme Kieffer
tel +33 476 882 445
Reply to: