diff options
Diffstat (limited to 'scripts/build/p-cmake-osx.inc')
-rw-r--r-- | scripts/build/p-cmake-osx.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/build/p-cmake-osx.inc b/scripts/build/p-cmake-osx.inc new file mode 100644 index 00000000..52a92004 --- /dev/null +++ b/scripts/build/p-cmake-osx.inc @@ -0,0 +1,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 +} \ No newline at end of file |