From patchwork Tue Aug 2 12:10:14 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: 41090 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 71D0327BBEA; Tue, 2 Aug 2022 13:11:39 +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 2C44C27BBE9 for ; Tue, 2 Aug 2022 13:11:39 +0100 (BST) Received: from localhost ([::1]:44054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIqkM-0006G5-BC for patchwork@mira.cbaines.net; Tue, 02 Aug 2022 08:11:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIqjm-00065W-MN for guix-patches@gnu.org; Tue, 02 Aug 2022 08:11:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIqjm-0007YT-69 for guix-patches@gnu.org; Tue, 02 Aug 2022 08:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oIqjl-0008DJ-R5 for guix-patches@gnu.org; Tue, 02 Aug 2022 08:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56884] [PATCH] Make x265 build on ppc64le Resent-From: Marcel van der Boom Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Aug 2022 12:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56884 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56884@debbugs.gnu.org Cc: Marcel van der Boom X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165944223031514 (code B ref -1); Tue, 02 Aug 2022 12:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2022 12:10:30 +0000 Received: from localhost ([127.0.0.1]:42728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIqjG-0008CD-9J for submit@debbugs.gnu.org; Tue, 02 Aug 2022 08:10:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:59206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIqjD-0008C3-VS for submit@debbugs.gnu.org; Tue, 02 Aug 2022 08:10:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIqjD-0005uI-5f for guix-patches@gnu.org; Tue, 02 Aug 2022 08:10:27 -0400 Received: from read.hsdev.com ([2001:19f0:5001:2902:5400:1ff:feeb:c9ab]:54058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIqjA-0007GV-KQ for guix-patches@gnu.org; Tue, 02 Aug 2022 08:10:26 -0400 Received: from hsdev.com (hawking.hsdev.com [213.125.12.142]) by read.hsdev.com (Postfix) with ESMTPA id BFC2721611; Tue, 2 Aug 2022 14:10:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hsdev.com; s=201906; t=1659442221; 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=tYoA6DzC2MSk5w5nY30szX1op0GRcKPe+hR3DDU4IMg=; b=FRFONoqMBOoTUf/35+78DyGT30pCrSSwyUGgRM6D3mhYVyoRdZAh3UywQwyo6s/NncKxyM oGECcwl1wWIUcBhJOJ8yKrPql6T2ZOkrPDta6anoRytKCJflQrKZeSRjTxt2fiparcfMrG +yrP3xUfIQzIyz12J8v4ArrlTdUbwGU= Received: by hsdev.com (Postfix, from userid 1000) id AD51D36A04E8; Tue, 2 Aug 2022 14:10:21 +0200 (CEST) From: Marcel van der Boom Date: Tue, 2 Aug 2022 14:10:14 +0200 Message-Id: X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2001:19f0:5001:2902:5400:1ff:feeb:c9ab; envelope-from=mrb@hsdev.com; helo=read.hsdev.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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 --- gnu/packages/video.scm | 6 ++++++ 1 file changed, 6 insertions(+) base-commit: a1f7d98a9c7380be5815fd13b519bbab145757c2 diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 04049fd9c8..09f8b7fd23 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1252,6 +1252,9 @@ (define-public x265 ,@(if (target-aarch64?) '("-DENABLE_ASSEMBLY=OFF") '()) + ,@(if (target-ppc64le?) + '("-DENABLE_ALTIVEC=OFF") + '()) "-DHIGH_BIT_DEPTH=ON" "-DEXPORT_C_API=OFF" "-DENABLE_CLI=OFF" @@ -1272,6 +1275,9 @@ (define-public x265 ,@(if (target-aarch64?) '("-DENABLE_ASSEMBLY=OFF") '()) + ,@(if (target-ppc64le?) + '("-DENABLE_ALTIVEC=OFF") + '()) "-DHIGH_BIT_DEPTH=ON" "-DEXPORT_C_API=OFF" "-DENABLE_CLI=OFF"