update after trying brew install llvm
if I open python3 I have the following still
Python 3.7.3 (default, Jun  6 2019, 12:03:32)
[Clang 8.0.0 (clang-800.0.42.1)] on darwin
I tried, both from scratch after setup.py clean:
MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ TORCH_CUDA_ARCH_LIST=6.1 python3 setup.py install
LDFLAGS="-L/usr/local/opt/llvm/lib" CPPFLAGS="-I/usr/local/opt/llvm/include" TORCH_CUDA_ARCH_LIST=6.1 python3 setup.py install
In every case the compilation breaks with the same error at 75% which I cannot solve so far …

Capture d’écran 2019-09-20 à 20.41.31.png1235×1097 190 KB

According to http://clang.llvm.org/cxx_status.html
" Clang 3.3 and later implement all of the ISO C++ 2011 standard."
And I currently have:
Xcode 8.2.1


Xcode : Build version 8C1002

clang : Apple LLVM version 8.0.0 (clang-800.0.42.1)

However I am not sure how to relate my clang version to 3.3 and later for checking C++11 support …