Failed to build PyTorch from source

I actually manage to have libtorch built and installed via CMake , our-of-source build under the folder named build.

I wonder while I build Pytorch using python setup.py build -cmake, is there a way to just use the configuration under the folder build already existing there ?

A similar topic is posted at https://discuss.pytorch.org/t/failed-to-build-pytorch-audio-from-source/144267 . Thank you …

Cheers
Pei