Do not attempt to build on s390x
lld is a build requirement of the WASI toolchain but is not yet supported on s390x (although work is underway upstream). Therefore, %nodejs_arches cannot be used here until that changes.
This commit is contained in:
parent
14938ca14b
commit
4d27183327
@ -20,7 +20,14 @@ Patch: 0001-parametrize-wasm-compilation-process.patch
|
||||
# Binary files in this package are aimed at the wasm32-wasi "architecture".
|
||||
%global _binaries_in_noarch_packages_terminate_build 0
|
||||
BuildArch: noarch
|
||||
# change this conditional to the fedora and rhel releases containing lld
|
||||
# versions which include support for s390x:
|
||||
# https://github.com/llvm/llvm-project/issues/57097
|
||||
%if 0
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
%else
|
||||
ExclusiveArch: %{ix86} x86_64 aarch64 ppc64le riscv64 noarch
|
||||
%endif
|
||||
|
||||
BuildRequires: clang lld make wasi-libc-devel
|
||||
BuildRequires: nodejs-devel npm
|
||||
|
||||
Loading…
Reference in New Issue
Block a user