Skip to content

--local install not working? #3

@ArturoDeza

Description

@ArturoDeza

When I try running:
$ luarocks install --local examplepackage-scm-1.rockspec
or
$ luarocks make --local examplepackage-scm-1.rockspec

It seems like torch itself is getting re-installed. (vs the verbose outputs I see when I just do luarocks make for a global package install). What would is the correct way to enforce a local package install?

Hopefully I am not going off topic here, yet: I am also not sure why is there a need to have an init.lua file and a hellomodule.lua file, if it seems like hellomodule is actually the module with all its functions (say hello). Or maybe the reason is that I should be thinking of a luarocks package (ex: example) as a group of modules (hellomodule)? It seems a bit confusing since at the end I am only writing th> require 'hellomodule'.

And just to double check: Once my package is set, I believe the only two files I should modify are the examplepackage-scm-1.rockspec to mymodulename-scm-1.rockspace, and the inside of CMakeLists.txt file where I replace examplepackage for mymodulename.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions