new codegen and ccache doesn't work together

Aperta
#42 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
28/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
build-system

Direzione di ricerca

The report reproduces with ./fips set ccache on, a ninja config, ./fips clean all and ./fips build, and the hypothesis is that the ALL_GENERATE target does not run before targets consuming generated sources. Start by finding where the generator's make/ninja file is emitted in the Python build-system code under the fips package and where the generated sources directory is placed relative to the source tree. Confirm the ordering by rebuilding with ccache on and off, then fix the dependency so generated sources exist before compilation; done looks like a clean ccache build succeeding without a manual generator rerun.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
  • switch on ccache: './fips set ccache on'
  • set a ninja or make config: './fips set config osx-ninja-release'
  • clean: './fips clean all'
  • build: './fips build'

Compile errors because the generator target hasn't been rerun.

Is this because the generated sources are outside the source tree? Didn't this work before but didn't fail because the generated sources were existed (but in the previous version)?

Problem seems to be that the ALL_GENERATE target isn't run before the actual targets which contain code generation files.

Lingua principale
Python
Stelle
506
Fork
84
Merge medio
13h 14m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di floooh/fips

Tutte le issue di floooh/fips

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.