aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2023, 2024 Andy Tai <atai@atai.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages sycl)
  #:use-module (guix build-system cmake)
  #:use-module (guix git-download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (gnu packages)
  #:use-module (gnu packages boost)
  #:use-module (gnu packages llvm)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages python)
  #:use-module (gnu packages rocm)
  #:use-module (gnu packages vulkan))

;; This file adds SYCL implementation related packages. Due to the fact that
;; SYCL devices like GPU are not available during build (store environment),
;; tests that require such devices are all disabled.
;; Check https://lists.gnu.org/archive/html/guix-devel/2018-04/msg00293.html

(define-public adaptivecpp
  (package
    (name "adaptivecpp")
    (version "24.02.0")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/AdaptiveCpp/AdaptiveCpp/")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gfr0mr9shgf33bj5sfy6nv2vh7wdky333ryy2n5ikvhfvjmqc7m"))))
    (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 "Implementation of the SYCL programming language for accelerators")
    (description
     "AdaptiveCpp is aImplementation of SYCL and C++ standard parallelism
for CPUs and GPUs from all vendors, with independent, community-driven
compiler for C++-based heterogeneous programming models")
    (license license:bsd-2)))

(define-public opensycl
  (deprecated-package "opensycl" adaptivecpp))
Milosavljevic 2024-07-30gnu: yambar-wayland: Enable pulseaudio module....Ashish SHUKLA 2024-07-26gnu: labwc: Update to 0.7.4....Ahmad Draidi 2024-07-25gnu: mako: Update to 1.9.0....Ashish SHUKLA 2024-07-07gnu: Add wf-config....Wamm K. D 2024-06-29gnu: stumpwm: Use a single output....Guillaume Le Vaillant 2024-06-29gnu: Upgrade to Stackage 20.26....Lars-Dominik Braun 2024-06-22gnu: icewm: Update to 3.5.1....Andy Tai 2024-06-22gnu: waybar: Update to 0.10.3....Simeon Prause 2024-06-22gnu: Add wbg....dan 2024-06-13gnu: kanshi: Update to 1.6.0....Wilko Meyer 2024-06-10gnu: labwc: Update to 0.7.2....Ahmad Draidi 2024-05-31gnu: icewm: Update to 3.5.0...Andy Tai 2024-05-22gnu: yambar-wayland: Update to 1.11.0....dan 2024-05-22gnu: fnott: Update to 1.6.0....dan 2024-05-21gnu: labwc: Build with librsvg-for-system....Efraim Flashner 2024-05-09gnu: Add sbcl-stumpwm-binwarp....bigbug 2024-05-06gnu: waybar: Update to 0.10.2....Picnoir 2024-04-24gnu: Add wsbg....James Smith via Guix-patches via 2024-04-20gnu: Add wl-mirror....Julian Flake 2024-04-15gnu: Add sandbar....Erik Eduardo 2024-04-05gnu: labwc: Update to 0.7.1....Ahmad Draidi 2024-04-05gnu: wm: Update swayfx to 0.3.2....Daniel Ziltener 2024-04-02gnu: icewm: Update to 3.4.7....Andy Tai 2024-03-30gnu: waybar: Update to 0.10.0....John Kehayias 2024-03-30gnu: wlr-randr: Update to 0.4.1....Timotej Lazar 2024-03-27gnu: icewm: Update to 3.4.6....Andy Tai 2024-03-26gnu: dunst: Update to 1.10.0....Efraim Flashner 2024-03-19gnu: hikari: Build against wlroots@0.15....stuebinm 2024-03-19gnu: bspwm: Fix cross-compilation....Zheng Junjie 2024-03-19gnu: bspwm: Use Gexps....Zheng Junjie 2024-03-19gnu: Add wmenu....Zheng Junjie 2024-03-18gnu: swayidle: Update to 1.8.0....Josselin Poiret 2024-03-17gnu: grimshot: Fix build....Hilton Chain 2024-03-12gnu: cagebreak: Update to 2.3.1....宋文武 2024-03-09gnu: sway: Update package style....Hilton Chain 2024-03-09gnu: sway: Update to 1.9....Hilton Chain 2024-03-01gnu: cage: Fix cross-compilation....Zheng Junjie