* [ptxdist] multiple cmake build setups in one package?
@ 2016-07-19 8:41 Alexander Stein
2016-07-19 11:28 ` Ladislav Michl
2016-07-21 5:18 ` Michael Olbrich
0 siblings, 2 replies; 6+ messages in thread
From: Alexander Stein @ 2016-07-19 8:41 UTC (permalink / raw)
To: ptxdist
Hi,
is it possible to generate several build setups, e.g. multiple software
components, which requires individual cmake calls, within one ptxdist package?
What would be a workaround if I can't do that?
Best regards,
Alexander
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] multiple cmake build setups in one package?
2016-07-19 8:41 [ptxdist] multiple cmake build setups in one package? Alexander Stein
@ 2016-07-19 11:28 ` Ladislav Michl
2016-07-19 11:36 ` Alexander Stein
2016-07-21 5:18 ` Michael Olbrich
1 sibling, 1 reply; 6+ messages in thread
From: Ladislav Michl @ 2016-07-19 11:28 UTC (permalink / raw)
To: ptxdist
On Tue, Jul 19, 2016 at 10:41:00AM +0200, Alexander Stein wrote:
> Hi,
>
> is it possible to generate several build setups, e.g. multiple software
> components, which requires individual cmake calls, within one ptxdist package?
Yes, you can do whatever you want in your compile target. See for example
rules/svgalib.make
> What would be a workaround if I can't do that?
>
> Best regards,
> Alexander
regards,
ladis
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] multiple cmake build setups in one package?
2016-07-19 11:28 ` Ladislav Michl
@ 2016-07-19 11:36 ` Alexander Stein
0 siblings, 0 replies; 6+ messages in thread
From: Alexander Stein @ 2016-07-19 11:36 UTC (permalink / raw)
To: ptxdist
On Tuesday 19 July 2016 13:28:30, Ladislav Michl wrote:
> On Tue, Jul 19, 2016 at 10:41:00AM +0200, Alexander Stein wrote:
> > Hi,
> >
> > is it possible to generate several build setups, e.g. multiple software
> > components, which requires individual cmake calls, within one ptxdist
> > package?
> Yes, you can do whatever you want in your compile target. See for example
> rules/svgalib.make
This seems to have a provided Makefile supporting those different targets. As
slightly different use case. In my case I need to run cmake several times and
create different build directories (out of tree build). The default for
prepare stage calling ptxd_make_world_prepare seems to support only a single
configuration.
Best regards,
Alexander
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] multiple cmake build setups in one package?
2016-07-19 8:41 [ptxdist] multiple cmake build setups in one package? Alexander Stein
2016-07-19 11:28 ` Ladislav Michl
@ 2016-07-21 5:18 ` Michael Olbrich
2016-07-26 7:55 ` Alexander Stein
1 sibling, 1 reply; 6+ messages in thread
From: Michael Olbrich @ 2016-07-21 5:18 UTC (permalink / raw)
To: ptxdist
Hi,
On Tue, Jul 19, 2016 at 10:41:00AM +0200, Alexander Stein wrote:
> is it possible to generate several build setups, e.g. multiple software
> components, which requires individual cmake calls, within one ptxdist package?
> What would be a workaround if I can't do that?
Why don't you create multiple ptxdist packages with the same source
archive?
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] multiple cmake build setups in one package?
2016-07-21 5:18 ` Michael Olbrich
@ 2016-07-26 7:55 ` Alexander Stein
2016-07-27 6:59 ` Michael Olbrich
0 siblings, 1 reply; 6+ messages in thread
From: Alexander Stein @ 2016-07-26 7:55 UTC (permalink / raw)
To: ptxdist; +Cc: Michael Olbrich
Hi,
On Thursday 21 July 2016 07:18:40, Michael Olbrich wrote:
> On Tue, Jul 19, 2016 at 10:41:00AM +0200, Alexander Stein wrote:
> > is it possible to generate several build setups, e.g. multiple software
> > components, which requires individual cmake calls, within one ptxdist
> > package? What would be a workaround if I can't do that?
>
> Why don't you create multiple ptxdist packages with the same source
> archive?
That's an idea I also had in mind, I think this will work. It should be
possible to cross-reference source tarball and md5sum to keep them in sync.
Best regards,
Alexander
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] multiple cmake build setups in one package?
2016-07-26 7:55 ` Alexander Stein
@ 2016-07-27 6:59 ` Michael Olbrich
0 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2016-07-27 6:59 UTC (permalink / raw)
To: ptxdist
Hi,
On Tue, Jul 26, 2016 at 09:55:48AM +0200, Alexander Stein wrote:
> On Thursday 21 July 2016 07:18:40, Michael Olbrich wrote:
> > On Tue, Jul 19, 2016 at 10:41:00AM +0200, Alexander Stein wrote:
> > > is it possible to generate several build setups, e.g. multiple software
> > > components, which requires individual cmake calls, within one ptxdist
> > > package? What would be a workaround if I can't do that?
> >
> > Why don't you create multiple ptxdist packages with the same source
> > archive?
>
> That's an idea I also had in mind, I think this will work. It should be
> possible to cross-reference source tarball and md5sum to keep them in sync.
Indeed it should. Take a look at protobuf / python-protobuf. That's a
similar use-case.
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-07-27 6:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-19 8:41 [ptxdist] multiple cmake build setups in one package? Alexander Stein
2016-07-19 11:28 ` Ladislav Michl
2016-07-19 11:36 ` Alexander Stein
2016-07-21 5:18 ` Michael Olbrich
2016-07-26 7:55 ` Alexander Stein
2016-07-27 6:59 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox