mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Subject: [ptxdist] [PATCH v2 2/2] opus: switch to meson build system
Date: Sat, 16 Mar 2024 13:22:36 +0100	[thread overview]
Message-ID: <20240316122236.2136539-2-p.zabel@pengutronix.de> (raw)
In-Reply-To: <20240316122236.2136539-1-p.zabel@pengutronix.de>

Enable the asm option only together with fixed-point.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/opus.in   |  1 +
 rules/opus.make | 50 ++++++++++++++++++++++---------------------------
 2 files changed, 23 insertions(+), 28 deletions(-)

diff --git a/rules/opus.in b/rules/opus.in
index 7412eb76a538..237928a29453 100644
--- a/rules/opus.in
+++ b/rules/opus.in
@@ -3,5 +3,6 @@
 config OPUS
 	tristate
 	prompt "opus"
+	select HOST_MESON
 	help
 	  Opus is a totally open, royalty-free, highly versatile audio codec.
diff --git a/rules/opus.make b/rules/opus.make
index 490ef6ea44d6..f666ab9a8f03 100644
--- a/rules/opus.make
+++ b/rules/opus.make
@@ -27,35 +27,29 @@ OPUS_LICENSE	:= BSD-3-Clause
 # Prepare
 # ----------------------------------------------------------------------------
 
-#
-# autoconf
-#
-OPUS_CONF_TOOL	:= autoconf
+OPUS_CONF_TOOL	:= meson
 OPUS_CONF_OPT	:= \
-	$(CROSS_AUTOCONF_USR) \
-	--disable-static \
-	--$(call ptx/disen, PTXCONF_HAS_HARDFLOAT)-fixed-point \
-	--disable-fixed-point-debug \
-	--enable-float-api \
-	--disable-custom-modes \
-	--disable-dred \
-	--disable-deep-plc \
-	--disable-lossgen \
-	--enable-float-approx \
-	--enable-asm \
-	--enable-rtcd \
-	--enable-intrinsics \
-	--disable-assertions \
-	--enable-hardening \
-	--disable-fuzzing \
-	--disable-check-asm \
-	--disable-doc \
-	--disable-dot-product \
-	--disable-dnn-debug-float \
-	--disable-osce-training-data \
-	--disable-osce \
-	--disable-extra-programs \
-	--enable-rfc8251
+	$(CROSS_MESON_USR) \
+	-Dasm=$(call ptx/disen, PTXCONF_HAS_HARDFLOAT)d \
+	-Dassertions=false \
+	-Dcheck-asm=false \
+	-Dcustom-modes=false \
+	-Ddocdir=doc/opus \
+	-Ddocs=disabled \
+	-Denable-deep-plc=false \
+	-Denable-dnn-debug-float=false \
+	-Denable-dred=false \
+	-Denable-osce=false \
+	-Dextra-programs=disabled \
+	-Dfixed-point=$(call ptx/falsetrue, PTXCONF_HAS_HARDFLOAT) \
+	-Dfixed-point-debug=false \
+	-Dfloat-api=true \
+	-Dfloat-approx=true \
+	-Dfuzzing=false \
+	-Dhardening=true \
+	-Dintrinsics=enabled \
+	-Drtcd=enabled \
+	-Dtests=disabled
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.39.2




  reply	other threads:[~2024-03-16 12:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-16 12:22 [ptxdist] [PATCH v2 1/2] opus: version bump 1.4 -> 1.5.1 Philipp Zabel
2024-03-16 12:22 ` Philipp Zabel [this message]
2024-03-23  8:59   ` [ptxdist] [APPLIED] opus: switch to meson build system Michael Olbrich
2024-03-23  8:59 ` [ptxdist] [APPLIED] opus: version bump 1.4 -> 1.5.1 Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240316122236.2136539-2-p.zabel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox