Activates incremental builds for cutorch and cunn
Make sure you have torch installed
Then do simply:
luarocks install findcuda
That's it! cutorch and cunn builds will now be incremental :-) It's a bit draft, so worst case if something is not building fully, just:
- (ideally) zip your cutorch directory, and send it to me somehow, so I can take a look
rm -Rf build
- downloaded https://cmake.org/files/v3.5/cmake-3.5.0-rc1.tar.gz
- extracted
- copied Modules/FindCUDA.cmake and Modules/FindCUDA/ folders
- applied a custom fix to allow incremental builds on cutorch, and cunn (might not generalize for other software)
- added appropriate rocks file and CMakeLists.txt so installable as luarocks module
- doesnt contain the fix for incremental builds on cutorch
- doesnt contain the fix for incremental builds on cutorch
working on it :-) This repo might evolve appropriately as a function of this, or disappear eventually, as and when upstream is fixed, and a new version of cmake is available
MIT
The documentation for FindCUDA is at https://cmake.org/cmake/help/v3.5/module/FindCUDA.html The author of the uncustomized FindCUDA module is James Bigler.