[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/11: gnu: vulkan: Add vulkan-icd-loader.
From: |
Marius Bakke |
Subject: |
10/11: gnu: vulkan: Add vulkan-icd-loader. |
Date: |
Sun, 17 Dec 2017 19:26:05 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 9286e0ec81b1b2c9c90d997d0465997641bdb910
Author: Rutger Helling <address@hidden>
Date: Fri Dec 8 16:06:05 2017 +0100
gnu: vulkan: Add vulkan-icd-loader.
* gnu/packages/vulkan.scm (vulkan-icd-loader): New variable.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/vulkan.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 46 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index ca6b72c..dc81901 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -24,8 +24,11 @@
#:use-module (guix build-system cmake)
#:use-module (gnu packages)
#:use-module (gnu packages bison)
+ #:use-module (gnu packages freedesktop)
+ #:use-module (gnu packages gl)
#:use-module (gnu packages pkg-config)
- #:use-module (gnu packages python))
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages xorg))
(define-public spirv-headers
(let ((commit "98b01515724c428d0f0a5d01deffcce0f5f5e61c")
@@ -142,3 +145,45 @@ interpretation of the specifications for these languages.")
(license (list license:bsd-3
;; include/SPIRV/{bitutils,hex_float}.h are Apache 2.0.
license:asl2.0)))))
+
+(define-public vulkan-icd-loader
+ (package
+ (name "vulkan-icd-loader")
+ (version "1.0.61.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+
"https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/"
+ "archive/sdk-" version ".tar.gz"))
+ (sha256
+ (base32
+ "05g60hk30sbc4rwkh7nrgqdk6hfsi4hwxs54yrysrzr18xpfb8j7"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ;FIXME: 23/39 tests fail. Try "tests/run_all_tests.sh".
+ #:configure-flags (list (string-append "-DCMAKE_INSTALL_LIBDIR="
+ (assoc-ref %outputs "out")
"/lib"))))
+ (inputs `(("glslang" ,glslang)
+ ("libxcb" ,libxcb)
+ ("libx11" ,libx11)
+ ("libxrandr" ,libxrandr)
+ ("mesa" ,mesa)
+ ("spirv-tools" ,spirv-tools)
+ ("wayland" ,wayland)))
+ (native-inputs `(("pkg-config", pkg-config)
+ ("python" ,python)))
+ (home-page
+ "https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers")
+ (synopsis "Khronos official ICD loader and validation layers for Vulkan")
+ (description
+ "Vulkan allows multiple @dfn{Installable Client Drivers} (ICDs) each
+supporting one or more devices to be used collectively. The loader is
+responsible for discovering available Vulkan ICDs on the system and inserting
+Vulkan layer libraries, including validation layers between the application
+and the ICD.")
+ ;; This software is mainly Apache 2.0 licensed, but contains some
components
+ ;; covered by other licenses. See COPYRIGHT.txt for details.
+ (license (list license:asl2.0 ;LICENSE.txt
+ (license:x11-style "file://COPYRIGHT.txt")
+ license:bsd-3))))
- branch core-updates updated (cafc97e -> 01564e5), Marius Bakke, 2017/12/17
- 03/11: gnu: pulseaudio: Update to 11.1., Marius Bakke, 2017/12/17
- 01/11: gnu: mesa: Update to 17.2.7., Marius Bakke, 2017/12/17
- 02/11: gnu: ftgl: Add missing dependency on pkg-config., Marius Bakke, 2017/12/17
- 08/11: gnu: vulkan: Add spirv-tools., Marius Bakke, 2017/12/17
- 04/11: gnu: pulseaudio: Use 'modify-phases' syntax., Marius Bakke, 2017/12/17
- 09/11: gnu: vulkan: Add glslang., Marius Bakke, 2017/12/17
- 11/11: gnu: retroarch: Enable Vulkan support., Marius Bakke, 2017/12/17
- 05/11: gnu: librsvg: Update to 2.40.20., Marius Bakke, 2017/12/17
- 06/11: gnu: mesa: Enable Vulkan drivers for Intel and Radeon., Marius Bakke, 2017/12/17
- 10/11: gnu: vulkan: Add vulkan-icd-loader.,
Marius Bakke <=
- 07/11: gnu: vulkan: Add spirv-headers., Marius Bakke, 2017/12/17