[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaRocks question
- From: Hisham <h@...>
- Date: Thu, 15 Mar 2018 20:30:10 -0300
On 15 March 2018 at 17:56, Dibyendu Majumdar <mobile@majumdar.org.uk> wrote:
> On 15 March 2018 at 00:38, Hisham <h@hisham.hm> wrote:
>> On 14 March 2018 at 19:46, Dibyendu Majumdar <mobile@majumdar.org.uk> wrote:
>>> I was wondering if I could use LuaRocks software for managing
>>> Ravi-Distro. I need to:
>>
>> Great choice! :) LuaRocks fits your bill in all regards:
>>
>
> Great, thanks!
>
>>> a) Use my github repo as the source for packages
>>
>> Just set it as the default rocks_server in the config file (the Torch
>> project does that) -- Alternatively, you can configure it to point to
>> your own account at LuaRocks.org and use only your curated rocks. See
>> the LuaRocks wiki docs for more info and feel free to ask!
>>
>
> In fact I learnt about using LuaRocks this way by observing Torch. I
> will start with github for now.
>
>>> b) Use CMake build system
>>
>> Also easy: `build.type = "cmake"` is supported.
>>
>>> On Windows I need to use MSVC by the way.
>>
>> Also supported, either via cmake or via the builtin build system!
>>
>
> Okay - read in the docs that cmake generator only supports Makefiles?
> In that case, how does the Windows support work?
You can set `cmake_generator = "your favorite one"` in the LuaRocks config file.
-- Hisham