clang compiler version do not include the latest versions

オープン
#23 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker

調査の方向性

まず、workflow と Docker build 設定でコンパイラのバージョンがどのように表現されているかを追跡し、issue で言及されている clang 識別子に注目します。既存の URL とコンパイラの選択処理がバージョンの一致をどのように扱っているかを確認します。完了条件は、既存の URL を無効にしたり、build と選択メニューを管理しにくくしたりせずに、より新しい patch バージョンがデフォルトで使用されることです。

索引モデルが 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分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

compiler-explorer/compiler-workflows のほかの issue

compiler-explorer/compiler-workflows の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。