Is it possible to build Cuda support from source?

I would like to build a Cuda system based on a Linux From Scratch, LFS, distribution. We build everything from source on top of LFS so I am very familiar with slogging through dependencies when adding something to a LFS dist.

I have found no information on building Cuda from scratch/source, just package manager installs. Is this possible? Where would I look for information on it.

Thanks,
Andy

You cannot build CUDA from source.