Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save HungMingWu/a293d64bf256bca90a606e7b25648481 to your computer and use it in GitHub Desktop.
Save HungMingWu/a293d64bf256bca90a606e7b25648481 to your computer and use it in GitHub Desktop.
Build ARMNN
scons arch=arm64-v8a extra_cxx_flags="-fPIC" benchmark_tests=0 validation_tests=0 opencl=1 embed_kernels=1 neon=1
./b2 link=static cxxflags=-fPIC --with-filesystem --with-test --with-log --with-program_options
./configure --host=arm-linux CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ --with-protoc=/usr/local/bin/protoc --prefix=/usr/local/arm_proto
CXX=aarch64-linux-gnu-g++ cmake -DARMCOMPUTE_ROOT=/ComputeLibrary -DARMCOMPUTE_BUILD_DIR=/ComputeLibrary/build -DBOOST_ROOT=/boost_1_64_0 -DTF_GENERATED_SOURCES=/usr/local -DBUILD_TF_PARSER=1 -DPROTOBUF_ROOT=/usr/local/arm_proto -DARMCOMPUTENEON=1 -DARMCOMPUTECL=1 ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment