bitter-ability-32190
06/02/2022, 2:50 PMInjectDependenciesRequest
you use the Dependencies
field, but most target types just use the vanilla field, right?
That means if I only care about FortranDependencies
I can't tell the engine not to give me every Dependencies
field, only the Fortran ones?
Should we subclass Dependencies
for each language to reduce the overhead of these requests?
E.g. fortan_source
stops using vanilla Dependencies
and instead declares and uses FortranDependencies
.ancient-vegetable-10556
06/02/2022, 2:50 PMbitter-ability-32190
06/02/2022, 2:51 PMThis will
cause the class, and any subclass, to have the injection. Register this subclass with
`UnionRule(InjectDependenciesRequest, InjectFortranDependencies)`, for example.
bitter-ability-32190
06/02/2022, 2:52 PMpython_sources
using Dependencies
.fast-nail-55400
06/02/2022, 2:56 PMScalaDependenciesField
, GoThirdPartyPackageDependenciesField
fast-nail-55400
06/02/2022, 2:56 PMDependencies
subclasses so out-of-tree plugins have a place to hook in?bitter-ability-32190
06/02/2022, 2:58 PMancient-vegetable-10556
06/02/2022, 2:58 PMbitter-ability-32190
06/02/2022, 3:00 PMbitter-ability-32190
06/02/2022, 4:12 PMInject...
because I need the evaluated Deps anywaysbitter-ability-32190
06/02/2022, 4:15 PMbitter-ability-32190
06/02/2022, 4:18 PMbitter-ability-32190
06/02/2022, 4:19 PMfast-nail-55400
06/02/2022, 4:19 PMbitter-ability-32190
06/02/2022, 4:20 PMfast-nail-55400
06/02/2022, 4:21 PMbitter-ability-32190
06/02/2022, 4:21 PM--foo-bar-use-gpu
and the dependencies on the CPU-bound foo-bar
package are replaced with the GPU package. (Techincally all I can do is insert, not replace, see my recent issue but I have a workaround)bitter-ability-32190
06/02/2022, 4:22 PM"3rdparty/python/deps:repository#mxnet"
with `"3rdparty/python/deps:repository#mxnet-cu102`"bitter-ability-32190
06/02/2022, 4:23 PMbitter-ability-32190
06/02/2022, 4:24 PMfast-nail-55400
06/02/2022, 4:25 PMbitter-ability-32190
06/02/2022, 4:25 PMbitter-ability-32190
06/02/2022, 4:29 PMException: The dependency graph contained a cycle: