[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61586] BinaryEn
From: |
Andreas Enge |
Subject: |
[bug#61586] BinaryEn |
Date: |
Sat, 11 Mar 2023 23:48:59 +0100 |
Hello Liliana,
how about you start by pushing the python-filecheck package?
Do you have a pointer to BinaryEn using -msse2 for precision?
I am not familiar with SSE2, but a quick look-up on Wikipedia only shows
(packed) double floating point operations and packed integer arithmetic.
All these should be feasible directly in C, although maybe more slowly.
In the CMakeLists.txt file there are the following lines:
if(NOT EMSCRIPTEN)
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$")
# wasm doesn't allow for x87 floating point math
add_compile_flag("-msse2")
add_compile_flag("-mfpmath=sse")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^armv[2-6]" AND NOT CMAKE_CXX_FLAGS
MATCHES "-mfpu=")
add_compile_flag("-mfpu=vfpv3")
endif()
endif()
So the -msse2 flag will not be added on arm; the package is compiled
successfully on aarch64, and I see no reason why in principal it should
not also work on armhf. Maybe there is a more precise test for x86_64
that could be used instead of
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$") ?
Building on armhf and i686 currently fails (is "blocked" in QA parlance):
https://qa.guix.gnu.org/issue/61586
due to python-aioredis failing on i686
https://data.qa.guix.gnu.org/build-server/2/build?build_server_build_id=00818a34-5efe-4a73-8ca2-3e095885c7ee
and node, python-simplejson and python-numpy on armhf:
https://data.qa.guix.gnu.org/build-server/2/build?build_server_build_id=34851d8f-41c9-4a8b-9150-3071e1a6d9f7
Andreas
- [bug#61586] BinaryEn,
Andreas Enge <=