From ea2e290e1ce80ee781991dbaf9783333fefcddff Mon Sep 17 00:00:00 2001 From: Dibyendu Majumdar Date: Fri, 13 Jan 2023 21:32:22 +0000 Subject: [PATCH] Update README.md --- README.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e9ac3cf..17c707f 100644 --- a/README.md +++ b/README.md @@ -51,14 +51,24 @@ The version of Lua supported by this distro is 5.3.5. The following changes were ## On Linux or Mac OSX -* Install under `$HOME/ravi` or `$HOME/lua53`. -* Set environment variables as follows: +In the `build` folder there are some scripts to help build and install Suravi. + +Assuming we are installing under `$HOME/Software/ravi` then we can invoke: + +``` +cd Suravi +sh build/linux_build.sh $HOME/Software/ravi ``` - source $HOME/ravi/bin/ravi-env.sh + +Once build is complete, we can setup the environment as follows. + ``` +source $HOME/Software/ravi/bin/ravi-env.sh +``` + Replace `ravi` with `lua53` if you are using Lua. -Note that if you install at some other location then you need to change the paths in following files in the distro: +Note that the installation paths are copied to following files in the distro: * `bin/ravi-env.sh` or `bin/lua-env.sh` * `share/lua/5.3/torch/paths.lua`