Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2023 21:22:48 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: bc68c55166ad - stable/13 - .github: Attempt to fix and increase robustness of macOS action
Message-ID:  <202302222122.31MLMmRI014980@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=bc68c55166ada973141542c9c719f562475cb80c

commit bc68c55166ada973141542c9c719f562475cb80c
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2022-06-30 20:03:26 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-02-22 20:47:12 +0000

    .github: Attempt to fix and increase robustness of macOS action
    
    Homebrew has added LLVM 14 and made that the default version, but GitHub
    continues to install LLVM 13 for now, so it ends up only accessible via
    the versioned name and not the unversioned one. We also add an explicit
    installation of llvm@13 so that, if GitHub updates the image to using
    LLVM 14, the action continues to work, albeit slightly more slowly. This
    also ensures the compiler label remains correct rather than outdated, as
    has occurred in the past, and that we don't get new versions of LLVM
    before we're ready for them, which is especially relevant for stable
    branches. This all mirrors how the Ubuntu jobs are configured.
    
    (cherry picked from commit 22f731486e80fdbf679712b2a99605ba97a50264)
---
 .github/workflows/cross-bootstrap-tools.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/cross-bootstrap-tools.yml b/.github/workflows/cross-bootstrap-tools.yml
index c6df31e4fbee..9630470d0420 100644
--- a/.github/workflows/cross-bootstrap-tools.yml
+++ b/.github/workflows/cross-bootstrap-tools.yml
@@ -30,8 +30,8 @@ jobs:
             pkgs: bmake libarchive-dev clang-14 lld-14
           - os: macos-latest
             compiler: clang-13
-            cross-bindir: /usr/local/opt/llvm/bin
-            pkgs: bmake libarchive
+            cross-bindir: /usr/local/opt/llvm@13/bin
+            pkgs: bmake libarchive llvm@13
           - target_arch: amd64
             target: amd64
           - target_arch: aarch64



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302222122.31MLMmRI014980>