The log says the build failed pretty much right away with:
:info:configure system(make IRun_GAS_x8632 args="-v 5" MYFLAGS="-DATL_OS_OSX" 2> /dev/null | fgrep SUCCESS)
:info:configure ierr=256 in command='make IRun_GAS_x8632 args="-v 5" MYFLAGS="-DATL_OS_OSX" 2> /dev/null | fgrep SUCCESS'!
:info:configure OUTPUT:
:info:configure =======
:info:configure system(make IRun_GAS_x8664 args="-v 5" MYFLAGS="-DATL_OS_OSX" 2> /dev/null | fgrep SUCCESS)
:info:configure ERROR: enum fam=3, chip=2, model=158, mach=0
:info:configure make[3]: *** [atlas_run] Error 44
:info:configure make[2]: *** [IRunArchInfo_x86] Error 2
:info:configure ERROR: enum fam=3, chip=2, model=158, mach=0
:info:configure make[3]: *** [atlas_run] Error 44
:info:configure make[2]: *** [IRunArchInfo_x86] Error 2
:info:configure ERROR: enum fam=3, chip=2, model=158, mach=0
:info:configure make[3]: *** [atlas_run] Error 44
:info:configure make[2]: *** [IRunArchInfo_x86] Error 2
My guess is it does not know what kind of processor you have. What Mac model are you using, and what processor does it have?
Atlas 3.10.2 is from mid 2014 so if your Mac is newer than that, that could explain why it does not know about your processor.
A similar error is reported by another user here. They were using atlas 3.10.3 which is from mid 2016.