Skip to content

Instantly share code, notes, and snippets.

@xiaofanglegoc
Created May 14, 2016 09:13
Show Gist options
  • Select an option

  • Save xiaofanglegoc/d506cb34099f44906f2c229eff1656aa to your computer and use it in GitHub Desktop.

Select an option

Save xiaofanglegoc/d506cb34099f44906f2c229eff1656aa to your computer and use it in GitHub Desktop.
#!/bin/sh
sudo luarocks install OPENSSL
sudo rm -rf ~/.cache/luarocks
luarocks install luacrypto OPENSSL_DIR=/usr/local/opt/openssl/
git clone https://github.com/torch/image.git
cd image
luarocks make image-1.1.alpha-0.rockspec
git clone https://github.com/facebook/iTorch.git
cd iTorch/
luarocks make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment