Skip to content

Conversation

@lalten
Copy link
Contributor

@lalten lalten commented Sep 26, 2025

Turns out Eigen 5 is (about to be) released!
https://gitlab.com/libeigen/eigen/-/releases/5.0.0

This is an alternative to #6004

@bazel-io
Copy link
Member

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (eigen) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for Eigen version 5.0.0 to the Bazel Central Registry. The changes are well-structured and mostly adhere to the BCR contribution guidelines. I have one piece of feedback regarding an outdated dependency on rules_cc, which should be updated to a more recent version to enhance maintainability and prevent potential dependency conflicts for downstream users.

@lalten
Copy link
Contributor Author

lalten commented Sep 27, 2025

@bazel-io skip_check unstable_url

@bazel-io bazel-io added the skip-url-stability-check Skip the URL stability check for the PR label Sep 27, 2025
@meteorcloudy
Copy link
Member

Please rebase the branch

@lalten
Copy link
Contributor Author

lalten commented Sep 30, 2025

waiting for https://gitlab.com/libeigen/eigen/-/issues/2919#note_2784921071 to see if we can get a stable source url (mirror) from upstream

@lalten
Copy link
Contributor Author

lalten commented Oct 3, 2025

hmm presubmit complains shutil.ReadError: Unknown archive format '/tmp/tmpf_ging38/download', not sure what's the right way to handle mirror_urls (from bazelbuild/bazel#25928) where the file name is different @meteorcloudy?

The package_files one is supposed to be stable as it's manually uploaded instead of autogenerated, see https://gitlab.com/libeigen/eigen/-/issues/2919#note_2786932938

All archives are definitely the same file:

$ for f in \
  "https://gitlab.com/libeigen/eigen/-/package_files/233618368/download" \
  "https://github.com/eigen-mirror/eigen/archive/refs/tags/5.0.0.tar.gz" \
  "https://gitlab.com/libeigen/eigen/-/archive/5.0.0/eigen-5.0.0.tar.gz" \
; do echo $f; curl -fsSL $f | sha256sum; done
https://gitlab.com/libeigen/eigen/-/package_files/233618368/download
315c881e19e17542a7d428c5aa37d113c89b9500d350c433797b730cd449c056  -
https://github.com/eigen-mirror/eigen/archive/refs/tags/5.0.0.tar.gz
315c881e19e17542a7d428c5aa37d113c89b9500d350c433797b730cd449c056  -
https://gitlab.com/libeigen/eigen/-/archive/5.0.0/eigen-5.0.0.tar.gz
315c881e19e17542a7d428c5aa37d113c89b9500d350c433797b730cd449c056  -

Looks like explicitly adding archive_type doesn't help: e9cfa61

--> Fixing in #6093, let's land that first

Wyverald pushed a commit that referenced this pull request Oct 3, 2025
Use archive_type from source.json if specified
Needed in
#6006 (comment)

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@lalten
Copy link
Contributor Author

lalten commented Oct 4, 2025

Looks green now :)

@jwnimmer-tri should I add you as maintainer?

@Wyverald Wyverald merged commit 593c4f4 into bazelbuild:main Oct 6, 2025
34 checks passed
kotlaja pushed a commit to kotlaja/bazel-central-registry that referenced this pull request Oct 16, 2025
Use archive_type from source.json if specified
Needed in
bazelbuild#6006 (comment)

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
kotlaja pushed a commit to kotlaja/bazel-central-registry that referenced this pull request Oct 16, 2025
Turns out Eigen 5 is (about to be) released!
https://gitlab.com/libeigen/eigen/-/releases/5.0.0

This is an alternative to
bazelbuild#6004
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-url-stability-check Skip the URL stability check for the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants