From: "Ludovic Courtès" <ludo@gnu.org>
To: Andy Tai <atai@atai.org>
Cc: 63439-done@debbugs.gnu.org
Subject: bug#63439: [PATCH] gnu: Add opensycl
Date: Mon, 22 May 2023 16:41:23 +0200 [thread overview]
Message-ID: <87edn8xwbw.fsf_-_@gnu.org> (raw)
In-Reply-To: <aa7b6f7c94de2ff1ca00754094fbb2664e47f08a.1684386694.git.atai@atai.org> (Andy Tai's message of "Wed, 17 May 2023 22:12:13 -0700")
[-- Attachment #1: Type: text/plain, Size: 191 bytes --]
Hi,
Andy Tai <atai@atai.org> skribis:
> * gnu/packages/sycl.scm (opensycl): New variable
Applied with the changes below, some suggested by ‘guix lint’.
Thanks!
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 2286 bytes --]
diff --git a/gnu/local.mk b/gnu/local.mk
index 17b07a1102..c10fb01bb3 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -593,6 +593,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/suckless.scm \
%D%/packages/sugar.scm \
%D%/packages/swig.scm \
+ %D%/packages/sycl.scm \
%D%/packages/sync.scm \
%D%/packages/syncthing.scm \
%D%/packages/synergy.scm \
diff --git a/gnu/packages/sycl.scm b/gnu/packages/sycl.scm
index 82fb59ec82..d8454cff35 100644
--- a/gnu/packages/sycl.scm
+++ b/gnu/packages/sycl.scm
@@ -17,11 +17,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages sycl)
- #:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
- #:use-module (guix build-system python)
- #:use-module (guix download)
- #:use-module (guix utils)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
@@ -43,18 +39,20 @@ (define-public opensycl
(name "opensycl")
(version "0.9.4")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/OpenSYCL/OpenSYCL/"
- "archive/refs/tags/v" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/OpenSYCL/OpenSYCL/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1i2i7r16k2kyjp4yrjp0ywnavr8aa6pfcrwb5xp9c4n8j4qm6qk2"))))
+ "0nynb93b68ghn1i1bsjvbbxpnh5b1yiw9jhhww1q1gi7w182x2g5"))))
(build-system cmake-build-system)
(native-inputs (list clang-15 llvm-15 python spirv-tools))
(inputs (list boost rocm-opencl-runtime spirv-headers))
(arguments `(#:tests? #f)) ; no tests
(home-page "https://github.com/OpenSYCL/OpenSYCL")
- (synopsis "Modern SYCL implementation")
+ (synopsis "Implementation of the SYCL programming language for accelerators")
(description
"Open SYCL is a modern SYCL implementation targeting CPUs and GPUs from all
major vendors that supports many use cases and approaches for implementing SYCL")
prev parent reply other threads:[~2023-05-22 14:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-11 7:35 [bug#63439] [PATCH] gnu: Add opensycl Andy Tai
2023-05-18 5:12 ` [bug#63439] [PATCH v2] " Andy Tai
2023-05-22 14:41 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87edn8xwbw.fsf_-_@gnu.org \
--to=ludo@gnu.org \
--cc=63439-done@debbugs.gnu.org \
--cc=atai@atai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).