Building Blender on Ubuntu 18.04 with Cuda

Hi,
So I have successfully build blender in Ubuntu 18.04.3 (x64), but notice some weird behaviours. One is the numpy used while installing is always the system default Python 3.6, instead of the Python 3.7, even when I have it installed, and this of course gives errors for scripts that require numpy.
The other issue is that I can build Blender with CUDA 9 Toolkit, but can’t build it with CUDA 10 Toolkit, cmake fails to detect this version.
Any known workarounds?

Cheers,
Daniel Santana

Forget it, it auto solved it self. If it happens again I will post more details.