From patchwork Sat Sep 21 00:38:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: James Smith X-Patchwork-Id: 68214 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 928B027BBE9; Sat, 21 Sep 2024 01:40:00 +0100 (BST) 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_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 D720127BBE2 for ; Sat, 21 Sep 2024 01:39:58 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sroA4-0007vU-Kl; Fri, 20 Sep 2024 20:39:44 -0400 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 1sroA3-0007v7-1L for guix-patches@gnu.org; Fri, 20 Sep 2024 20:39:43 -0400 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 1sroA2-0006wv-OJ for guix-patches@gnu.org; Fri, 20 Sep 2024 20:39:42 -0400 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=SABY/HSbC/DSWL//bZN8kp4/2C4fgx0yLK8gKUijdz4=; b=u5BduadKfj2AW7FT8Om0UGHcuvHFPNH1d/HYLVxeTswDltE51Wlt7nx8jcK+v9RXzRIf6jFcKqPRHOAg/lUAoeJncad0WyfbBOsbaEi38QuMY5TPpW2cd9gcWbIxWAzF3m0Kye5USyydj5R9kT1FJ4r7anKjMxXr5z7a9GimXabmvnX5+rz2gsFDbUTiM7eRJktJ+CtT4RtxOzfZzh742bVuk8A3GEP0NgCAkT78YIMIc0w7B3zmVtrbGjlQisBOpLZXlrQSIBYC/vi49lDbFovsKLCtlQeKRaaMAUBsXqyNmFHLVqMmFt8BTbhdzQjPB06FYg612hSqTrT/EcBsTw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sroAM-0007W8-6x for guix-patches@gnu.org; Fri, 20 Sep 2024 20:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73287] [PATCH v2 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: Sat, 21 Sep 2024 00:40:02 +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.172687915728791 (code B ref 73287); Sat, 21 Sep 2024 00:40:02 +0000 Received: (at 73287) by debbugs.gnu.org; 21 Sep 2024 00:39:17 +0000 Received: from localhost ([127.0.0.1]:36784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sro9c-0007UJ-F0 for submit@debbugs.gnu.org; Fri, 20 Sep 2024 20:39:17 -0400 Received: from layka.disroot.org ([178.21.23.139]:33366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sro9Z-0007U6-Sg for 73287@debbugs.gnu.org; Fri, 20 Sep 2024 20:39:14 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id CDB6523E04; Sat, 21 Sep 2024 02:38:53 +0200 (CEST) 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 LOLQd6BXU_B3; Sat, 21 Sep 2024 02:38:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1726879133; bh=oLxfwG0bZCoCErq6IHFE5MI+Mfozby/j62V0TFJxyZ0=; h=From:To:Cc:Subject:Date; b=RQZlrYbU9RV88T2FlLFjh+OnhU8eTj/SkpMGGfpqAfVZ6n1Y4tMRfLtk3UNvCsNWl uhlrSilhyNfVHpo93X9oCdWg8gt6N4brKnIoO4Bc8HyBCkyNt6peQ37oTBvoaObW/9 4ketWNzoZQjJoMCNyK7Hem/LSyUlggrAN9YznSvnwyQLEXGpDvK1PFhFZQoVdr9Nq/ R5jfMrCfdgRVlhdTrn8qWvCmYFJVO6UAcXrGD04xL5FnK/BSQW5HPMlxJjElO0QhN7 Ooh8nkx1jhV7WcZFLh+ShodyrpOSHjolg68F2Zh/gDEPfNxXfToKu34hgItR46tjoL OJ98Ck7/gQg1w== Date: Fri, 20 Sep 2024 17:38:34 -0700 Message-ID: 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 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) base-commit: e9d903f146865db5948abd271a5c7e763681b4e9 diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index edaa905c7a..171cbce24d 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -37,6 +37,7 @@ ;;; Copyright © 2023 David Thompson ;;; Copyright © 2023 Eric Bavier ;;; Copyright © 2023, 2024 Artyom V. Poptsov +;;; Copyright © 2024 James Smith ;;; ;;; This file is part of GNU Guix. ;;; @@ -490,6 +491,27 @@ (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")))) + (define-public openvdb (package (name "openvdb")