public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/polyml] rawhide: BR libffi-devel only on bytecode architectures
Date: Wed, 15 Jul 2026 01:24:42 GMT [thread overview]
Message-ID: <178407868229.1.17024090459916355261.rpms-polyml-eb518e6a3f34@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/polyml
Branch : rawhide
Commit : eb518e6a3f34c9dec08dda3d9cba6f3491b2ea02
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-14T19:24:26-06:00
Stats : +7/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/polyml/c/eb518e6a3f34c9dec08dda3d9cba6f3491b2ea02?branch=rawhide
Log:
BR libffi-devel only on bytecode architectures
---
diff --git a/polyml.spec b/polyml.spec
index e2faa78..dd87c9c 100644
--- a/polyml.spec
+++ b/polyml.spec
@@ -18,9 +18,13 @@ ExcludeArch: %{ix86}
BuildRequires: gcc-c++
BuildRequires: gmp-devel
-BuildRequires: libffi-devel
BuildRequires: make
+%ifnarch %{x86_64} %{arm64}
+# Required for the bytecode interpreter
+BuildRequires: libffi-devel
+%endif
+
Requires: gcc-c++
Requires: polyml-libs%{?_isa} = %{version}-%{release}
@@ -81,7 +85,9 @@ sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
# - build with extension_cflags instead of build_cflags
extflags=$(sed 's/[[:space:]]*$//' <<< '%{extension_cflags}')
sed -e 's/-Wl,-rpath,\${LIBDIR} //'\
+%ifarch %{x86_64} %{arm64}
-e 's/-lffi //;s/-lgmp //' \
+%endif
-e "s/^\(CFLAGS=\).*/\1\"-O2 -pipe -fno-strict-aliasing $extflags\"/" \
-i polyc
reply other threads:[~2026-07-15 1:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=178407868229.1.17024090459916355261.rpms-polyml-eb518e6a3f34@fedoraproject.org \
--to=loganjerry@gmail.com \
--cc=git-commits@fedoraproject.org \
/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