Skip to content

mdbconsulting/distro

This branch is 80 commits behind torch/distro:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4f5ad0f · Nov 28, 2016
Aug 23, 2016
Aug 18, 2016
Nov 11, 2016
Nov 26, 2016
Nov 26, 2016
Nov 28, 2016
Oct 31, 2016
Oct 13, 2016
May 1, 2016
Jul 10, 2016
Mar 4, 2016
Oct 31, 2016
Nov 4, 2016
Feb 1, 2016
Nov 19, 2016
Nov 21, 2016
Nov 28, 2016
Oct 31, 2016
Nov 1, 2016
Jul 28, 2016
May 1, 2016
Oct 31, 2016
Sep 27, 2016

Repository files navigation

Build Status

Self-contained Torch installation

Please refer to the Torch installation guide for details on how to make a fresh install of Torch on Linux or MacOS.

If on windows with msvc, please refer to this guide for details on installation and usage.

Repo content

Dependencies

Globally installed dependencies can be installed via:

bash install-deps

Lua and Torch

The self-contained Lua and Torch installations are performed via:

./install.sh

By default Torch will install LuaJIT 2.1. If you want other options, you can use the command:

# If a different version was installed, used ./clean.sh to clean it
TORCH_LUA_VERSION=LUA51 ./install.sh
TORCH_LUA_VERSION=LUA52 ./install.sh

Update

To update your already installed distro to the latest master branch of torch/distro simply run:

./update.sh

Cleaning

To remove all the temporary compilation files you can run:

./clean.sh

To remove the installation run:

# Warning: this will remove your current installation
rm -rf ./install

You may also want to remove the torch-activate entry from your shell start-up script (~/.bashrc or ~/.profile).

Test

You can test that all libraries are installed properly by running:

./test.sh

Tested on Ubuntu 14.04, CentOS/RHEL 6.3 and OSX

About

Torch installation in a self-contained folder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 66.8%
  • Batchfile 16.6%
  • Shell 15.8%
  • Lua 0.8%