alexbw / conda-lua-recipes

Conda recipes for the Lua & Torch ecosystem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conda recipes for installing packages from the Torch ecosystem.

NOTE: No longer maintained.

To install packages

# 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

To build packages

# 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:

Resources:

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

About

Conda recipes for the Lua & Torch ecosystem


Languages

Language:Shell 94.4%Language:Batchfile 5.6%