Linux build on separate directory

I’m successfully downloaded and build the unreal engine on fedora 26. The problem currently is the file size that really huge, almost 35 GB and I only have 128 GB ssd. I want to move the source to another disk (SATA) and leave the build on current disk (SSD). Looking forward for any guide or workaround to solve this issue.

Thanks.