build: Reject building for i386
PATCH 1/1 build: Reject building for i386
From: Jan Kiszka <[email protected]>
This architecture is not supported but we were silently converting it into 64-bit x86.
Signed-off-by Jan Kiszka <[email protected]>
--- meson.build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
meson.build +5 -2
@@ -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',
Signature · 1 line
2.35.3
Quoted 22 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
This architecture is not supported but we were silently converting it into 64-bit x86.
Signed-off-by Jan Kiszka <[email protected]>--- meson.build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)meson.build +3
-0@@ -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'
meson.build pthread_dep = dependency('threads') · line 60
Quoted 10 lines
meson.build +2
-2- 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',
As you are merging already, don't forgot this one as well. Minor but possibly still helpful for newbies.
Jan
Signature · 2 lines
Siemens AG, Technology Linux Expert Center
Philippe Gerum
AppliedQuoted 32 lines · Jan Kiszka
Quoted 31 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
This architecture is not supported but we were silently converting it into 64-bit x86.
Signed-off-by Jan Kiszka <[email protected]>--- meson.build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)meson.build +5
-2@@ -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
Quoted 5 lines
meson.build pthread_dep = dependency('threads') · line 60
Quoted 1 line
meson.build +0
-0post_install = find_program('post-install.sh',As you are merging already, don't forgot this one as well. Minor but possibly still helpful for newbies.
Merged, thanks.
Signature · 1 line
Philippe.