Temporary Deprecation

BP
Brian Padalino
Tue, Jan 19, 2021 3:13 PM

I have a project I am porting which has a lot of different components,
workers, devices, etc.  I am interested in temporarily deprecating some of
these until I can get other parts working.  There's enough of it that I
want to build such that building them individually is a pain, so I'd like
to have it all go in one-fell-swoop.

Is there any good way to deprecate/suppress the building of some components
in a project?

Thanks,
Brian

I have a project I am porting which has a lot of different components, workers, devices, etc. I am interested in temporarily deprecating some of these until I can get other parts working. There's enough of it that I want to build such that building them individually is a pain, so I'd like to have it all go in one-fell-swoop. Is there any good way to deprecate/suppress the building of some components in a project? Thanks, Brian
AO
Aaron Olivarez
Tue, Jan 19, 2021 4:28 PM

In the component library directory Makefile you can use Workers = , an
example can be found
https://gitlab.com/opencpi/opencpi/-/blob/develop/projects/assets/hdl/devices/Makefile
. Another way is to use ExcludeWorkers= , an example
https://gitlab.com/opencpi/opencpi/-/blob/develop/projects/tutorial/components/Makefile
.

Aaron

On Tue, Jan 19, 2021 at 9:14 AM Brian Padalino bpadalino@gmail.com wrote:

I have a project I am porting which has a lot of different components,
workers, devices, etc.  I am interested in temporarily deprecating some of
these until I can get other parts working.  There's enough of it that I
want to build such that building them individually is a pain, so I'd like
to have it all go in one-fell-swoop.

Is there any good way to deprecate/suppress the building of some components
in a project?

Thanks,
Brian

In the component library directory Makefile you can use Workers = , an example can be found https://gitlab.com/opencpi/opencpi/-/blob/develop/projects/assets/hdl/devices/Makefile . Another way is to use ExcludeWorkers= , an example https://gitlab.com/opencpi/opencpi/-/blob/develop/projects/tutorial/components/Makefile . Aaron On Tue, Jan 19, 2021 at 9:14 AM Brian Padalino <bpadalino@gmail.com> wrote: > I have a project I am porting which has a lot of different components, > workers, devices, etc. I am interested in temporarily deprecating some of > these until I can get other parts working. There's enough of it that I > want to build such that building them individually is a pain, so I'd like > to have it all go in one-fell-swoop. > > Is there any good way to deprecate/suppress the building of some components > in a project? > > Thanks, > Brian >