【问题标题】:luarocks install local sourceluarocks 安装本地源
【发布时间】:2016-06-10 02:26:28
【问题描述】:

我正在编辑 nn 库中的文件。它有一个rockspec文件。当我 luarocks 安装该 rockspec 文件时,它会下载 git 源。我希望它使用我的本地资源。 rockspec 文件包含我不想手动调用的各种编译时命令行乱码。像$ luarocks install nn.rockspec --source='~/nn' 这样的东西会很棒。

【问题讨论】:

    标签: lua torch luarocks


    【解决方案1】:

    对于本地源,需要进入目录并发出:

    luarocks make rocks/nn-scm-1.rockspec
    

    【讨论】:

      猜你喜欢
      • 2017-05-10
      • 1970-01-01
      • 2018-04-26
      • 2015-12-21
      • 2023-04-09
      • 2016-04-29
      • 2016-03-22
      • 2021-02-09
      • 2018-11-08
      相关资源
      最近更新 更多