From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXuYJ-0002cC-CX for guix-patches@gnu.org; Tue, 26 Jun 2018 16:27:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXuYI-0008Jn-5a for guix-patches@gnu.org; Tue, 26 Jun 2018 16:27:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56972) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXuYI-0008Jj-0v for guix-patches@gnu.org; Tue, 26 Jun 2018 16:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fXuYH-0002F7-OO for guix-patches@gnu.org; Tue, 26 Jun 2018 16:27:01 -0400 Subject: [bug#31436] [PATCH 1/3] gnu: Add ocl-icd. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87o9fyr502.fsf@gnu.org> <87in654q79.fsf@gnu.org> Date: Tue, 26 Jun 2018 22:26:33 +0200 In-Reply-To: (Fis Trivial's message of "Tue, 26 Jun 2018 19:39:04 +0000") Message-ID: <8760252t1i.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Fis Trivial Cc: "31436@debbugs.gnu.org" <31436@debbugs.gnu.org> --=-=-= Content-Type: text/plain Fis Trivial skribis: > * gnu/packages/opencl.scm (ocl-icd): New variable. Applied with the changes below; thanks. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm index b9cca3406..3b65d7512 100644 --- a/gnu/packages/opencl.scm +++ b/gnu/packages/opencl.scm @@ -133,7 +133,10 @@ programming.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1x2dr8p4dkfds56r38av360i3nv1y3326jmshxvjngaf6mlg6rbn")))) + "1x2dr8p4dkfds56r38av360i3nv1y3326jmshxvjngaf6mlg6rbn")) + (modules '((guix build utils))) + (snippet + '(delete-file-recursively "khronos-headers")))) (native-inputs `(("opencl-headers" ,opencl-headers) ("ruby" ,ruby))) @@ -141,17 +144,16 @@ programming.") `(("libgcrypt" ,libgcrypt))) (build-system gnu-build-system) (arguments - '(#:configure-flags - '("DEBUG_OCL_ICD=1"))) + '(#:configure-flags '("DEBUG_OCL_ICD=1"))) (native-search-paths (list (search-path-specification (variable "OPENCL_VENDOR_PATH") (files '("etc/OpenCL/vendors"))))) (search-paths native-search-paths) (home-page "https://forge.imag.fr/projects/ocl-icd/") - (synopsis "OpenCL implementations are provided as ICD (Installable Client -Driver)") - (description "OpenCL implementations are provided as ICD (Installable Client -Driver). An OpenCL program can use several ICD thanks to the use of an ICD -Loader as provided by this project. This free ICD Loader can load any ICD.") - (license (list license:gpl2 license:ruby)))) + (synopsis "OpenCL loader for Installable Client Drivers (ICDs)") + (description + "OpenCL implementations are provided as ICDs (Installable Client +Drivers). An OpenCL program can use several ICDs thanks to the use of an ICD +Loader as provided by this package.") + (license license:bsd-2))) --=-=-=--