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

Abierto
#3 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
cmake
Área
build-system

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Shell
Estrellas
43
Forks
23
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de osquery/osquery-toolchain

Todos los issues de osquery/osquery-toolchain

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.