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

Use non-prebuild Java toolchain configuration #451

Merged
merged 5 commits into from
Nov 24, 2023

Commits on Nov 23, 2023

  1. Use non-prebuild Java toolchain configuration

    On NixOS we cannot use the pre-built `ijar` and `singlejar` tools as they are not
    statically build and fail to find the dynamic linker.
    
    Fixes #278
    avdv committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    a53f9c3 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. Update rules_java to 6.5.2

    We were still on version 4.0.0 but already got version 5.5.1 in the resolved dependency graph.
    
    We need to use at least version 6.1.0 since former versions of rules_java failed to declare a
    dependency on rules_license which is now referenced.
    avdv committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    9ab31c5 View commit details
    Browse the repository at this point in the history
  2. Do not use Xcode on MacOS

    This fixes CI errors for toolchains/java:
    ```
    external/bazel_tools/tools/osx/xcode_configure.bzl:93:14: Invoking xcodebuild failed, developer dir: /Applications/Xcode_12.4.app/Contents/Developer ,return code 1, stderr: src/main/tools/process-wrapper-legacy.cc:80: "execvp(xcrun, ...)": No such file or directory
    ```
    avdv committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    a4019ab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5c70ff3 View commit details
    Browse the repository at this point in the history
  4. Add cctools to build inputs on Darwin

    Bazel requires `libtool` for creating static archives on Darwin instead of the `ar` tool.
    avdv committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    de6e2b8 View commit details
    Browse the repository at this point in the history