From patchwork Wed Aug 10 07:19:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel van der Boom X-Patchwork-Id: 41473 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 D934D27BBEA; Wed, 10 Aug 2022 08:22:15 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 A2F8227BBE9 for ; Wed, 10 Aug 2022 08:22:15 +0100 (BST) Received: from localhost ([::1]:49906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLg2g-0001B5-Rf for patchwork@mira.cbaines.net; Wed, 10 Aug 2022 03:22:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLg2U-0001At-HJ for guix-patches@gnu.org; Wed, 10 Aug 2022 03:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56117) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLg2U-0000Zg-87 for guix-patches@gnu.org; Wed, 10 Aug 2022 03:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLg2U-0005oQ-3f for guix-patches@gnu.org; Wed, 10 Aug 2022 03:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56884] [PATCH] Make x265 build on ppc64le References: In-Reply-To: Resent-From: Marcel van der Boom Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Aug 2022 07:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56884 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56884@debbugs.gnu.org Cc: Marcel van der Boom , Thiago Jung Bauermann Received: via spool by 56884-submit@debbugs.gnu.org id=B56884.166011609622308 (code B ref 56884); Wed, 10 Aug 2022 07:22:02 +0000 Received: (at 56884) by debbugs.gnu.org; 10 Aug 2022 07:21:36 +0000 Received: from localhost ([127.0.0.1]:45866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLg23-0005nk-Nf for submit@debbugs.gnu.org; Wed, 10 Aug 2022 03:21:35 -0400 Received: from read.hsdev.com ([209.250.245.235]:56552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLg22-0005nX-3u for 56884@debbugs.gnu.org; Wed, 10 Aug 2022 03:21:34 -0400 Received: from hsdev.com (hawking.hsdev.com [213.125.12.142]) by read.hsdev.com (Postfix) with ESMTPA id B6D7421962; Wed, 10 Aug 2022 09:21:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hsdev.com; s=201906; t=1660116087; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=iOevWpuS3UkWxRdi1esrzxABP1vld7YL5grhYbXHwnE=; b=mxGCU+sjfbvmwmhIyFg2Vmsy+CmL2eQSzu2SYR+kQlVwoceU8S6OYsTIc/ctWq9LiRfxj6 igq+rUEf60i87Dtr6mOg3F62+aWB8Wkq19LvvqlLV1X222NBtkqylilPMQfNONhBN4n7zY tPeSbbzeZ+xIfuzjjMLiT90t54mR6bs= Received: by hsdev.com (Postfix, from userid 1000) id 6E2E636A2A21; Wed, 10 Aug 2022 09:21:27 +0200 (CEST) From: Marcel van der Boom Date: Wed, 10 Aug 2022 09:19:02 +0200 Message-Id: <097e5d484b14e0777f26bfd5c34b76189b828b8c.1660115870.git.marcel@van-der-boom.nl> X-Mailer: git-send-email 2.37.1 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/video.scm: disable ALTIVEC for target-ppc64le Build produces many errors. The altivec code needs adjusting each type of POWER processor specifically. --- gnu/packages/video.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 04049fd9c8..bf033c7d84 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1252,6 +1252,10 @@ (define-public x265 ,@(if (target-aarch64?) '("-DENABLE_ASSEMBLY=OFF") '()) + ;; Altivec code produces many build errors + ,@(if (target-ppc64le?) + '("-DENABLE_ALTIVEC=OFF") + '()) "-DHIGH_BIT_DEPTH=ON" "-DEXPORT_C_API=OFF" "-DENABLE_CLI=OFF" @@ -1272,6 +1276,10 @@ (define-public x265 ,@(if (target-aarch64?) '("-DENABLE_ASSEMBLY=OFF") '()) + ;; Altivec code produces many build errors + ,@(if (target-ppc64le?) + '("-DENABLE_ALTIVEC=OFF") + '()) "-DHIGH_BIT_DEPTH=ON" "-DEXPORT_C_API=OFF" "-DENABLE_CLI=OFF"