Build fails on OS X

Had another try with CUDA 9.0 and CUDNN 7.0. Environment variables:
CMAKE_PREFIX_PATH="/usr/local/miniconda3"
CUDA_HOME="/Developer/NVIDIA/CUDA-9.0"

and build command:
MACOSX_DEPLOYMENT_TARGET=10.9 WITH_CUDA=1 WITH_CUDNN=1 CC=clang CXX=clang++ python setup.py install > build.log

Failing again with exactly same bloody linker error “-lcuda” not found. Either the installation script sucks or the installation instructions are bloody outdated. Not very impressed with Pytorch nor support on this forum yet.

Complete build log: https://pastebin.com/6MhuCY0w