Skip to content

Instantly share code, notes, and snippets.

@raibread
raibread / torch_install.sh
Last active February 4, 2017 19:08
This is a oneline torch7 installation script (including dependencies) for macosx -- Adapted from: https://github.com/clementfarabet/torchinstall/blob/master/install -- It has been tested in parts but not as a whole.
#!/usr/bin/env bash
#################################################################################################
# This script installls Torch7 and it's various dependencies.
#
# The script is adapted from:
# https://github.com/clementfarabet/torchinstall/blob/master/install
#
# The above didn't quite work for me on macosx (10.8.2) so the following adjustments were made:
# (1) install gcc 4.7.2 and set as compilers used in Torch build so open OpenMP works