* [PATCH] all programs that are linked with -lrttest must depend on librttest.a
@ 2015-02-19 19:59 Robert Schwebel
2015-02-19 22:44 ` Clark Williams
0 siblings, 1 reply; 3+ messages in thread
From: Robert Schwebel @ 2015-02-19 19:59 UTC (permalink / raw)
To: Clark Williams; +Cc: Michael Olbrich, linux-rt-users
From: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 9e479d3c0dca..4ee553849cce 100644
--- a/Makefile
+++ b/Makefile
@@ -73,14 +73,14 @@ cyclictest: cyclictest.o librttest.a
signaltest: signaltest.o librttest.a
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
-pi_stress: pi_stress.o
+pi_stress: pi_stress.o librttest.a
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
hwlatdetect: src/hwlatdetect/hwlatdetect.py
chmod +x src/hwlatdetect/hwlatdetect.py
ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect
-rt-migrate-test: rt-migrate-test.o
+rt-migrate-test: rt-migrate-test.o librttest.a
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
ptsematest: ptsematest.o librttest.a
@@ -101,7 +101,7 @@ sendme: sendme.o librttest.a
pip_stress: pip_stress.o librttest.a
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
-hackbench: hackbench.o
+hackbench: hackbench.o librttest.a
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
librttest.a: rt-utils.o error.o rt-get_cpu.o rt-sched.o
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] all programs that are linked with -lrttest must depend on librttest.a
2015-02-19 19:59 [PATCH] all programs that are linked with -lrttest must depend on librttest.a Robert Schwebel
@ 2015-02-19 22:44 ` Clark Williams
2015-02-23 16:02 ` John Kacur
0 siblings, 1 reply; 3+ messages in thread
From: Clark Williams @ 2015-02-19 22:44 UTC (permalink / raw)
To: Robert Schwebel; +Cc: Michael Olbrich, linux-rt-users, John Kacur
[-- Attachment #1: Type: text/plain, Size: 1670 bytes --]
On Thu, 19 Feb 2015 20:59:09 +0100
Robert Schwebel <r.schwebel@pengutronix.de> wrote:
> From: Michael Olbrich <m.olbrich@pengutronix.de>
>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> ---
> Makefile | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 9e479d3c0dca..4ee553849cce 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -73,14 +73,14 @@ cyclictest: cyclictest.o librttest.a
> signaltest: signaltest.o librttest.a
> $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
>
> -pi_stress: pi_stress.o
> +pi_stress: pi_stress.o librttest.a
> $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
>
> hwlatdetect: src/hwlatdetect/hwlatdetect.py
> chmod +x src/hwlatdetect/hwlatdetect.py
> ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect
>
> -rt-migrate-test: rt-migrate-test.o
> +rt-migrate-test: rt-migrate-test.o librttest.a
> $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
>
> ptsematest: ptsematest.o librttest.a
> @@ -101,7 +101,7 @@ sendme: sendme.o librttest.a
> pip_stress: pip_stress.o librttest.a
> $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
>
> -hackbench: hackbench.o
> +hackbench: hackbench.o librttest.a
> $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
>
> librttest.a: rt-utils.o error.o rt-get_cpu.o rt-sched.o
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Makes sense to me. John is working on the next spin of rt-tests so I
CC'd him to pull in this change.
Clark
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] all programs that are linked with -lrttest must depend on librttest.a
2015-02-19 22:44 ` Clark Williams
@ 2015-02-23 16:02 ` John Kacur
0 siblings, 0 replies; 3+ messages in thread
From: John Kacur @ 2015-02-23 16:02 UTC (permalink / raw)
To: Clark Williams
Cc: Robert Schwebel, Michael Olbrich, linux-rt-users, John Kacur
On Thu, 19 Feb 2015, Clark Williams wrote:
> On Thu, 19 Feb 2015 20:59:09 +0100
> Robert Schwebel <r.schwebel@pengutronix.de> wrote:
>
> > From: Michael Olbrich <m.olbrich@pengutronix.de>
> >
> > Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> > ---
> > Makefile | 6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/Makefile b/Makefile
> > index 9e479d3c0dca..4ee553849cce 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -73,14 +73,14 @@ cyclictest: cyclictest.o librttest.a
> > signaltest: signaltest.o librttest.a
> > $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
> >
> > -pi_stress: pi_stress.o
> > +pi_stress: pi_stress.o librttest.a
> > $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
> >
> > hwlatdetect: src/hwlatdetect/hwlatdetect.py
> > chmod +x src/hwlatdetect/hwlatdetect.py
> > ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect
> >
> > -rt-migrate-test: rt-migrate-test.o
> > +rt-migrate-test: rt-migrate-test.o librttest.a
> > $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
> >
> > ptsematest: ptsematest.o librttest.a
> > @@ -101,7 +101,7 @@ sendme: sendme.o librttest.a
> > pip_stress: pip_stress.o librttest.a
> > $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
> >
> > -hackbench: hackbench.o
> > +hackbench: hackbench.o librttest.a
> > $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
> >
> > librttest.a: rt-utils.o error.o rt-get_cpu.o rt-sched.o
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
>
> Makes sense to me. John is working on the next spin of rt-tests so I
> CC'd him to pull in this change.
>
> Clark
>
(resend with a sane emailer)
I think we have to NAK this one.
I saw this problem too, if you try to do an individual build, hackbench
and rt-migrate fail unless the lib rttest has already been built.
The thing is, neither hackbench nor rt-migrate use any of the functions in
that lib rttest, so I'd rather not put a false dependency on the lib where
it isn't needed.
If you'd like to come up with a patch that separates it out of the default
libs to solve the problem, I'd accept that.
Thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-23 16:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19 19:59 [PATCH] all programs that are linked with -lrttest must depend on librttest.a Robert Schwebel
2015-02-19 22:44 ` Clark Williams
2015-02-23 16:02 ` John Kacur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).