diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-03-21 15:56:11 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-03-21 15:56:11 +0100 |
commit | a2ed86f4f0a73712e88a2dee30ef8fa13b4520bf (patch) | |
tree | a1a176768cb8493588c525de115574209fb415ae /packages/komodo | |
parent | 223f38845e879189e055173a098ef9f0568dbc32 (diff) |
antara-gaming-sdk: enforce clang toolchain
Diffstat (limited to 'packages/komodo')
-rw-r--r-- | packages/komodo/antara-gaming-sdk.scm | 13 |
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"))) |