clang compiler version do not include the latest versions

未关闭
#23 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
docker

调研方向

首先跟踪编译器版本在 workflow 和 Docker build 配置中的表示方式,重点关注 issue 中提到的 clang 标识符。检查现有 URL 和编译器选择如何处理版本匹配;完成的标准是默认使用更新的 patch 版本,同时不使现有 URL 失效,也不让 build 和选择菜单变得难以管理。

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

描述

Hi all,

I realized that for the clang compiler for every major release only the first update version is available but not the latest one.

E.g. for 17.0.x only 17.0.1 is available but that does not include the latest update version 17.0.6 .

The problem is that compiler explorer is heavily used for reporting bugs and working on outdated update versions gives a wrong picture.

I could imaging that updating the update version poses several challenges:

  1. Internally, the clang compiler is identified by the whole version number .e.g. clang1701 for 17.0.1 . Updating clang1701 to clang1706 would invalidate all existing URLs.
  2. Keeping all update versions would blow up the docker building.
  3. Keeping all update versions would blow up the selection menu.

I suggest to always use the lastest update version, i.e. clang1706 for 17.0, and allow that using clang170x will automatically use clang1706 per default if no other direct matching compiler is installed.

Thank you for effort in creating such a nice product!

主要语言
Python
星标
26
派生
44
平均合并
15 小时 40 分钟
30 天内合并 PR
6

环境准备

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

从这里开始

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

compiler-explorer/compiler-workflows 的其他 Issue

查看 compiler-explorer/compiler-workflows 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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