Skip to content

mrdrozdov-github/kob-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Install

Look to https://github.com/tuotuoxp/cpp-torch/blob/master/install.md for inspiration.

# Torch / TH
git clone [email protected]:torch/torch7.git
mkdir build
cd build
# I had to modify CMakeLists.txt for this to work.
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/Users/Andrew/Developer/kob-setup ../lib/TH
make
make install

# Torch / THNN
git clone [email protected]:torch/nn.git
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/Users/Andrew/Developer/kob-setup \
-DCMAKE_PREFIX_PATH=/Users/Andrew/Developer/kob-setup ../lib/THNN
# I had to modify CMakeLists.txt for this to work.
make
make install

# Was necessary to run examples:
export LD_LIBRARY_PATH=/Users/Andrew/Developer/kob-setup/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/Users/Andrew/anaconda/lib:$LD_LIBRARY_PATH

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published