Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get the JasonAtNVIDIA JetsonTFBuild scripts without the wheel files
#!/bin/bash
cd $HOME
# Get TensorFlow build scripts from JasonAtNvidia JetsonTFBuild repository
git clone --no-checkout https://github.com/JasonAtNvidia/JetsonTFBuild.git
cd JetsonTFBuild
# Sparse checkout tells git not to checkout the wheels directory
# where all of the .whl files are kept
git config core.sparsecheckout true
# Do not checkout the wheels directory
echo '!wheels/*' >> .git/info/sparse-checkout
# But checkout everything else
echo "/*" >> .git/info/sparse-checkout
git checkout
echo "JetsonTFBuild checked out"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment