Skip to content

Instantly share code, notes, and snippets.

@leigh-johnson
Last active March 7, 2020 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leigh-johnson/1fc725bc7d7488cd7f28115984842df3 to your computer and use it in GitHub Desktop.
Save leigh-johnson/1fc725bc7d7488cd7f28115984842df3 to your computer and use it in GitHub Desktop.
$ sudo bazel --host_jvm_args=-Xmx512m build \
--config=opt \
--config=noaws \
--config=nohdfs \
--config=nonccl \
--config=v2 \
--local_resources=4096.0,3.0,1.0 \
--copt=-mfpu=neon-vfpv4 \
--copt=-ftree-vectorize \
--copt=-funsafe-math-optimizations \
--copt=-ftree-loop-vectorize \
--copt=-fomit-frame-pointer \
--copt=-DRASPBERRY_PI \
--host_copt=-DRASPBERRY_PI \
//tensorflow/tools/pip_package:build_pip_package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment