Building swift in Ubuntu saying clang isn't installed (even though it is)

I'm trying to build Swift from source using clang I also built, but the build script fails with the message:

ERROR: can't find clang (please install clang-3.5 or a later version)

Even though the build script correctly identifies clang compilers in the beginning of the build process:

C compiler on this system is: /home/augusto/Developer/llvm/build/bin/clang       
C++ compiler on this system is: /home/augusto/Developer/llvm/build/bin/clang++          

Do I have to pass any other flags so it correctly identifies my version of clang?

Terms of Service

Privacy Policy

Cookie Policy