This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 585c955ced3edf59ebb858ea571675468d19ff61 Mon Sep 17 00:00:00 2001 | |
| From: Steeve Morin <steeve@zml.ai> | |
| Date: Tue, 5 May 2026 12:21:50 +0000 | |
| Subject: [PATCH 4/4] Revert "llvm: disable loop vectorization for now" | |
| This reverts commit 032319c94257e650abc7a4743298154c218dba89. | |
| Requires https://github.com/llvm/llvm-project/pull/187023 | |
| Cherry-picked in https://github.com/zml/llvm-project/commit/90a6bfb07e159f9358ce428542c30c0873d32b3f | |
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -eux | |
| readonly xcode12="/Applications/Xcode-12.5.0.app" | |
| readonly xcode13="/Applications/Xcode-13.1.0.app" | |
| # Backup Xcode 12 Info.plist | |
| cp "${xcode12}/Contents/Info.plist" "${xcode12}/Contents/Info.plist.bak" | |
| # Extract Xcode 13's CFBundleVersion | |
| readonly xcode13_version=$(/usr/bin/plutil -extract "CFBundleVersion" raw "${xcode13}/Contents/Info.plist") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package(default_visibility = ["//visibility:public"]) | |
| load("@bazel_tools//tools/cpp:unix_cc_toolchain_config.bzl", "cc_toolchain_config") | |
| load("@rules_cc//cc:defs.bzl", "cc_toolchain", "cc_toolchain_suite") | |
| licenses(["notice"]) # Apache 2.0 | |
| filegroup( | |
| name = "empty", | |
| srcs = [], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ bazel build @com_github_apple_swift_protobuf//:SwiftProtobuf --remote_download_minimal --remote_max_connections=30 --remote_timeout=30 | |
| Target @com_github_apple_swift_protobuf//:SwiftProtobuf up-to-date: | |
| bazel-bin/external/com_github_apple_swift_protobuf/SwiftProtobuf-Swift.h | |
| bazel-bin/external/com_github_apple_swift_protobuf/SwiftProtobuf.swiftdoc | |
| bazel-bin/external/com_github_apple_swift_protobuf/SwiftProtobuf.swiftmodule | |
| bazel-bin/external/com_github_apple_swift_protobuf/libSwiftProtobuf.a | |
| INFO: Elapsed time: 10.455s, Critical Path: 3.09s | |
| INFO: 136 processes: 122 remote cache hit, 14 internal. | |
| INFO: Build completed successfully, 136 total actions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gcloud iam service-accounts create bazel-cache --project MYPROJECT | |
| ROLES=(run.invoker storage.objectCreator storage.objectViewer) | |
| for role in ${ROLES}; do | |
| gcloud projects add-iam-policy-binding MYPROJECT \ | |
| --member=serviceAccount:bazel-cache@MYPROJECT.iam.gserviceaccount.com \ | |
| --role=roles/${role} | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://osxapps.itunes.apple.com/itunes-assets/Purple113/v4/53/ee/eb/53eeeb98-3d0f-3ae5-d75c-71b6039e92af/yus17983763444028048468.pkg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bytes" | |
| "debug/macho" | |
| "encoding/binary" | |
| "fmt" | |
| "io" | |
| "os" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@dc8b20086470:/apple# cat main.swift | |
| print("Hello, world!") | |
| root@dc8b20086470:/apple# uname -a | |
| Linux dc8b20086470 4.9.125-linuxkit #1 SMP Fri Sep 7 08:20:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | |
| root@dc8b20086470:/apple# PATH=${DEVELOPER_DIR}/Toolchains/XcodeDefault.xctoolchain/usr/bin:${PATH} \ | |
| swiftc \ | |
| -Xlinker -rpath -Xlinker /usr/lib/swift \ | |
| -target x86_64-apple-darwin18.6.0 \ | |
| -sdk ${DEVELOPER_DIR}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk \ | |
| -o from.linux \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0.25.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| genrule( | |
| name = "kubeconfig", | |
| stamp = True, | |
| outs = ["k3s.yaml"], | |
| cmd = """\ | |
| docker cp k3s:/etc/rancher/k3s/k3s.yaml $@ | |
| """, | |
| visibility = ["//visibility:public"], | |
| ) |
NewerOlder