`buildtool_export_depend` and `build_export_depend`
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Ambito
- build-system
Direzione di ricerca
Inizia tracciando dove buildtool_export_depends e build_export_depends diventano dipendenze di runtime nel flusso di generazione delle recipe conda. Confronta questo comportamento con la semantica di REP 149 citata nell’issue e con gli ambienti host/build di conda; il lavoro è completato quando queste dipendenze vengono separate correttamente senza aggiungere dipendenze di runtime indesiderate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I was looking at the dependencies of some packages and noticed that they sometimes depend on amend_cmake (take for instance ros-kilted-rmw-connextdds). These build dependencies sometimes include a large number of unwanted dependencies. And I was trying to see if we can slim that down.
I tracked this down to the buildtool_export_depends and build_export_depends being added as run-dependencies.
To clarify this is what REP 149 says:
buildtool_export_depend
Declares a rosdep key or ROS package name that this package exports which must be compiled and run on the build system, not the target system. > For cross-compilation, one must distinguish these from target build dependencies, which may be linked with your package and must be compiled for the target architecture.
<build_export_depend>
Declares a rosdep key or ROS package name that this package needs as part of some build interface it exports. For system packages, the rosdep key will normally specify the "development" package, which frequently ends in "-dev".
The <build_export_depend> declares a transitive build dependency. A common example is when one of your dependencies provides a header file included in some header exported by your package. Even if your package does not use that header when building itself, other packages depending on your header will require those transitive dependencies when they are built.
I translate this to; if we are building a package baz that has a dependency on a package foobar:
- If
foobaris a dependency, we should also include itsbuild_export_dependsin thehostenvironment. - If
foobaris a dependency, we should also include itsbuildtool_export_dependsin thebuildenvironment.
I don't think that at the moment there is good mechanism to do this with the conda build infrastructure.
I'm wondering what could potentially be a good approach to properly support this mechanism.
- Lingua principale
- Python
- Stelle
- 20
- Fork
- 24
- Merge medio
- 1g 16h
- PR unite (30g)
- 17
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di RoboStack/vinca
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
Remove distro mutex version Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
Tutte le issue di RoboStack/vinca
Issue simili
-
bug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
open-webui/open-webui#30750 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100