I have a package (pyraf) where I need to switch off some tests for i386Yup, this is incorrect. This is the same as `uname -m` and so returns the kernel architecture.
(but not for other 32-bit platforms). I do this by
import platform
is_i386 = platform.machine() in ('i386', 'i486', 'i586', 'i686')
How can one find out the correct machine here?
Hi,
https://salsa.debian.org/debian-astro-team/pyraf/-/jobs/2130878#L2062
How can one find out the correct machine here?
On 10/30/21 5:50 PM, Ole Streicher wrote:
Hi,
https://salsa.debian.org/debian-astro-team/pyraf/-/jobs/2130878#L2062
How can one find out the correct machine here?
I just committed something to salsa -- sort of a hack, but it works
(i386 pipeline passes). I do this
for one of my other package as well. Please consider taking a look.
On Sat, Oct 30, 2021 at 02:20:40PM +0200, Ole Streicher wrote:
I have a package (pyraf) where I need to switch off some tests for i386Yup, this is incorrect. This is the same as `uname -m` and so returns the kernel architecture.
(but not for other 32-bit platforms). I do this by
import platform
is_i386 = platform.machine() in ('i386', 'i486', 'i586', 'i686')
If you want to do this purely at the upstream side without checking DEB_HOST_ARCH, AFAIK there is no 100% reliable way to do this.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 384 |
Nodes: | 16 (3 / 13) |
Uptime: | 60:10:26 |
Calls: | 8,173 |
Calls today: | 5 |
Files: | 13,113 |
Messages: | 5,864,381 |