Building julia on MacOS 10.12.2

Im running into the same issue of building from source

what are the minimun versions of compilers and cmake required
Ive tried using latest gcc 6.3 and gcc that come as default on the system
for example
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
export CPP=/usr/bin/cpp
export LD=/usr/bin/ld
alias c++=/usr/bin/c++
alias g++=/usr/bin/g++
alias gcc=/usr/bin/clang
alias cpp=/usr/bin/clang++
alias cc=/usr/bin/gcc
alias ld=/usr/bin/ld

I smylink gcc to usr/local/bin
for the latest packages of the compiler
neither seems to work
anything I should be trying