I’m trying to build a C++ extension using torch.utils.cpp_extension. My OS is Mac OS 10.15.3 and I got the warning:

Your compiler (xcrun) is not compatible with the compiler Pytorch was built with for this platform, which is clang++ on darwin. Please use clang++ to to compile your extension.

How to change the compiler?
Thanks!