From: Jan Kiszka <jan.kiszka@siemens.com>
To: Philippe Gerum <rpm@xenomai.org>
Cc: Xenomai <xenomai@lists.linux.dev>
Subject: [libevl][PATCH] build: Reject building for i386
Date: Sun, 17 Dec 2023 17:22:19 +0100 [thread overview]
Message-ID: <76d5ecd7-ff91-4973-ade0-a1a63fdbd9cc@siemens.com> (raw)
From: Jan Kiszka <jan.kiszka@siemens.com>
This architecture is not supported but we were silently converting it
into 64-bit x86.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
meson.build | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index bbde902..fdb2e55 100644
--- a/meson.build
+++ b/meson.build
@@ -46,12 +46,15 @@ pthread_dep = dependency('threads')
# Do some architecture name remapping
libevl_arch = host_machine.cpu_family()
+if libevl_arch == 'x86'
+ error('i386 not supported')
+endif
if libevl_arch == 'x86_64'
- libevl_arch = 'x86'
+ libevl_arch = 'x86'
endif
if libevl_arch == 'aarch64'
- libevl_arch = 'arm64'
+ libevl_arch = 'arm64'
endif
post_install = find_program('post-install.sh',
--
2.35.3
next reply other threads:[~2023-12-17 16:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-17 16:22 Jan Kiszka [this message]
2024-01-02 16:56 ` [libevl][PATCH] build: Reject building for i386 Jan Kiszka
2024-01-03 9:07 ` Philippe Gerum
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=76d5ecd7-ff91-4973-ade0-a1a63fdbd9cc@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=rpm@xenomai.org \
--cc=xenomai@lists.linux.dev \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).