about summary refs log tree commit diff homepage
path: root/scripts/build/p-cmake-osx.inc
blob: 52a92004d2bed171062f6475fe2a7d7d5e352f57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Package script for LLVM builds OSX
install_binary_artifact_cmake () {
  # Use the brew provided package
  LLVM_VERSION_MAJOR="${LLVM_VERSION/.*/}"
  brew install "cmake"
}

# Check if the binary artifact is installed
is_installed_cmake() {
  if which cmake ; then
    return 0
  fi

  return 1
}