From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 26 07:12:03 2022 Received: (at 59607) by debbugs.gnu.org; 26 Nov 2022 12:12:03 +0000 Received: from localhost ([127.0.0.1]:38043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyu2M-00015e-85 for submit@debbugs.gnu.org; Sat, 26 Nov 2022 07:12:02 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:42691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyu2J-00014q-D1 for 59607@debbugs.gnu.org; Sat, 26 Nov 2022 07:12:00 -0500 Received: by mail-wr1-f68.google.com with SMTP id cl5so10192534wrb.9 for <59607@debbugs.gnu.org>; Sat, 26 Nov 2022 04:11:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:content-transfer-encoding:to:subject:date :from:from:to:cc:subject:date:message-id:reply-to; bh=I7kJJOKF69qDp6gOp0Nur1xYlsOEnMweoUAw6A+VaUs=; b=d8Oo3vqL0RnURVvGCbqhGW1K7of/VMWgZ0X8Tt9idifmHIHGeQdBlWdJaryX11wuZe I+05rHLxwHk94L+/HmenHwERdDrnAWd6SzxpvGY9rOpyE8Bf0n9MhobgD0JBkOeKnnDx oGL9OpbfaIawNpxKU0XheZlSN2Ud5HdIXDVVaEf5td1PmNaqE12Sp2AzqN+t1FUR3ZGU DrJQ71ZY4ihk9zOvuvQDUtrxYyIbD5eIKG2ZmFWTmWIpjB3fNBVANaa2OX3v/ja+wU1A CMb7YUrkbvGFMpnwm2Nu5qvNOVO56LI59PNHirwQgnomlfdh6mVBxOWirxGldKVJS437 RTSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:content-transfer-encoding:to:subject:date :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=I7kJJOKF69qDp6gOp0Nur1xYlsOEnMweoUAw6A+VaUs=; b=k3AeS39qBB4wuk60X7qm6KOrUm+mTNyhGfR8dJ6tTeTLmW9sIQ7dS7wgjGLsGyrQ6F HtwUb64iGVWtZDynLhF45rdxPFfw2x45HH8kSPeTy687EfBnmm1RKtzSBvykU5Pv+120 vKlveRpRNWJzUUgxYeYc6wbpfT+FGu/p77opgWTvnWkKiyodEscT25R/qbpIG4i6dJOw 9pPjMeNvQqWeMDd5OsfgLFgtQIQMsIY7A9n8ZFMD7gbv2ooDSRyu8A1mwYINo1Ovhlx/ Toz62pFAj3S1+ibms+FRGiPsPPc/7jfN8HT7Q8bgHI1KAQqorn2Xr7KkNimBuvQSwe/H uVlw== X-Gm-Message-State: ANoB5plaXQI0xWiBjbLjUle/mt3Aw5rI4ngzOBVk/ZnumBrv9VE/pYZM AZMVPiBMO9CBuoT5gsWaIzqnNlSZFpI= X-Google-Smtp-Source: AA0mqf4OrIjUGIzw4K1TA9VbcS5fxpi+Wc6JcvAQp+7FjHXOEz+uDt+NcRuEz1MT4hS97WN2GxOS1Q== X-Received: by 2002:a5d:684f:0:b0:242:7a2:a014 with SMTP id o15-20020a5d684f000000b0024207a2a014mr4312981wrw.228.1669464713503; Sat, 26 Nov 2022 04:11:53 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id az26-20020a05600c601a00b003d01b84e9b2sm8695059wmb.27.2022.11.26.04.11.52 for <59607@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Nov 2022 04:11:53 -0800 (PST) From: Liliana Marie Prikler Date: Sun, 20 Nov 2022 00:14:40 +0100 Subject: [PATCH 1/8] gnu: Add ncnn. to: 59607@debbugs.gnu.org Content-Transfer-Encoding: 7bit Message-ID: MIME-Version: 1.0 X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/machine-learning.scm (ncnn): New variable. --- gnu/packages/machine-learning.scm | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index fbc06f96b6..e984e3004b 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @ [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.68 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.68 listed in wl.mailspike.net] X-Debbugs-Envelope-To: 59607 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/machine-learning.scm (ncnn): New variable. --- gnu/packages/machine-learning.scm | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index fbc06f96b6..e984e3004b 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @ [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.68 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.68 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/machine-learning.scm (ncnn): New variable. --- gnu/packages/machine-learning.scm | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index fbc06f96b6..e984e3004b 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -102,6 +102,7 @@ (define-module (gnu packages machine-learning) #:use-module (gnu packages swig) #:use-module (gnu packages tls) #:use-module (gnu packages video) + #:use-module (gnu packages vulkan) #:use-module (gnu packages web) #:use-module (gnu packages xml) #:use-module (gnu packages xdisorg) @@ -749,6 +750,37 @@ (define (delete-ifdefs file) in terms of new algorithms.") (license license:gpl3+))) +(define-public ncnn + (package + (name "ncnn") + (version "20220729") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Tencent/ncnn") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "02na1crxph8m3sqb1c32v83ppxjcmaxyncql89q5mf9ggddmx5c5")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags + #~(list "-DNCNN_AVX=OFF" + "-DNCNN_BUILD_TESTS=TRUE" + "-DNCNN_SYSTEM_GLSLANG=ON" + (string-append "-DGLSLANG_TARGET_DIR=" + #$(this-package-input "glslang") + "/lib/cmake") + "-DNCNN_VULKAN=ON") + #:tests? #f)) ; XXX: half of the tests fail + (inputs (list glslang vulkan-headers vulkan-loader)) + (native-inputs (list protobuf)) + (home-page "https://github.com/Tencent/ncnn") + (synopsis "Neural network for mobile platforms") + (description "NCNN is a framework for building neural networks written in +C++. It supports parallel computing as well as GPU acceleration via Vulkan.") + (license license:bsd-3))) + (define-public onnx (package (name "onnx") -- 2.38.1