Bug#972173: llvm-toolchain-10: add arm64 into ARCH_LLVM_TEST_OK, to enable nightly builds

Sylvestre Ledru sylvestre at debian.org
Tue Oct 13 17:57:12 BST 2020


Le 13/10/2020 à 18:50, Leandro Nunes a écrit :
> Source: llvm-toolchain-10
> Severity: normal
> 
> Dear Maintainer,
> 
> In order to enable aarch64 (arm64) into the LLVM debian packages nightly build
> we would like to add it to ARCH_LLVM_TEST_OK list, marking it as an architecture
> in which tests are already run.
> 
> This list is defined in the debian/rules file, line 785:
> 
>   # List of the archs we know we have 100 % tests working
>   ARCH_LLVM_TEST_OK := i386 amd64
> 
> The suggestion here is to add 'arm64' to that list above.
> 
> When we try to build is without having arm64 on that list, we see the following error:
I am not sure to see how ARCH_LLVM_TEST_OK is unrelated to this error.

If the arch isn't in the ARCH_LLVM_TEST_OK list, it won't fail the build.
See:
https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/blob/11/debian/rules#L799

"adt-run: not found" means that the autopkgtest package isn't installed

By the way, as part of your work, you should skip the testsuite and autopkgtest executions to avoid this pain.
export DEB_BUILD_OPTIONS="nocheck" to disable the local testsuite.

Cheers
S



More information about the Pkg-llvm-team mailing list