Is it possible to install Crystal on Mac using llvm / clang provided by Xcode?

Is it possible to install Crystal on Mac using llvm / clang provided by Xcode?

When I have installed Crystal via brew it has apparently installed its own version of llvm / clang, which interferes with Golang (which needs llvm / clang from Xcode).

sergehulne@Serges-Mac-mini Webview % clang -v
Homebrew clang version 13.0.1
Target: arm64-apple-darwin21.3.0
Thread model: posix
InstalledDir: /opt/homebrew/opt/llvm/bin
sergehulne@Serges-Mac-mini Webview % brew remove llvm
Error: Refusing to uninstall /opt/homebrew/Cellar/llvm/13.0.1
because it is required by crystal, which is currently installed.
You can override this and force removal with:
  brew uninstall --ignore-dependencies llvm

My mistake : I was using an outdated version of the Xcode command-line tool.