In my macOS, I have set export CC=/usr/local/bin/gcc-6 and export CXX=/usr/local/bin/g++-6. Then I built tensorflow from source using sh tensorflow/contrib/makefile/build_all_ios.sh. But I saw it also compile using clang. So, how to change compiler? @martinwicke