From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WCSmLUHWfmTUZAEASxT56A (envelope-from ) for ; Tue, 06 Jun 2023 08:46:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OHegLUHWfmQ2/AAA9RJhRA (envelope-from ) for ; Tue, 06 Jun 2023 08:46:25 +0200 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 80C6DEBA8 for ; Tue, 6 Jun 2023 08:46:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6QSC-00020w-W2; Tue, 06 Jun 2023 02:46:05 -0400 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 1q6QSA-00020m-5R for guix-patches@gnu.org; Tue, 06 Jun 2023 02:46:02 -0400 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 1q6QS9-0002Dc-Sa for guix-patches@gnu.org; Tue, 06 Jun 2023 02:46:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6QS9-0002KY-O2 for guix-patches@gnu.org; Tue, 06 Jun 2023 02:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63889] [PATCH v4] gnu: add ruy References: In-Reply-To: Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Jun 2023 06:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63889 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63889@debbugs.gnu.org Cc: Andy Tai Received: via spool by 63889-submit@debbugs.gnu.org id=B63889.16860339368919 (code B ref 63889); Tue, 06 Jun 2023 06:46:01 +0000 Received: (at 63889) by debbugs.gnu.org; 6 Jun 2023 06:45:36 +0000 Received: from localhost ([127.0.0.1]:50773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6QRa-0002Ja-V7 for submit@debbugs.gnu.org; Tue, 06 Jun 2023 02:45:36 -0400 Received: from mail-pf1-f182.google.com ([209.85.210.182]:49344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6QRV-0002JI-MD for 63889@debbugs.gnu.org; Tue, 06 Jun 2023 02:45:25 -0400 Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6549df4321aso3176409b3a.2 for <63889@debbugs.gnu.org>; Mon, 05 Jun 2023 23:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686033915; x=1688625915; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=BeQi/mlh6Z9o0n5mFpew4XfTCX5xtFZ62fGNW95j7xM=; b=hOYdJirWu66YtKxsfFN+bBLgpbdxCjK8ZfIMhGdWvWLlULiZZCI3WjQzVolMbjCHwR Hf6w5IZ7B/fkM1mge1OnvE8kjOrtmhhhS5EenWgCG9k3CDi9Uncc6xNZM9zkdORl0tj3 6TaIjtlkuJZtgLnJb/AABFpZJlkrvuVU/iWVxOIzNmBwVZVMxHMJZg5rvc32j7FnMYBB wMrBk8xW73PvBIKKp9zGuRGWUutprLASIvyF5HcEpU7LKkmPBGN9pQRiKYdFKcpmN36c TyBcLQQXRwjeZCrVyt39NVnGF5N7VRd8xLh36Luz98bl4rUobsNGvuK5O7KDRJHMxFso pSlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686033915; x=1688625915; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BeQi/mlh6Z9o0n5mFpew4XfTCX5xtFZ62fGNW95j7xM=; b=WNxccHNiVN3E3nIjaqsmQtebegNEmSpw8umtoG4TYfpUAgIFjrduzgtQAM98nObIwH 93qkflsqFFb0IbkHCrW+ESXvPCysO6C9ZOKJh26tLInELkocltfhAolU9Na5fK+8aEzR O0asnC6krhvAjSmr+rbYTxqK4VYzEtf8rkE3+FA/oK4nWAjG3Dd/Q5H74j9fYumfGW+E 5YnVZ+pA/u1nI0LUKpz/ddX16W0I9mTXONbdbRAAdeBAahiwRy2AmVkOceh4TvscKOMX f+bElCBxlh1QEmSF16WDPvTs/WhD1DReOQx76NDyeCQxOPbKAocY0ulAiEk+D4W/u27H 4S+w== X-Gm-Message-State: AC+VfDxzY1AZpQsATsYbQTCvuxLTDlmxfE5BYRsW6hJ1z7AtksONVhms lrz1gx+bHL6YRIcwXc+SX/HMGIZrnp4= X-Google-Smtp-Source: ACHHUZ7Q+cJtJa3X9BXpfSdu5iQpVxBbZoygezSi/W9fAgav4ozLIkJ8uHlts+otSldqal6V6RLfRg== X-Received: by 2002:a05:6a00:17a6:b0:656:699b:200c with SMTP id s38-20020a056a0017a600b00656699b200cmr1458064pfg.33.1686033915477; Mon, 05 Jun 2023 23:45:15 -0700 (PDT) Received: from localhost.localdomain ([98.37.226.98]) by smtp.googlemail.com with ESMTPSA id m26-20020aa78a1a000000b0065ccd867923sm2244024pfa.12.2023.06.05.23.45.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jun 2023 23:45:14 -0700 (PDT) From: Andy Tai Date: Mon, 5 Jun 2023 23:45:11 -0700 Message-Id: <82ddb05cd10ccf35e2b4338ebfc0ac2d1d5417ac.1686033863.git.atai@atai.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686033985; a=rsa-sha256; cv=none; b=bd73hDgzquhF7ltzvPGOBXvTJuf39d9dFm3u3VR3c8DFWstiFfvZavuUFx1otMjwxNT0in wxZvLNXASw/Kt1XoaEkZfr7FwgZ6nSXc1Z2uASz913CtgCVzSdD90tb5QuVnddNljKs2Ai 4i1PRoNQ0BZ+rTux/ak0jXQWS/h5JmjhD5WE48ok4dCIpitFJjBld7VykL+iu8AYp+0mM5 2a7HvsKByjlQjvTsHyetA1TbyaRLuff6q65ltis+I6+mgKvhlH8VNVr8Ur2rJnHNxthV7P Dudw7PKYlBma+GdPmLTKoqAkIXpqCIUq3QKIKI52ApoMpZrk92y45o/W2VSLyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=hOYdJirW; 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=1686033985; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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:dkim-signature; bh=BeQi/mlh6Z9o0n5mFpew4XfTCX5xtFZ62fGNW95j7xM=; b=h43fBbRMu0e7h/ZhAylXu9sgdVpeOga/1SUPJVW+E1bgduolXPLG/VL5cwL3pPUkHCzr53 fuwVD5ae6dvIXdxMFEp+OWVBNHu85E9/1llunGepAxygD1lku14OCfJ9upEmyWAtekpRGt zPA0MPfHMSEmhR0md/xMUJfbojh3QDkfiEqlLs1COtT61fBspiWOay6WwGP944vJU5dVY8 9lMI/SnF5w+Y1Xc4GKnBbFXkbwhu/FoPs3HZUE6OVT+LqfyGAix20tK1txGXNF0rK4uQxJ eJd8cR3NSi6YDR2SveoApgMMoG3iCUFDqaN7Ypv4gSeCoVKnHeYmpmMwtVccIQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=hOYdJirW; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.49 X-Spam-Score: -1.49 X-Migadu-Queue-Id: 80C6DEBA8 X-TUID: YPPZDHVrAysG * gnu/packages/maths.scm (ruy): New variable --- gnu/packages/maths.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 4e34124469..7904d9e8e3 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -8501,3 +8501,37 @@ (define-public scilab optimization, and modeling, simulation of explicit and implicit dynamical systems and symbolic manipulations.") (license license:cecill))) ;CeCILL v2.1 + + +(define-public ruy + (let ((commit "caa244343de289f913c505100e6a463d46c174de") + (version "0") + (revision "1")) + (package + (name "ruy") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/ruy") + (commit commit) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0z9q2czk9im88zp8d9spiyx3y9l86rgqj0q0xxqq7vfg9ncypay2")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DRUY_FIND_CPUINFO=ON" + ;; needs to make sure code is relocatable for + ;; use in tensorflow + "-DCMAKE_CXX_FLAGS=-fPIC "))) + (inputs (list cpuinfo googletest)) + (home-page "https://github.com/google/ruy") + (synopsis "Matrix multiplication library") + (description + "Ruy is a matrix multiplication library. Its focus is to cover the matrix +multiplication needs of neural network inference engines. Its initial user has +been TensorFlow Lite, where it is used by default on the ARM CPU architecture.") + (license license:asl2.0)))) + base-commit: 8937898af9433c0b7a8d95a78c95e21576ae22e8 -- 2.40.1