motioncam icon indicating copy to clipboard operation
motioncam copied to clipboard

Halide error during ./setupenv.sh Ubuntu 20.04

Open btilmon opened this issue 3 years ago • 0 comments

I am trying to compile on Ubuntu 20.04. I followed the README and installed the dependencies. When I run ./setupenv.sh I get the following error once the install script tries to install Halide:

[ 24%] Generating initmod.aarch64_cpu_features_32.bc [ 24%] Generating initmod.aarch64.bc [ 24%] Generating initmod.aarch64_cpu_features_32_debug.bc /usr/lib/llvm-12/bin/llvm-as: initmod.aarch64_cpu_features_32.ll:9:137: error: expected '(' define weak void @_ZN6Halide7Runtime8Internal23halide_get_cpu_featuresEv(%"struct.Halide::Runtime::Internal::CpuFeatures"* noalias sret %0) local_unnamed_addr #0 { [ 24%] Generating initmod.aarch64_cpu_features_64.bc ^ make[2]: *** [src/runtime/CMakeFiles/Halide_initmod.dir/build.make:2014: src/runtime/initmod.aarch64_cpu_features_32.bc] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 24%] Generating initmod.aarch64_cpu_features_64_debug.bc /usr/lib/llvm-12/bin/llvm-as: initmod.aarch64_cpu_features_32_debug.ll:9:137: error: expected '(' define weak void @_ZN6Halide7Runtime8Internal23halide_get_cpu_featuresEv(%"struct.Halide::Runtime::Internal::CpuFeatures"* noalias sret %0) local_unnamed_addr #0 !dbg !43 { ^ make[2]: *** [src/runtime/CMakeFiles/Halide_initmod.dir/build.make:2018: src/runtime/initmod.aarch64_cpu_features_32_debug.bc] Error 1 /usr/lib/llvm-12/bin/llvm-as: initmod.aarch64_cpu_features_64.ll:9:137: error: expected '(' define weak void @_ZN6Halide7Runtime8Internal23halide_get_cpu_featuresEv(%"struct.Halide::Runtime::Internal::CpuFeatures"* noalias sret %0) local_unnamed_addr #0 {

btilmon avatar Feb 14 '22 19:02 btilmon