CMake build using v0.1.86 fails: abseil pin ce2e0bc is broken ("Target "absl_strings" links to itself")

未关闭 适合新手
#306 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
cmake, cpp
领域
build-system

调研方向

abseil 的提交固定在 third_party/abseil_cpp/workspace.bzl 中,需要修改的就是这个文件。请确认当前固定的提交 ce2e0bc 早于 abseil 的修复 d21659a5af,然后将固定版本更新为与该修复相同或更新的提交。在全新的 v0.1.86 CMake 配置中通过 generate 阶段且不再出现 "absl_strings links to itself" 错误时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

The CMake (FetchContent / bazel_to_cmake) build of tensorstore v0.1.86 is failing for me at the CMake generate step. Observed with CMake 4.4.4 / MSVC (VS2026) / Ninja Multi-Config on Windows.

The abseil-cpp commit pinned in third_party/abseil_cpp/workspace.bzl comes from a time where abseil's own CMake build was broken. tensorstore master currently pins the same commit, so it is affected too.

The abseil issue is https://github.com/abseil/abseil-cpp/issues/2091 . Abseil fixed this upstream on 2026-07-01 in commit d21659a5af ("Fix CMake target absl_strings so that it does not link to itself").

Since this is fixed in abseil, perhaps tensorstore could just pin a commit after the fix went in.

主要语言
C++
星标
1.6k
派生
150
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

google/tensorstore 的其他 Issue

查看 google/tensorstore 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。