From patchwork Fri Aug 13 14:53:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lars-Dominik Braun X-Patchwork-Id: 32106 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 760FC27BC82; Fri, 13 Aug 2021 15:54:43 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4290F27BC78 for ; Fri, 13 Aug 2021 15:54:42 +0100 (BST) Received: from localhost ([::1]:52014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEYa1-0007SQ-94 for patchwork@mira.cbaines.net; Fri, 13 Aug 2021 10:54:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEYZP-0006pA-IX for guix-patches@gnu.org; Fri, 13 Aug 2021 10:54:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mEYZO-0004PM-A7 for guix-patches@gnu.org; Fri, 13 Aug 2021 10:54:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mEYZO-0002Ye-2z for guix-patches@gnu.org; Fri, 13 Aug 2021 10:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50047] [PATCH 0/8] OpenCL updates Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Aug 2021 14:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50047 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50047@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16288664319814 (code B ref -1); Fri, 13 Aug 2021 14:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Aug 2021 14:53:51 +0000 Received: from localhost ([127.0.0.1]:42900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEYZ9-0002YA-47 for submit@debbugs.gnu.org; Fri, 13 Aug 2021 10:53:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:37786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEYZ2-0002Xu-U4 for submit@debbugs.gnu.org; Fri, 13 Aug 2021 10:53:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEYYz-0006HY-AZ for guix-patches@gnu.org; Fri, 13 Aug 2021 10:53:40 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:9264) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mEYYu-00043y-GF for guix-patches@gnu.org; Fri, 13 Aug 2021 10:53:36 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4GmRPz6js6zQk9T for ; Fri, 13 Aug 2021 16:53:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1628866405; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ft+haIUSGjJjSRQaHttYxivWPZQeZRtYhveL7GBTHQI=; b=FLDPs0RbLo/4nwJrnt7vt10w2M+CPJA/9JYxnsGie5buQvCoIBMEQS22aRm/3r4Sd64Xa/ 7b+mw2Ubvtudh3QJ1HGzEB0xvztUqo+bT17L7h98ITD4mKxatOU+xDH+2fQrskZKX5sO6B 1PqnUGWBAdIfGpEyc2BCfTqq9j8s2wBkfIRebBKSrfCmAH1SjKoZ/d29rf4G/9EyzrQGxG QXFSjbyY6RGMjjFddslPcx1I/8hKMjTd+RjqwhywuAuxIuQvjXChKdzZ6lpseWrPADYJoR wfXnHYcpwTpAUYYV7TERnOB8ZADR5mLOmyr0SzESgh28DvunRmfYVmpyoC8Vlg== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id VOaQd0NC490l for ; Fri, 13 Aug 2021 16:53:20 +0200 (CEST) Date: Fri, 13 Aug 2021 16:53:19 +0200 From: Lars-Dominik Braun Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Rspamd-Queue-Id: AEE551839 X-Rspamd-UID: 52287b Received-SPF: pass client-ip=80.241.56.172; envelope-from=lars@6xq.net; helo=mout-p-202.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, the following series updates several packages related to OpenCL. I built and tested darktable (again), as well as example programs for python-pyopencl using pocl and rocm-opencl-runtime. Cheers, Lars Lars-Dominik Braun (8): gnu: opencl-headers: Update to 2021.06.30 and switch to CMake. gnu: opencl-clhpp: Update to 2.0.15. gnu: clinfo: Update to 3.0.21.02.21 and simplify package. gnu: Add opencl-icd-loader. gnu: ocl-icd: Replace with opencl-icd-loader. gnu: Add clpeak. gnu: python-pytools: Update to 2021.2.7. gnu: python-pyopencl: Update to 2021.2.6. gnu/packages/benchmark.scm | 29 +++++++ gnu/packages/games.scm | 2 +- gnu/packages/opencl.scm | 150 +++++++++++++++---------------------- gnu/packages/photo.scm | 5 +- gnu/packages/rocm.scm | 4 +- 5 files changed, 96 insertions(+), 94 deletions(-) From 111578540c9415511639bfb9df1b8822e768237c Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 11 Aug 2021 21:35:58 +0200 Subject: [PATCH 8/8] gnu: python-pyopencl: Update to 2021.2.6. * gnu/packages/opencl.scm (python-pyopencl)[version]: Update to 2021.2.6. [source]: Point to new git repository. [#:phases]: Remove unused phases. [inputs]: Use unversioned opencl-headers. [propagated-inputs]: Remove unused inputs. --- gnu/packages/opencl.scm | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm index 70d917c11f..2d5ccf0105 100644 --- a/gnu/packages/opencl.scm +++ b/gnu/packages/opencl.scm @@ -364,44 +364,29 @@ A lexer, @code{pytools.lex}. (define-public python-pyopencl (package (name "python-pyopencl") - (version "2019.1.1") + (version "2021.2.6") (source (origin - ;; The tarball on PyPI lacks test programs such as - ;; 'pygpu_language_opencl.cpp' so fetch it from Git. - ;; XXX: The server at git.tiker.net is unreliable. (method git-fetch) (uri (git-reference - (url "http://git.tiker.net/trees/pyopencl.git") + (url "https://github.com/inducer/pyopencl.git") (commit (string-append "v" version)) (recursive? #t))) (file-name (git-file-name name version)) (sha256 (base32 - "12q0rs8yla571vcfpsh0mfrjbdiayv0hi8r1rq0f178m3i3qjz80")))) + "1s2cls7avxvf753zzpx422ikslaxdnm8rz58zg7mal15yak0wv2x")))) (build-system python-build-system) (arguments - '(#:phases (modify-phases %standard-phases - (add-before 'build 'set-home - (lambda _ - ;; Some of the Python build scripts expect 'HOME' to be - ;; set. - (setenv "HOME" (getcwd)) - #t))) - - ;; Tests in 'compyte/ndarray/setup_opencl.py' appear to rely on - ;; 'nvcc', which is not an option. - #:tests? #f)) + `(#:tests? #f)) ; Tests cannot find pygpu_language_opencl.cpp (inputs - `(("opencl-headers" ,opencl-headers-1.2) ;POCL only supports OpenCL 1.2 + `(("opencl-headers" ,opencl-headers) ("pybind11" ,pybind11) ("opencl-icd-loader" ,opencl-icd-loader))) ;libOpenCL (propagated-inputs `(("python-appdirs" ,python-appdirs) - ("python-decorator" ,python-decorator) ("python-numpy" ,python-numpy) ("python-pytools" ,python-pytools) - ("python-six" ,python-six) ("python-mako" ,python-mako))) (home-page "http://mathema.tician.de/software/pyopencl") (synopsis "Python wrapper for OpenCL") -- 2.31.1