OpenCLcc is an open-source compiler wrapper that allows you to perform a static null compilation of OpenCL kernels.
In other words, OpenCLcc is just the code to set up a minimum OpenCL context, load one or more text files containing OpenCL kernel code, compile those files and show the OpenCL compiler output to the user.
OpenCLcc will essentially ease OpenCL development because you can compile your OpenCL kernels in an isolated way, and get descriptive compilation errors.
OpenCLcc is cross-platform and it works on Mac OS X, Windows and Linux.
Instructions on how to install and use the OpenCLcc utility on your Mac are available HERE.