Build the bundled flatc only when its inputs changed, and build it in parallel
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
- 22/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- cmake, python
- Área
- build-system
Línea de trabajo
Start in hatch_build.py, at _build_flatc(), which currently deletes deps/flatbuffers/build, reconfigures with cmake, and builds flatc on one core. Read the just recipes that invoke the build, and the linked zlmdb issue for the shared design. Done means a stamp stored beside the packaged binary lets an unchanged build be skipped, the build runs with parallel jobs, AUTOBAHN_FORCE_FLATC_BUILD=1 forces a rebuild, and just clean clears the stamp. The issue asks for one implementation synced to zlmdb, so the design needs maintainer agreement first.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Same problem and same fix as crossbario/zlmdb#TODO. The two repositories share
hatch_build.py _build_flatc().
On every build, including every editable install, _build_flatc() deletes
deps/flatbuffers/build, configures with cmake again, and builds flatc on one core
(cmake --build without --parallel). Local just recipes that install first therefore
rebuild the same flatc from the same source again and again.
Proposal, as detailed in the zlmdb issue:
- a sha256 stamp over what
flatcis built from: thedeps/flatbufferscommit (and
whether it has local changes), the configure arguments, the target platform and
toolchain, and a version for the build logic. Store it next to the packaged binary; - skip the build when the binary exists and the stamp matches. Otherwise build
incrementally, keeping the build directory unless the configure arguments or the
toolchain changed; - build in parallel (
--parallel <os.cpu_count()>, unlessCMAKE_BUILD_PARALLEL_LEVEL
is set); - force a rebuild with
AUTOBAHN_FORCE_FLATC_BUILD=1, and injust clean.
The toolchain in the stamp also keeps a host-built flatc out of wheels built for
another architecture or libc in a container with the repository mounted.
Both repositories should use the same implementation, so it is written once and then
synced.
Note: This issue was drafted with AI assistance (Claude Code).
- Lenguaje dominante
- Python
- Estrellas
- 2.5k
- Forks
- 769
- Merge medio
- 1 d 11 h
- PR fusionados (30 d)
- 16
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de crossbario/autobahn-python
-
CI-CD enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
crossbario/autobahn-python#1945 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug CI-CD
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
crossbario/autobahn-python#1932 ·
Los mantenedores suelen responder en 1 día
-
CI-CD enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
crossbario/autobahn-python#1829 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Uniform decompression-budget and corrupt-input handling across all permessage-* extensionsPosiblemente ocupada @oberstet la tomó hoy. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
crossbario/autobahn-python#1986 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
crossbario/autobahn-python#1963 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de crossbario/autobahn-python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
infrastructure qa
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
khuisman/mcp-gee-sweet#1068 ·
Los mantenedores suelen responder en 1 día
-
The book has a Nix install section that chelis.ch lacks, and it names two of the three systemsAbiertoarea:ecosystem documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Chelis-Lang/chelis#3866 ·
Los mantenedores suelen responder en 1 día
-
`lvm_compact` has no self-hosted twin, and `docs/158` §5 says every language-face component mustAbiertobug sev-3 vm
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
issue: Picking a prompt from the / menu in a channel inserts a command chip instead of the promptAbiertobug confirmed issue
Dificultad 2/5 Medio día Aptitud para principiantes 78/100
open-webui/open-webui#32712 · 2 comentarios ·
Los mantenedores suelen responder en 1 día