Skip to content

halide 18.0.0: FTBFS on arm64 with SVE: Unhandled exception: Error: For SVE/SVE2 support, target_vector_bits=<size> must be set in target` #8529

@LebedevRI

Description

@LebedevRI

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087943

On arm64 systems with SVE support halide fails to build with the following
error:

 [2087/4204] cd /<<PKGBUILDDIR>>-build/build/stage-0/halide/python_bindings/apps && /<<PKGBUILDDIR>>-build/build/stage-0/halide/tutorial/lesson_21_auto_scheduler_generate -r app_aot_bilateral_grid.runtime -o . -e object target=host
 FAILED: python_bindings/apps/app_aot_bilateral_grid.runtime.o /<<PKGBUILDDIR>>-build/build/stage-0/halide/python_bindings/apps/app_aot_bilateral_grid.runtime.o
 cd /<<PKGBUILDDIR>>-build/build/stage-0/halide/python_bindings/apps && /<<PKGBUILDDIR>>-build/build/stage-0/halide/tutorial/lesson_21_auto_scheduler_generate -r app_aot_bilateral_grid.runtime -o . -e object target=host
 Unhandled exception: Error: For SVE/SVE2 support, target_vector_bits=<size> must be set in target.

To check if the system has SVE support:

 $ lscpu | grep sve
 Flags:                              fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs paca pacg dcpodp svei8mm svebf16 i8mm bf16 dgh rng

This is probably essentially a duplicate of #8114.
Has this been resolved in 19.0.0 by any chance?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions