diff --git a/bin/ci b/bin/ci index 51446d3c94a1..0d4f15f9db41 100755 --- a/bin/ci +++ b/bin/ci @@ -84,7 +84,12 @@ prepare_build() { on_linux docker pull "jhass/crystal-build-$ARCH" - on_osx brew install llvm crystal-lang + on_osx brew install crystal-lang + + # Make sure binaries from llvm are available in PATH + on_osx brew install jq + on_osx OSX_LLVM_PACKAGE=`brew info --json=v1 crystal-lang | jq '.[].dependencies | .[] | select(startswith("llvm"))'` + on_osx brew link --force $OSX_LLVM_PACKAGE } with_build_env() {