summaryrefslogtreecommitdiff
path: root/packages/komodo/antara-gaming-sdk.scm
diff options
context:
space:
mode:
Diffstat (limited to 'packages/komodo/antara-gaming-sdk.scm')
-rw-r--r--packages/komodo/antara-gaming-sdk.scm13
1 files changed, 11 insertions, 2 deletions
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")))