From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WAUsHKoFDWSNHwAASxT56A (envelope-from ) for ; Sat, 11 Mar 2023 23:50:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8JIzHKoFDWRsrwAA9RJhRA (envelope-from ) for ; Sat, 11 Mar 2023 23:50:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 324521D1C6 for ; Sat, 11 Mar 2023 23:50:18 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678575018; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=ehRikyPXQY9MAMvgEbCy8oEzBuQ5Tb0eQm4ilZ947+M=; b=GL/AGPoqRjvs4s3KZ7RRMY5lbg+LpvMXJTH4k8c9MXg9nlfZyLipDKUfh2HxjTo2KqPII8 DSWCAVag0rZ088hL0WFrNIC2pNKuojm+6z/EzJTR+pooJrlEsoZDSOxij/1tY1w5PLc1NJ 5yAxKUcXgHjsKltZUvOF+XnTiIeyBq5P+q5ihQJlBW02mqVNj3qCF1Nh6gr1JOO5d7JatM fNs4LqH6XGSFADWRv94T7uYXIFGQgVcyltvAWU1/93gfu/De3yjTDpM7rgDtydCQi9hchh gVcGFOkEVtUmHiwMFic922Wam872VDl20Wgseu4K4b+1fceskSut6/TnyZk1iQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678575018; a=rsa-sha256; cv=none; b=sx9LIg2uVx6Wb99nCpzut8XypQkof9/RssEUIWW//IYJFha1Qfecu2IS0dT4IHzoWcSwmL HNPvMoKMo/j+qINr4Yt+lQohHHNgSYdprcX6gV18PFT8PrDY4sWcTbMg+f72DFLYTN7ScK Ax3nu9qmwjXPSb4FQ4cVGNjLu4CDiG0x12+ER/Bn8FAoY64LUY1nYV1MD0XHxWLZo6A5E6 dDBrhIX0VatfPuZS47aYnZ6D2GVS+GgiAfK+r4BonSaKY5E3HK1ppPIysbdsYguyN/u6oN sK0hBsSXuQM98e+xsYdtgE47FfPcmEku7NFsfR/KghGPJRwCcI8QGNj3armfTA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pb82P-0007sw-Qo; Sat, 11 Mar 2023 17:50:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pb82N-0007sJ-86 for guix-patches@gnu.org; Sat, 11 Mar 2023 17:50:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pb82M-00083W-UM for guix-patches@gnu.org; Sat, 11 Mar 2023 17:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pb82M-0002kj-Au for guix-patches@gnu.org; Sat, 11 Mar 2023 17:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61586] BinaryEn References: <2cc4a1091e54c0fec082de4ce2789dfc42470e54.camel@gmail.com> In-Reply-To: <2cc4a1091e54c0fec082de4ce2789dfc42470e54.camel@gmail.com> Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Mar 2023 22:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61586 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61586@debbugs.gnu.org Received: via spool by 61586-submit@debbugs.gnu.org id=B61586.167857495010510 (code B ref 61586); Sat, 11 Mar 2023 22:50:02 +0000 Received: (at 61586) by debbugs.gnu.org; 11 Mar 2023 22:49:10 +0000 Received: from localhost ([127.0.0.1]:58786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pb81V-0002jR-Hk for submit@debbugs.gnu.org; Sat, 11 Mar 2023 17:49:09 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:35610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pb81T-0002j0-OE for 61586@debbugs.gnu.org; Sat, 11 Mar 2023 17:49:08 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 52CBD1B34; Sat, 11 Mar 2023 23:49:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KzwhauW_wihN; Sat, 11 Mar 2023 23:49:00 +0100 (CET) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 8A9E62EA; Sat, 11 Mar 2023 23:49:00 +0100 (CET) Date: Sat, 11 Mar 2023 23:48:59 +0100 From: Andreas Enge Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 324521D1C6 X-Spam-Score: -4.60 X-Migadu-Spam-Score: -4.60 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: JzHfwcj2PLq9 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