Skip to content

Comments

Fix: Add vim-common package to manylinux Docker image for XLA build#324

Merged
Ruturaj4 merged 1 commit intomasterfrom
ci_xxd
Feb 23, 2026
Merged

Fix: Add vim-common package to manylinux Docker image for XLA build#324
Ruturaj4 merged 1 commit intomasterfrom
ci_xxd

Conversation

@Ruturaj4
Copy link
Contributor

Motivation

The JAX ROCm plugin wheel build fails with the following error:

ERROR: /root/.cache/bazel/_bazel_root/.../external/xla/xla/backends/gpu/target_config/BUILD:25:12: 
Executing genrule @@xla//xla/backends/gpu/target_config:embed_gpu_specs_gen failed: (Exit 127)

/bin/bash: line 35: xxd: command not found

Target //pjrt/tools:build_gpu_plugin_wheel failed to build

The XLA build process includes a genrule (@@xla//xla/backends/gpu/target_config:embed_gpu_specs_gen) that embeds GPU specification files into C++ code using the xxd utility. The xxd command is used to convert binary/text files into C-style hex arrays:

xxd -i "${src}" | sed -e "s/^unsigned char [^[]*/static const unsigned char ${VAR_NAME}/" ...

The xxd utility is not installed in the manylinux builder Docker image, causing the build to fail.

Solution

Add the vim-common package to the manylinux Dockerfile. On RHEL/AlmaLinux-based systems (which manylinux_2_28 is based on), xxd is provided by the vim-common package.

Submission Checklist

@Ruturaj4 Ruturaj4 merged commit 03a446f into master Feb 23, 2026
18 checks passed
@Ruturaj4 Ruturaj4 deleted the ci_xxd branch February 23, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants