How to build jetson-inference in Azure Cloud?

I am trying to build a jetson-inference in Azure Data Science Virtual Machine for Linux (Ubuntu).

I know jetson-inference is not for x86 or cloud but…

I did

https://devtalk.nvidia.com/default/topic/1024121/how-to-build-jetson-inference-in-host-pc-/

I got error

[ 2%] Building NVCC (Device) object CMakeFiles/jetson-inference.dir/util/cuda/jetson-inference_generated_cudaYUV-NV12.cu.o
nvcc fatal : redefinition of argument ‘std’
CMake Error at jetson-inference_generated_cudaYUV-NV12.cu.o.cmake:207 (message):
Error generating
/home/dsvm/jetson-inference/build/CMakeFiles/jetson-inference.dir/util/cuda/./jetson-inference_generated_cudaYUV-NV12.cu.o

This VM has CUDA, CUDNN

nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61

cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
#define CUDNN_MAJOR 5
#define CUDNN_MINOR 1
#define CUDNN_PATCHLEVEL 10

TensorRT 2.1 for Ubuntu 1604 and CUDA 8.0 DEB local repo packages

Hi,

Please add your GPU architecture in the CMake file:
https://github.com/dusty-nv/jetson-inference/blob/master/CMakeLists.txt#L36

Architecture information can be found here:
https://developer.nvidia.com/cuda-gpus

For example, if you are using K80, please add sm_37 architecture:

-gencode arch=compute_37,code=sm_37

Thanks.