Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dibyendumajumdar committed Jan 13, 2023
1 parent 731f449 commit ea2e290
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit ea2e290

Please sign in to comment.