Disable WASM on riscv64 to let it build there.

This commit is contained in:
Gianfranco Costamagna 2022-11-30 15:32:20 +01:00
parent b401ead6ed
commit 9c051a37c9
3 changed files with 11 additions and 3 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
llvm-toolchain-15 (1:15.0.6-2) unstable; urgency=medium
* Fix build on riscv64 by disabling WASM for now.
* Explicitly depend on spirv-14 for riscv64, to bootstrap spirv there.
-- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 30 Nov 2022 15:31:52 +0100
llvm-toolchain-15 (1:15.0.6-1) unstable; urgency=medium
* New upstream release

5
debian/control vendored
View File

@ -22,8 +22,9 @@ Build-Depends: debhelper (>= 10.0), cmake, ninja-build,
libctypes-ocaml-dev [amd64 arm64 armhf ppc64el riscv64 s390x],
dh-exec, dh-ocaml [amd64 arm64 armhf ppc64el riscv64 s390x],
libpfm4-dev [linux-any], python3-setuptools, libz3-dev,
llvm-spirv-15 [ amd64 arm64 armel armhf mips64el mipsel ppc64el riscv64 s390x ] <!stage1> |
llvm-spirv-14 [ amd64 arm64 armel armhf mips64el mipsel ppc64el riscv64 s390x ] <!stage1> | hello [!i386],
llvm-spirv-15 [ amd64 arm64 armel armhf mips64el mipsel ppc64el s390x ] <!stage1> |
llvm-spirv-14 [ amd64 arm64 armel armhf mips64el mipsel ppc64el s390x ] <!stage1> | hello [!i386],
llvm-spirv-14 [ riscv64 ],
spirv-tools [ linux-any ] | hello [ !i386],
libcurl4-dev,
libgrpc++-dev [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x],

2
debian/rules vendored
View File

@ -324,7 +324,7 @@ endif
COMPILER_RT_WASM_ENABLE=yes
ifneq (,$(filter $(DEB_HOST_ARCH), arm64 armel mips64el mipsel ppc64el armhf))
ifneq (,$(filter $(DEB_HOST_ARCH), arm64 armel mips64el mipsel ppc64el armhf riscv64))
COMPILER_RT_WASM_ENABLE=no
endif