Error while installing from source

Hello,
I am trying to build from source and I followed all the instructions mentioned in the GitHub

I am getting this error while building

FAILED: caffe2/CMakeFiles/torch_cuda_cu.dir/__/aten/src/ATen/native/cuda/GcdLcmKernel.cu.o

./aten/src/ATen/native/cuda/GcdLcmKernel.cu:20:721: error: the value of ‘at::native::gcd_name’ is not usable in a constant e
xpression
../aten/src/ATen/native/cuda/GcdLcmKernel.cu:17:12: note: ‘at::native::gcd_name’ was not declared ‘constexpr’
 const char gcd_name[] = "gcd";
            ^
../aten/src/ATen/native/cuda/GcdLcmKernel.cu: In lambda function:
../aten/src/ATen/native/cuda/GcdLcmKernel.cu:20:1388: error: the value of ‘at::native::gcd_name’ is not usable in a constant expression
../aten/src/ATen/native/cuda/GcdLcmKernel.cu:17:12: note: ‘at::native::gcd_name’ was not declared ‘constexpr’
 const char gcd_name[] = "gcd";
            ^
../aten/src/ATen/native/cuda/GcdLcmKernel.cu: In lambda function:
../aten/src/ATen/native/cuda/GcdLcmKernel.cu:20:2050: error: the value of ‘at::native::gcd_name’ is not usable in a constant expression
../aten/src/ATen/native/cuda/GcdLcmKernel.cu:17:12: note: ‘at::native::gcd_name’ was not declared ‘constexpr’
 const char gcd_name[] = "gcd";
            ^
../aten/src/ATen/native/cuda/GcdLcmKernel.cu: In lambda function:
../aten/src/ATen/native/cuda/GcdLcmKernel.cu:20:2698: error: the value of ‘at::native::gcd_name’ is not usable in a constan

CUDA: 11.3
CUDNN: 8.2.0
CMAKE version: 3.22.0

Any suggestions on how to deal this issue ?

Could you provide instructions how to reproduce this issue?
In particular, which GCC version are you using, which PyTorch commit etc.?