bazel-contrib / bazel-contrib/rules_perl

Windows ARM64 support

Open
#116 4 comments 0 reactions 0 assignees Claimed by @skeletonkey View on GitHub
Dominant language
Starlark
Stars
31
Forks
49
PR merge metrics
No merged PRs in 30d

Description

```
INFO: ToolchainResolution: Performing resolution of @@rules_perl+//perl:toolchain_type for target platform //build/native/platforms:local_windows
ToolchainResolution: Toolchain @@rules_perl+//perl:perl_darwin_arm64_toolchain_impl is compatible with target platform, searching for execution platforms:
ToolchainResolution: Incompatible execution platform //build/native/platforms:local_windows; mismatching values: osx
ToolchainResolution: Toolchain @@rules_perl+//perl:perl_darwin_amd64_toolchain_impl is compatible with target platform, searching for execution platforms:
ToolchainResolution: Incompatible execution platform //build/native/platforms:local_windows; mismatching values: osx, x86_64
ToolchainResolution: Toolchain @@rules_perl+//perl:perl_linux_amd64_toolchain_impl is compatible with target platform, searching for execution platforms:
ToolchainResolution: Incompatible execution platform //build/native/platforms:local_windows; mismatching values: linux, x86_64
ToolchainResolution: Toolchain @@rules_perl+//perl:perl_linux_arm64_toolchain_impl is compatible with target platform, searching for execution platforms:
ToolchainResolution: Incompatible execution platform //build/native/platforms:local_windows; mismatching values: linux
ToolchainResolution: Toolchain @@rules_perl+//perl:perl_windows_x86_64_toolchain_impl is compatible with target platform, searching for execution platforms:
ToolchainResolution: Incompatible execution platform //build/native/platforms:local_windows; mismatching values: x86_64
ToolchainResolution: No @@rules_perl+//perl:toolchain_type toolchain found for target platform //build/native/platforms:local_windows.
ERROR: C:/programdata/_bazel/dnzrtnud/external/rules_perl+/perl/BUILD.bazel:61:23: While resolving toolchains for target @@rules_perl+//perl:current_toolchain (330a3d4): No matching toolchains found for types:
@@rules_perl+//perl:toolchain_type
To debug, rerun with --toolchain_resolution_debug='@@rules_perl+//perl:toolchain_type'
For more information on platforms or toolchains see https://bazel.build/concepts/platforms-intro.
```

Relates to https://github.com/StrawberryPerl/Perl-Dist-Strawberry/issues/218

Contributor guide

Open the contributing guide

Research direction

Start with the toolchain definitions referenced in external rules_perl+/perl/BUILD.bazel and inspect open pull request #125 alongside the reported Windows ARM64 resolution failure. Compare the existing Windows and ARM64 toolchains, and verify that the Perl toolchain resolves for the local_windows ARM64 target without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
build-system, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.