Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build xcode-locator as a universal binary #14168

Commits on Oct 28, 2021

  1. Build xcode-locator as a universal binary

    One of Buildbarn's users is attempting to build it on a Mac M1 system
    that does not have Rosetta installed:
    
    buildbarn/bb-remote-execution#89
    
    This currently fails with the following error message:
    
        ERROR: <storage>/external/com_google_protobuf/BUILD:130:11: Compiling src/google/protobuf/extension_set.cc failed: I/O exception during sandboxed execution: com.google.devtools.build.lib.shell.ExecFailedException: java.io.IOException: Cannot run program "<tmp>/install/71ed47cad951a20fff87381f54639763/xcode-locator": error=86, Bad CPU type in executable
    
    Let's address this by shipping a copy of xcode-locator that is built
    both for ARM64 and x86-64.
    EdSchouten committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    447f012 View commit details
    Browse the repository at this point in the history