Make: CI's make VAR=value settles the makefile's flags, and ifeq ($(CC),…) is the compiler dimension

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

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
build-system

Línea de trabajo

Start with plain_make.py:81 and trace how the validator reads Makefile flags and conditions. Reproduce the reported make sanitize=… and compiler condition cases with the small fixtures mentioned in the issue; compare the results with Stockfish's CI. Done means sanitizer flags are credited from the CI command and compiler conditions produce per-compiler flags.

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

Descripción

Problem

  • plain_make.py:81 reads flags with no command-line variables, so make sanitize=address or COMP=clang from CI doesn't settle them. Stockfish's sanitizers aren't found (also the Stockfish item in #486).
  • ifeq ($(CC),clang) is read as a plain requirement, not as the compiler dimension.

Done when

Stockfish's sanitizer flags are credited from its CI's make sanitize=…, and a compiler condition gives per-compiler flags.

Split from #569. Checked against main at 4b4dbb6c on 2026-12-03: the cases above were reproduced with small fixtures or found in the code.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Lenguaje dominante
Python
Estrellas
4
Forks
1
Merge medio
6 h 31 min
PR fusionados (30 d)
238

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 cpp-best-practices/project_validator

Todos los issues de cpp-best-practices/project_validator

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.