[libcxx-commits] [libcxx] fbc3e69 - [libc++] ci: Create ~/Library/LaunchAgents if it does not exist yet

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 16 08:48:18 PDT 2021


Author: Louis Dionne
Date: 2021-07-16T11:48:10-04:00
New Revision: fbc3e69f58d0e2e8e143c2a098cc7443bae2fdbb

URL: https://github.com/llvm/llvm-project/commit/fbc3e69f58d0e2e8e143c2a098cc7443bae2fdbb
DIFF: https://github.com/llvm/llvm-project/commit/fbc3e69f58d0e2e8e143c2a098cc7443bae2fdbb.diff

LOG: [libc++] ci: Create ~/Library/LaunchAgents if it does not exist yet

Added: 
    

Modified: 
    libcxx/utils/ci/macos-ci-setup

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/macos-ci-setup b/libcxx/utils/ci/macos-ci-setup
index 058d4f5441a7..eb16c47573bf 100755
--- a/libcxx/utils/ci/macos-ci-setup
+++ b/libcxx/utils/ci/macos-ci-setup
@@ -27,6 +27,7 @@ set -e
 # Install a Launchd agent that will automatically start the BuildKite agent at login
 if [[ ${1} == "--setup-launchd" ]]; then
   HOMEBREW_PREFIX="$(brew --prefix)"
+  mkdir -p ~/Library/LaunchAgents
   cat <<EOF > ~/Library/LaunchAgents/libcxx.buildkite-agent.plist
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">


        


More information about the libcxx-commits mailing list