From patchwork Sun Dec 8 03:48:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: James Smith X-Patchwork-Id: 34650 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4686127BBE2; Sun, 8 Dec 2024 03:50:42 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DF64627BBEA for ; Sun, 8 Dec 2024 03:50:38 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tK8J2-00022c-Pi; Sat, 07 Dec 2024 22:50:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tK8J0-00021I-Hv for guix-patches@gnu.org; Sat, 07 Dec 2024 22:50:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tK8J0-0003p2-7Q for guix-patches@gnu.org; Sat, 07 Dec 2024 22:50:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=M4FevOwKQiql5TYwodtONIvySzQjjvJk76pjlF7PRrE=; b=Sf0GpcaNGTsiIYeg0IY8VmDcNL5cAuo7JiHNMcWV5J7DaL/1AUL6+ZiI5xO0VckCbEDsTCRgI6IuNsWAf8tXkPM8R+fgFkNzK81stIRSfX1p7zWhGqo2MsQ3kQNoA278+Xr0TFq5KbDRgWnwRWw3eR1rFwpJ+S721Qghe5gzzPhkSKhHbBiFOfLovLEJBlqW2KFmUWj2qLNeYBvP2wvx+KtRMbyXD9LnWF50NZkdTW9SvX+3Wcm7BQKph84bFhzOvaubx7VK3+0mddvV2kdjBiCYCEJxKvJDxk2nn55FpOyfA6o2VQ+cyjXMRQLlL7U5lUjL7K7caiZxDFLPi34ypw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tK8J0-0006NO-1X for guix-patches@gnu.org; Sat, 07 Dec 2024 22:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73287] [PATCH v4 1/3] gnu: Add embree-2. References: In-Reply-To: Resent-From: James Smith Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Dec 2024 03:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73287 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73287@debbugs.gnu.org Cc: James Smith Received: via spool by 73287-submit@debbugs.gnu.org id=B73287.173362975224412 (code B ref 73287); Sun, 08 Dec 2024 03:50:01 +0000 Received: (at 73287) by debbugs.gnu.org; 8 Dec 2024 03:49:12 +0000 Received: from localhost ([127.0.0.1]:49212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tK8I9-0006LR-L5 for submit@debbugs.gnu.org; Sat, 07 Dec 2024 22:49:12 -0500 Received: from layka.disroot.org ([178.21.23.139]:41086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tK8I6-0006LD-7h for 73287@debbugs.gnu.org; Sat, 07 Dec 2024 22:49:08 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A184925185; Sun, 8 Dec 2024 04:49:04 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id pbMgzkzcRhD8; Sun, 8 Dec 2024 04:49:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1733629740; bh=TbTzgbrpcKLzd2UFUTkjt4vG2hu4R12veTsjglBYJDY=; h=From:To:Cc:Subject:Date; b=CydH2y1zJb8jyNAKsC1IEcliEeJG4onsY+k2td1No8zJYQhFHKLr83VZA+K1nFaoO ptizQuqDsjbKi4ieh7Btv4cUDongulYxWqTvghVP487zSYqfxOeQmtfIxdxQXdkNlu ODMJ97KKjv5KBFhd6eoLCSKvG1YyTc05Il1upGRawQxDrku5K8cV87oisRGByx7OiM JF0UypuEen2UCYmFP01MXnFZhhwP7W48QiUlS2Xt8U2UDuDKwYD7yCPyj7Xtca80fv 8HtIdlA8FCXc7Pa4upb2BslYM8jr4R/4VlNDaCuIusAYRRyNKjFiclPyyHVldV1W7c kRivFHEAMErQg== Date: Sat, 7 Dec 2024 20:48:30 -0700 Message-ID: <1358ec328b7c9a2452e2dd139d8cf203a83d6184.1733629326.git.jsubuntuxp@disroot.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: James Smith X-ACL-Warn: , James Smith via Guix-patches X-Patchwork-Original-From: James Smith via Guix-patches via From: James Smith Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/graphics.scm: (embree-2): New variable. Change-Id: I2b2143b4d93c402ba940d408280ef1b37ab552ea --- gnu/packages/graphics.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) base-commit: bc630c5ebed27edd821ec363706f8b9cf1ee05cc diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index f33e9d3fcb..b1df26bca5 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -38,6 +38,7 @@ ;;; Copyright © 2023 Eric Bavier ;;; Copyright © 2023, 2024 Artyom V. Poptsov ;;; Copyright © 2024 Ivan Vilata-i-Balaguer +;;; Copyright © 2024 James Smith ;;; ;;; This file is part of GNU Guix. ;;; @@ -491,6 +492,30 @@ (define-public embree-3 (base32 "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 (package (name "openvdb")