# Install anaconda if you don't have it (instructions here for OS X)
wget http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh
sh Miniconda-latest-MacOSX-x86_64.sh -b -p $HOME/anaconda
# Add anaconda to your $PATH
export PATH=$HOME/anaconda/bin:$PATH
# Install Lua & Torch
conda install lua=5.2 lua-science -c alexbw
# Available versions of Lua: 2.0, 5.1, 5.2, 5.3
# 2.0 is LuaJIT
# Install anaconda if you don't have it (instructions here for OS X)
wget http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh
sh Miniconda-latest-MacOSX-x86_64.sh -b -p $HOME/anaconda
# Add anaconda to your $PATH
export PATH=$HOME/anaconda/bin:$PATH
# Get the newest version of conda, as well as some conda build tools
conda update conda -y
conda install conda-build anaconda-client -y
# Build all packages
sh build_all.sh
# Ideally, all you have to do to install everything is this
conda install lua=5.2 lua-science
TODO:
- https://github.com/AlexMili/torch-dataframe
- https://github.com/twitter/torch-ipc
- https://github.com/twitter/torch-distlearn
- https://github.com/twitter/torch-dataset
Resources:
-
Linking against readline (need a few extra flags, and link against -lncursesw, not -lncurses)
Misc notes:
metadata:ns_cfg() — defines for YAML directives
main_build: — defines version numbers
environ:get_lua_include_dir() — uses version numbers to locate the include directory
config:Config._get_lua — uses version numbers to locate the binary
This is where the linked package name is converted into what is used