From b2f5a9dd67352e035121c70cfdb34cd440c42e98 Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Thu, 12 Sep 2024 11:05:57 -0400 Subject: [PATCH] gnu: Add embree-3. Fixes . Followup to commit 31a55a652f8e4856fd66b47377e214b7d20b4f61 which updated embree; libigl needs an older version. * gnu/packages/engineering.scm (embree-3): New variable. * gnu/packages/engineering.scm (libigl)[inputs]: Replace embree with embree-3 Change-Id: I8c1f038b918c8f4411fec7f53703945df6e6008a --- gnu/packages/engineering.scm | 2 +- gnu/packages/graphics.scm | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 26f47dbf9d..db35c2532c 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -3845,7 +3845,7 @@ (define (fix-external-library cmake source) `(("boost" ,boost) ("cgal" ,cgal) ("eigen" ,eigen) - ("embree" ,embree) + ("embree" ,embree-3) ("glfw" ,glfw-3.4) ("gmp" ,gmp) ("mesa" ,mesa) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index e68587658a..3d03802245 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -475,6 +475,21 @@ (define-public embree applications.") (license license:asl2.0))) +(define-public embree-3 + (package + (inherit embree) + (name "embree") + (version "3.3.15") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/embree/embree") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kcvz7g6j56anv9zjyd3gidxl46vipw0gg82lns12m45cd43iwxm")))))) + (define-public openvdb (package (name "openvdb")