You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that bundle_static() in dependencies\llvm\CMakeLists.txt:140 is only injecting the arm64 libs from a universal build of LLVM, when Halide is also configured as a universal build (via CMAKE_OSX_ARCHITECTURES="x86_64;arm64").
The LLVM x86_64 libs are not getting bundled, resulting in missing symbols that show up when linking against libHalide.a:
Undefined symbols for architecture x86_64:
"_LLVMInitializeAArch64AsmParser",
"..."
I'm not entirely sure why only the arm64 libs get bundled. Is the llvm_map_components_to_libnames provided with the LLVM project skipping them?
The text was updated successfully, but these errors were encountered:
It appears that
bundle_static()
independencies\llvm\CMakeLists.txt:140
is only injecting the arm64 libs from a universal build of LLVM, when Halide is also configured as a universal build (viaCMAKE_OSX_ARCHITECTURES="x86_64;arm64"
).The LLVM x86_64 libs are not getting bundled, resulting in missing symbols that show up when linking against libHalide.a:
I'm not entirely sure why only the arm64 libs get bundled. Is the
llvm_map_components_to_libnames
provided with the LLVM project skipping them?The text was updated successfully, but these errors were encountered: