How do you compile Halide for iOS? -
the readme claims can compile armv7, cannot find magic incantation make work.
i started down rabbit hole of changing makefile set arch=armv7, fixing resulting compilation errors, etc, doesn't seem right way go it.
there recommended cmake flags are:
cmake -dllvm_targets_to_build="x86;arm;nvptx" -dllvm_enable_assertions=on -dcmake_build_type=release ..
but alas, bin directory contains .a , .so, both of compiled x86_64. there no dylibs.
i can run test ios app in simulator, linking x86 libraries, cannot build on device since there no arm binaries.
here link halide test app i'm trying build: https://github.com/halide/halide/tree/master/apps/helloios
you should use aot compilation ios. jit in principle works on arm (the architecture), not on ios (the os).
Comments
Post a Comment