Open howard0su opened 8 years ago
Does Ninja work with nvcc? I do not see any announcement that it supports nvcc. IncrediBuild and FASTBuild support nvcc. I prefer not to use it if Ninja does not support nvcc. There could be an option to use the faster build system if found. I may not have time to investigate more about this. Please feel free to send your improvements.
Actually ninja doesn't care. CMake will generate the command to do that. in short, i tested yesterday with cutorch, seems it works fine. but the change need happen inside luarocks. and there are more problems in torch's packaging system i'd like to address.
👍 Cool, please feel free to detail problems or send PRs.
since nmake doesn't support parallel build, build is very slow especial building cuda projects.
One possible solution is integrating Ninja which has built-in support for parallel build in all platforms. this will also help reduce the needs to have the rockspec file explicit to specify cmake command in order to support parallel build. We can make luarocks to detect Ninja if it is there, we can -G "Ninja" instead. thoughts?