From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id Oo0jECXOnmDqewEAgWs5BA (envelope-from ) for ; Fri, 14 May 2021 21:23:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MMQZCyXOnmDfSwAAbx9fmQ (envelope-from ) for ; Fri, 14 May 2021 19:23:17 +0000 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 97108263A5 for ; Fri, 14 May 2021 21:23:16 +0200 (CEST) Received: from localhost ([::1]:44312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhcfA-0001Hy-Uu for larch@yhetil.org; Fri, 14 May 2021 14:35:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhcdO-0006TR-KD for guix-patches@gnu.org; Fri, 14 May 2021 14:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35498) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhcdO-0004st-C9 for guix-patches@gnu.org; Fri, 14 May 2021 14:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhcdO-00085k-9n for guix-patches@gnu.org; Fri, 14 May 2021 14:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48423] [PATCH 0/1] gnu: Add onednn. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 May 2021 18:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48423 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48423@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162101718831034 (code B ref -1); Fri, 14 May 2021 18:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 May 2021 18:33:08 +0000 Received: from localhost ([127.0.0.1]:47044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhccT-00084R-TF for submit@debbugs.gnu.org; Fri, 14 May 2021 14:33:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:38880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhccM-00083w-UE for submit@debbugs.gnu.org; Fri, 14 May 2021 14:32:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhccK-0004rc-Nj for guix-patches@gnu.org; Fri, 14 May 2021 14:32:57 -0400 Received: from mout01.posteo.de ([185.67.36.65]:36665) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhccG-0004EU-Ok for guix-patches@gnu.org; Fri, 14 May 2021 14:32:55 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 67BE8240027 for ; Fri, 14 May 2021 20:32:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1621017167; bh=cvfIzd6Nhz9UxE0jmrSxzGbz8AISUXIwEH+R4Jhib6I=; h=From:To:Cc:Subject:Date:From; b=YsfwZ+T+hGn43hRKav70cRh0CwYHL7tsmOYA7U+9i0NyC0LedgKvwyIjYYAm+AJpY Gi//FEAc4PpJ/UF/ikoZeJ+WIG8NnojU920F6KvCqVYbyB4NjwKJwYtkVyvAuV4GJG +cBzZ+J0/JlpQb+iqSgl8BjcvGYKEchy0fJAasBcr9IzWAP/24SQebGKb6FzwzbA3d WtAydINYFbZ454qRywLlolwnjwj07pw3Fd+akK3Oc3oxM2VZBLf3SpFLkZeKU9t8Wk hXFnNRXOZEowlbopL/WmhH2wQpLi3U/5c0fBorVMk1Q0v0JgexQ47LyG6Isd/mdwaq smt6OvYc+82pg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fhcb15fpHz6tmD; Fri, 14 May 2021 20:32:45 +0200 (CEST) From: Vinicius Monego Date: Fri, 14 May 2021 18:31:26 +0000 Message-Id: <20210514183126.629672-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621020196; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=N5RgrxazYMxNtx+wtOWdR1kY1y42KIaXjAzXZUtRGYo=; b=SuzWprfFRUcZVMsTe9Wq4bnNZtdy6REsy0Ld/uDNTaX5+7nAEbF8s66PwQbtKQY6YbbnRm 6MLKCLPdaPa5Mxqs5B6wz308U4iiv7/mrbdBREHZSLVKRfpNT7I2U5LqRFZFqb5IFI15Tc vKwiseFHutNVxe2wnZangyb1S5PV7lQzlj+XTD40A+ugpMc8sUO+W9YGnQ9A19+weWVC0Y YJIzx3SKGESuPQObfWAEU0pTyoznYALtxEewjytf2ZC/1iocSah8cdygT1Wks63iZFGxy5 qwnrBvLI2k2Z0gt6lCy2svhJGz6cNZ85QfZbZtIeH1R0dDOSn8uL/KRfmZNMbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621020196; a=rsa-sha256; cv=none; b=EaRaFTUSL3r8iWuLESHR0DfNCZbOWM//uAwKGCF0eoxoz3ha5one0eCWv2wjb16SPLwTcX j/miIXmXLEIl1ypOUyeici+v5eMAvsAZNhj47fwPdH5QaM8jtc+vttRji5Hpeiu3t7WYtt JJqOHr6Yg7ATxjWFXfoMTmr8zDu60AHGCMccYCmAwyCavmUHnR7nKO58GmO7muYe3OXlfg 3IJudd+Yvf4qxWilKZj1wHmfTiyWiHtqlTEMaSJSQzx7a3F+zyvIZ0Mt8FI7LNEpcbH4mp hdtJ2I+lm84tTxV0tOHYv5FAItdEcXlEDgstFOFphYBvK9aVlSoG6eLquLSflA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=YsfwZ+T+; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 5.15 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=YsfwZ+T+; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 97108263A5 X-Spam-Score: 5.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: ofCqrJ83CraV oneDNN is a deep learning library used by the likes of PyTorch and MXNet. In the Nix package definition it is mentioned that tests require SSE4.2. If that's a concern for the CI then tests should be disabled. Tests also take a long time to run. oneDNN supports the POWER architecture. It could be added to the list of supported system if that makes sense now. Vinicius Monego (1): gnu: Add onednn. gnu/local.mk | 2 + gnu/packages/machine-learning.scm | 44 +++++++ .../patches/onednn-disable-gpu-tests.patch | 26 ++++ .../onednn-use-system-googletest.patch | 117 ++++++++++++++++++ 4 files changed, 189 insertions(+) create mode 100644 gnu/packages/patches/onednn-disable-gpu-tests.patch create mode 100644 gnu/packages/patches/onednn-use-system-googletest.patch -- 2.31.1