Reduce the number of LLVM tools built to improve size and compilation time

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cmake
領域
build-system

調査の方向性

Start with the config file and the LLVM_TOOL__BUILD CMake variables mentioned in the issue, and inventory which tools and dependencies are currently enabled. The work is done when unused tools are disabled, the requested clang, lld, clang-tidy, scan-build, and clang-format remain available, and the first-stage LLVM build has its narrower tool set.

索引モデルが issue の本文から書いたものです。

説明

There are many tools we don't use or need.
Off the top of my head what we really need is clang, lld, clang-tidy, scan-build, clang-format, excluded dependencies.

The way I started to trim things is by disabling the one we don't use through setting the respective CMake variables, which are named LLVM_TOOL_<TOOL NAME>_BUILD.
I'm not 100% sure they are all consistent with that format, but if they are we could even list them in the config file and make them easily selectable.

Worth nothing that the first stage LLVM needs only clang and lld, plus dependencies, so we can have to sets of tools disabled and save more time there.

主要言語
Shell
スター
43
フォーク
23
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

osquery/osquery-toolchain のほかの issue

osquery/osquery-toolchain の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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