You want to use -target when you run e.g. image-classifier or model-compiler, etc., which are the tools that can be used to create the binary you’re going to deploy to another machine with a different CPU architecture. -target should not be used as a CMake flag – you still want to build Glow itself for your local machine’s architecture.