From a2ed86f4f0a73712e88a2dee30ef8fa13b4520bf Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Thu, 21 Mar 2024 15:56:11 +0100 Subject: antara-gaming-sdk: enforce clang toolchain --- packages/komodo/antara-gaming-sdk.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'packages/komodo/antara-gaming-sdk.scm') diff --git a/packages/komodo/antara-gaming-sdk.scm b/packages/komodo/antara-gaming-sdk.scm index 6910697..b00b3a0 100644 --- a/packages/komodo/antara-gaming-sdk.scm +++ b/packages/komodo/antara-gaming-sdk.scm @@ -1,4 +1,5 @@ (define-module (antara-gaming-sdk) + #:use-module (gnu packages llvm) #:use-module (guix build-system cmake) #:use-module (guix git-download) #:use-module ((guix licenses) @@ -28,8 +29,8 @@ (method git-fetch) (hash antara-gaming-sdk-hash))) -(define-public antara-gaming-sdk - (package (name "antara-gaming-sdk") +(define antara-gaming-sdk-blueprint + (package (name "antara-gaming-sdk-blueprint") (version antara-gaming-sdk-version) (source antara-gaming-sdk-origin) (build-system cmake-build-system) @@ -37,3 +38,11 @@ (description "Komodo Gaming Software Development Kit") (license license:cc-by-sa4.0) (home-page antara-gaming-sdk-github))) + +(define antara-gaming-sdk/clang-toolchain + (package-with-c-toolchain antara-gaming-sdk-blueprint + `(("clang-toolchain" ,clang-toolchain-17)))) + +(define-public antara-gaming-sdk + (package (inherit antara-gaming-sdk/clang-toolchain) + (name "antara-gaming-sdk"))) -- cgit v1.2.3