Created
October 6, 2015 03:16
-
-
Save hughperkins/ad2e74661507c6797944 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ touch lib/THC/THCStorageCopy.cu | |
$ luarocks make rocks/cutorch-scm-1.rockspec | |
Warning: unmatched variable LUALIB | |
cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/user/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/user/torch/install/lib/luarocks/rocks/cutorch/scm-1" && make -j$(getconf _NPROCESSORS_ONLN) install | |
-- Found Torch7 in /home/user/torch/install | |
CUDA_WRAP_SRCS cuda_target=THC | |
CUDA_NVCC_INCLUDE_ARGS -I/usr/local/cuda/include;-I/home/user/torch/install/include;-I/home/user/torch/install/include/TH;-I/usr/local/cuda/include;-I/home/user/git/cutorch/lib/THC/CUDA_SDK_ROOT_DIR-NOTFOUND/common/inc;-I/home/user/git/cutorch/build/lib/THC | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/user/git/cutorch/build | |
[ 2%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorageCopy.cu.o | |
Linking CXX shared library libTHC.so | |
[ 80%] Built target THC | |
Linking C shared module libcutorch.so | |
[100%] Built target cutorch | |
Install the project... | |
-- Install configuration: "Release" | |
-- Installing: /home/user/torch/install/lib/luarocks/rocks/cutorch/scm-1/lib/libcutorch.so | |
-- Set runtime path of "/home/user/torch/install/lib/luarocks/rocks/cutorch/scm-1/lib/libcutorch.so" to "$ORIGIN/../lib:/home/user/torch/install/lib:/usr/local/cuda/lib64" | |
-- Installing: /home/user/torch/install/lib/luarocks/rocks/cutorch/scm-1/lua/cutorch/init.lua | |
-- Installing: /home/user/torch/install/lib/luarocks/rocks/cutorch/scm-1/lua/cutorch/Tensor.lua | |
-- Installing: /home/user/torch/install/lib/luarocks/rocks/cutorch/scm-1/lua/cutorch/FFI.lua | |
-- Installing: /home/user/torch/install/lib/luarocks/rocks/cutorch/scm-1/lua/cutorch/test.lua | |
-- Installing: /home/user/torch/install/lib/libTHC.so | |
-- Set runtime path of "/home/user/torch/install/lib/libTHC.so" to "$ORIGIN/../lib:/home/user/torch/install/lib:/usr/local/cuda/lib64" | |
-- Up-to-date: /home/user/torch/install/include/THC/THC.h | |
-- Up-to-date: /home/user/torch/install/include/THC/THCGeneral.h | |
-- Up-to-date: /home/user/torch/install/include/THC/THCBlas.h | |
-- Up-to-date: /home/user/torch/install/include/THC/THCStorage.h | |
-- Up-to-date: /home/user/torch/install/include/THC/THCStorageCopy.h | |
-- Up-to-date: /home/user/torch/install/include/THC/THCTensor.h | |
-- Up-to-date: /home/user/torch/install/include/THC/THCTensorCopy.h | |
-- Up-to-date: /home/user/torch/install/include/THC/THCTensorRandom.h | |
-- Up-to-date: /home/user/torch/install/include/THC/THCTensorMath.h | |
-- Up-to-date: /home/user/torch/install/include/THC/THCTensorConv.h | |
-- Up-to-date: /home/user/torch/install/include/THC/THCTensorSort.h | |
-- Up-to-date: /home/user/torch/install/include/THC/THCApply.cuh | |
-- Up-to-date: /home/user/torch/install/include/THC/THCReduce.cuh | |
-- Up-to-date: /home/user/torch/install/include/THC/THCReduceAll.cuh | |
-- Up-to-date: /home/user/torch/install/include/THC/THCReduceApplyUtils.cuh | |
-- Up-to-date: /home/user/torch/install/include/THC/THCAllocator.h | |
-- Up-to-date: /home/user/torch/install/include/THC/THCDeviceUtils.cuh | |
-- Up-to-date: /home/user/torch/install/include/THC/THCDeviceTensor.cuh | |
-- Up-to-date: /home/user/torch/install/include/THC/THCDeviceTensor-inl.cuh | |
-- Up-to-date: /home/user/torch/install/include/THC/THCDeviceTensorUtils.cuh | |
-- Up-to-date: /home/user/torch/install/include/THC/THCDeviceTensorUtils-inl.cuh | |
cd build | |
Updating manifest for /home/user/torch/install/lib/luarocks/rocks | |
cutorch scm-1 is now built and installed in /home/user/torch/install/ (license: BSD) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment