From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iPgSCKNc82LiWAAAbAwnHQ (envelope-from ) for ; Wed, 10 Aug 2022 09:22:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SOUQCKNc82J+XQEAauVa8A (envelope-from ) for ; Wed, 10 Aug 2022 09:22:11 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A3D2BA654 for ; Wed, 10 Aug 2022 09:22:10 +0200 (CEST) Received: from localhost ([::1]:49906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLg2b-0001B5-HH for larch@yhetil.org; Wed, 10 Aug 2022 03:22:09 -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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660116130; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iOevWpuS3UkWxRdi1esrzxABP1vld7YL5grhYbXHwnE=; b=NR05i/C7nP/DSaGjdLyMotb5W8PrE3y5+aSlRk7ZKGuCJvV1pntdjtYLRxCdySQ27jhRg/ DvJB8GCO9EtZxhFy15LKuaXNhG7I405kDR3G8MedW69h9gJDOltjYMoVyk2CZ52h6rGoTx vUh5qtyLABsIErPYXElK028YGbkYqPHcs5IZsLQpnRXBhWu+BLlGYae7DAEXO8BvuciHLk QvjaGZjC/z2JAOPxgVGhAhloT7weUnNmS7bwP9whvtQRfzsXy9p5hne8c3/ml2GUa9oyMv clW45zHcibHiOJsAv1+ZSJJmHEnpA+EKfRkGiFv6Za4vXxyJueOgk44eQJ2+yw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660116130; a=rsa-sha256; cv=none; b=XQjdnC9MaiGZlxePvvwjtLAq3YSY9owxcqGmnRMdSyGNNocOhTrQX5NSYE8QUkZzrZjiTZ 7TllBtxuMq77+oTLz2cFxuYRxd8k8U3fYg0aJswkrKFD9++WZGE5QxgG5iBtK23fXLidx8 5tOEgkNjpDdaUWQrNxf948T9NsneI8PPpULdEjOeDsRV75gyrcmg5vUeBgUmOMWSfgfDpn Pf9998F0OeI0PoXqz7z2KS+0ULUYi/RgXfRBTTVu6mHtd0eUNhOmKTaxU9SPhbVg/1X9Ca ePx78XMvrhEMUxGspj1kXlpbBsb7/E6UuH/z+u6wkENIl8BqhzkSo4mDydGCwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hsdev.com header.s=201906 header.b=mxGCU+sj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=van-der-boom.nl (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hsdev.com header.s=201906 header.b=mxGCU+sj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=van-der-boom.nl (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A3D2BA654 X-Spam-Score: 6.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZFN9882Z/LIL * 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" -- 2.37.1