mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add embree-2.
* gnu/packages/graphics.scm: (embree-2): New variable. Change-Id: I2b2143b4d93c402ba940d408280ef1b37ab552ea Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
97c465b0f6
commit
6863b689eb
1 changed files with 25 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
||||||
;;; Copyright © 2023 Eric Bavier <bavier@posteo.net>
|
;;; Copyright © 2023 Eric Bavier <bavier@posteo.net>
|
||||||
;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
||||||
;;; Copyright © 2024 Ivan Vilata-i-Balaguer <ivan@selidor.net>
|
;;; Copyright © 2024 Ivan Vilata-i-Balaguer <ivan@selidor.net>
|
||||||
|
;;; Copyright © 2024 James Smith <jsubuntuxp@disroot.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -492,6 +493,30 @@ applications.")
|
||||||
(base32
|
(base32
|
||||||
"1kcvz7g6j56anv9zjyd3gidxl46vipw0gg82lns12m45cd43iwxm"))))))
|
"1kcvz7g6j56anv9zjyd3gidxl46vipw0gg82lns12m45cd43iwxm"))))))
|
||||||
|
|
||||||
|
(define-public embree-2
|
||||||
|
(package/inherit embree
|
||||||
|
(version "2.17.7")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference (url "https://github.com/RenderKit/embree")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name (package-name embree) version))
|
||||||
|
(sha256
|
||||||
|
(base32 "19v60zdfix33c772x6dzmhsarhafsns8qy7c2ysqr7a9j16whgql"))))
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments embree)
|
||||||
|
((#:configure-flags configure-flags)
|
||||||
|
#~(append (list "-DEMBREE_MAX_ISA=NONE" "-DEMBREE_TUTORIALS=OFF")
|
||||||
|
#$configure-flags))))
|
||||||
|
(inputs (modify-inputs (package-inputs embree)
|
||||||
|
(replace "tbb" tbb-2020)))
|
||||||
|
;; Embree requires SSE2 support, so build only for x86-based architectures.
|
||||||
|
(supported-systems (list "i686-linux" "x86_64-linux"))
|
||||||
|
(description (string-append (package-description embree) "
|
||||||
|
|
||||||
|
Please note that this version requires a processor with SSE2 support."))))
|
||||||
|
|
||||||
(define-public openvdb
|
(define-public openvdb
|
||||||
(package
|
(package
|
||||||
(name "openvdb")
|
(name "openvdb")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue