[tor-commits] [builders/tor-browser-build] 01/02: Bug 40620: Fix detection of macosx-sdk version in list_toolchain_updates_checks

gitolite role git at cupani.torproject.org
Fri Sep 2 17:01:52 UTC 2022


This is an automated email from the git hooks/post-receive script.

boklm pushed a commit to branch main
in repository builders/tor-browser-build.

commit 79c55d457578d646f8673ed9690d5e3298edc895
Author: Nicolas Vigier <boklm at torproject.org>
AuthorDate: Thu Sep 1 12:06:15 2022 +0200

    Bug 40620: Fix detection of macosx-sdk version in list_toolchain_updates_checks
---
 projects/firefox/list_toolchain_updates_checks | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/projects/firefox/list_toolchain_updates_checks b/projects/firefox/list_toolchain_updates_checks
index a87b60c..67f655c 100644
--- a/projects/firefox/list_toolchain_updates_checks
+++ b/projects/firefox/list_toolchain_updates_checks
@@ -145,17 +145,11 @@ check_update_needed python "$needed" "$current"
 [% IF c("var/osx") %]
 # macosx-sdk
 read -d '' p << 'EOF' || true
-my $d = YAML::XS::LoadFile('taskcluster/ci/toolchain/clang.yml');
-my $clang_toolchain;
-foreach my $t (keys %$d) {
-  if ($d->{$t}{run}{'toolchain-alias'} eq 'macosx64-clang') {
-    foreach my $toolchain (@{$d->{$t}{fetches}{toolchain}}) {
-      if ($toolchain =~ m/^macosx64-sdk-(.+)$/) {
-        print $1;
-        exit;
-      }
-    }
-    last;
+my $d = YAML::XS::LoadFile('taskcluster/ci/build/macosx.yml');
+foreach my $toolchain (@{$d->{'macosx64-add-on-devel/opt'}{fetches}{toolchain}}) {
+  if ($toolchain =~ m/^macosx64-sdk-(.+)$/) {
+    print $1;
+    exit;
   }
 }
 EOF

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list