All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH] opencl: fix packaging of library
@ 2020-01-22 14:15 Jacob Stiffler
  2020-01-22 21:32 ` Denys Dmytriyenko
  0 siblings, 1 reply; 7+ messages in thread
From: Jacob Stiffler @ 2020-01-22 14:15 UTC (permalink / raw)
  To: meta-arago

* Add daemon conffiles and library to runtime package.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
index 59cb8ca..502e1cf 100644
--- a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
@@ -4,7 +4,7 @@ LICENSE = "BSD"
 
 include ocl.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 inherit cmake systemd
 
@@ -80,7 +80,7 @@ do_install_append() {
 SYSTEMD_SERVICE_${PN}-runtime = "ti-mct-daemon.service"
 SYSTEMD_AUTO_ENABLE_${PN}-runtime = "${@oe.utils.conditional("RESERVE_CMEM", "1", "enable", "disable", d)}"
 
-FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir}"
+FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir} ${sysconfdir}/ti-mctd ${libdir}/lib*${SOLIBS}"
 
 FILES_${PN} += " \
     ${datadir}/ti/opencl/* \
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [RFC][PATCH] opencl: fix packaging of library
  2020-01-22 14:15 [RFC][PATCH] opencl: fix packaging of library Jacob Stiffler
@ 2020-01-22 21:32 ` Denys Dmytriyenko
  2020-01-22 21:44   ` Stiffler, Jacob
  0 siblings, 1 reply; 7+ messages in thread
From: Denys Dmytriyenko @ 2020-01-22 21:32 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-arago

Hmm, after applying this patch and rebuilding with sstate, it fails in package 
dependencies:

nothing provides libopencl1 >= 1.2.00.02 needed by ...

I'll try making a clean build next.

Denys


On Wed, Jan 22, 2020 at 09:15:22AM -0500, Jacob Stiffler wrote:
> * Add daemon conffiles and library to runtime package.
> 
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> index 59cb8ca..502e1cf 100644
> --- a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> +++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> @@ -4,7 +4,7 @@ LICENSE = "BSD"
>  
>  include ocl.inc
>  
> -PR = "${INC_PR}.1"
> +PR = "${INC_PR}.2"
>  
>  inherit cmake systemd
>  
> @@ -80,7 +80,7 @@ do_install_append() {
>  SYSTEMD_SERVICE_${PN}-runtime = "ti-mct-daemon.service"
>  SYSTEMD_AUTO_ENABLE_${PN}-runtime = "${@oe.utils.conditional("RESERVE_CMEM", "1", "enable", "disable", d)}"
>  
> -FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir}"
> +FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir} ${sysconfdir}/ti-mctd ${libdir}/lib*${SOLIBS}"
>  
>  FILES_${PN} += " \
>      ${datadir}/ti/opencl/* \
> -- 
> 2.7.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFC][PATCH] opencl: fix packaging of library
  2020-01-22 21:32 ` Denys Dmytriyenko
@ 2020-01-22 21:44   ` Stiffler, Jacob
  2020-01-22 21:50     ` Denys Dmytriyenko
  0 siblings, 1 reply; 7+ messages in thread
From: Stiffler, Jacob @ 2020-01-22 21:44 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago

I have been struggling with the same. I guess this is because the library switched packages? How can this be handled without a clean build?

-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Wednesday, January 22, 2020 4:33 PM
To: Stiffler, Jacob
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [RFC][PATCH] opencl: fix packaging of library

Hmm, after applying this patch and rebuilding with sstate, it fails in package 
dependencies:

nothing provides libopencl1 >= 1.2.00.02 needed by ...

I'll try making a clean build next.

Denys


On Wed, Jan 22, 2020 at 09:15:22AM -0500, Jacob Stiffler wrote:
> * Add daemon conffiles and library to runtime package.
> 
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> index 59cb8ca..502e1cf 100644
> --- a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> +++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> @@ -4,7 +4,7 @@ LICENSE = "BSD"
>  
>  include ocl.inc
>  
> -PR = "${INC_PR}.1"
> +PR = "${INC_PR}.2"
>  
>  inherit cmake systemd
>  
> @@ -80,7 +80,7 @@ do_install_append() {
>  SYSTEMD_SERVICE_${PN}-runtime = "ti-mct-daemon.service"
>  SYSTEMD_AUTO_ENABLE_${PN}-runtime = "${@oe.utils.conditional("RESERVE_CMEM", "1", "enable", "disable", d)}"
>  
> -FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir}"
> +FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir} ${sysconfdir}/ti-mctd ${libdir}/lib*${SOLIBS}"
>  
>  FILES_${PN} += " \
>      ${datadir}/ti/opencl/* \
> -- 
> 2.7.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFC][PATCH] opencl: fix packaging of library
  2020-01-22 21:44   ` Stiffler, Jacob
@ 2020-01-22 21:50     ` Denys Dmytriyenko
  2020-01-22 21:52       ` Stiffler, Jacob
  2020-01-23 15:24       ` Stiffler, Jacob
  0 siblings, 2 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2020-01-22 21:50 UTC (permalink / raw)
  To: Stiffler, Jacob; +Cc: meta-arago

Can you try removing opencl from SIGGEN_EXCLUDERECIPES_ABISAFE in layer.conf 
of meta-arago-extras - see if that helps?

Denys


On Wed, Jan 22, 2020 at 04:44:17PM -0500, Stiffler, Jacob wrote:
> I have been struggling with the same. I guess this is because the library 
> switched packages? How can this be handled without a clean build?
> 
> -----Original Message-----
> From: Dmytriyenko, Denys 
> Sent: Wednesday, January 22, 2020 4:33 PM
> To: Stiffler, Jacob
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [RFC][PATCH] opencl: fix packaging of library
> 
> Hmm, after applying this patch and rebuilding with sstate, it fails in package 
> dependencies:
> 
> nothing provides libopencl1 >= 1.2.00.02 needed by ...
> 
> I'll try making a clean build next.
> 
> Denys
> 
> 
> On Wed, Jan 22, 2020 at 09:15:22AM -0500, Jacob Stiffler wrote:
> > * Add daemon conffiles and library to runtime package.
> > 
> > Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> > ---
> >  meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> > index 59cb8ca..502e1cf 100644
> > --- a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> > +++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> > @@ -4,7 +4,7 @@ LICENSE = "BSD"
> >  
> >  include ocl.inc
> >  
> > -PR = "${INC_PR}.1"
> > +PR = "${INC_PR}.2"
> >  
> >  inherit cmake systemd
> >  
> > @@ -80,7 +80,7 @@ do_install_append() {
> >  SYSTEMD_SERVICE_${PN}-runtime = "ti-mct-daemon.service"
> >  SYSTEMD_AUTO_ENABLE_${PN}-runtime = "${@oe.utils.conditional("RESERVE_CMEM", "1", "enable", "disable", d)}"
> >  
> > -FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir}"
> > +FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir} ${sysconfdir}/ti-mctd ${libdir}/lib*${SOLIBS}"
> >  
> >  FILES_${PN} += " \
> >      ${datadir}/ti/opencl/* \
> > -- 
> > 2.7.4
> > 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFC][PATCH] opencl: fix packaging of library
  2020-01-22 21:50     ` Denys Dmytriyenko
@ 2020-01-22 21:52       ` Stiffler, Jacob
  2020-01-23 15:24       ` Stiffler, Jacob
  1 sibling, 0 replies; 7+ messages in thread
From: Stiffler, Jacob @ 2020-01-22 21:52 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago

I had started a clean build, but I think I can stop it and recreate the problem using the sstate mirror.

-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Wednesday, January 22, 2020 4:51 PM
To: Stiffler, Jacob
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [RFC][PATCH] opencl: fix packaging of library

Can you try removing opencl from SIGGEN_EXCLUDERECIPES_ABISAFE in layer.conf 
of meta-arago-extras - see if that helps?

Denys


On Wed, Jan 22, 2020 at 04:44:17PM -0500, Stiffler, Jacob wrote:
> I have been struggling with the same. I guess this is because the library 
> switched packages? How can this be handled without a clean build?
> 
> -----Original Message-----
> From: Dmytriyenko, Denys 
> Sent: Wednesday, January 22, 2020 4:33 PM
> To: Stiffler, Jacob
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [RFC][PATCH] opencl: fix packaging of library
> 
> Hmm, after applying this patch and rebuilding with sstate, it fails in package 
> dependencies:
> 
> nothing provides libopencl1 >= 1.2.00.02 needed by ...
> 
> I'll try making a clean build next.
> 
> Denys
> 
> 
> On Wed, Jan 22, 2020 at 09:15:22AM -0500, Jacob Stiffler wrote:
> > * Add daemon conffiles and library to runtime package.
> > 
> > Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> > ---
> >  meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> > index 59cb8ca..502e1cf 100644
> > --- a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> > +++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> > @@ -4,7 +4,7 @@ LICENSE = "BSD"
> >  
> >  include ocl.inc
> >  
> > -PR = "${INC_PR}.1"
> > +PR = "${INC_PR}.2"
> >  
> >  inherit cmake systemd
> >  
> > @@ -80,7 +80,7 @@ do_install_append() {
> >  SYSTEMD_SERVICE_${PN}-runtime = "ti-mct-daemon.service"
> >  SYSTEMD_AUTO_ENABLE_${PN}-runtime = "${@oe.utils.conditional("RESERVE_CMEM", "1", "enable", "disable", d)}"
> >  
> > -FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir}"
> > +FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir} ${sysconfdir}/ti-mctd ${libdir}/lib*${SOLIBS}"
> >  
> >  FILES_${PN} += " \
> >      ${datadir}/ti/opencl/* \
> > -- 
> > 2.7.4
> > 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFC][PATCH] opencl: fix packaging of library
  2020-01-22 21:50     ` Denys Dmytriyenko
  2020-01-22 21:52       ` Stiffler, Jacob
@ 2020-01-23 15:24       ` Stiffler, Jacob
  2020-01-23 18:02         ` Denys Dmytriyenko
  1 sibling, 1 reply; 7+ messages in thread
From: Stiffler, Jacob @ 2020-01-23 15:24 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago

This fixes the error. 


-----Original Message-----
From: Stiffler, Jacob 
Sent: Wednesday, January 22, 2020 4:53 PM
To: Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] [RFC][PATCH] opencl: fix packaging of library

I had started a clean build, but I think I can stop it and recreate the problem using the sstate mirror.

-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Wednesday, January 22, 2020 4:51 PM
To: Stiffler, Jacob
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [RFC][PATCH] opencl: fix packaging of library

Can you try removing opencl from SIGGEN_EXCLUDERECIPES_ABISAFE in layer.conf 
of meta-arago-extras - see if that helps?

Denys


On Wed, Jan 22, 2020 at 04:44:17PM -0500, Stiffler, Jacob wrote:
> I have been struggling with the same. I guess this is because the library 
> switched packages? How can this be handled without a clean build?
> 
> -----Original Message-----
> From: Dmytriyenko, Denys 
> Sent: Wednesday, January 22, 2020 4:33 PM
> To: Stiffler, Jacob
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [RFC][PATCH] opencl: fix packaging of library
> 
> Hmm, after applying this patch and rebuilding with sstate, it fails in package 
> dependencies:
> 
> nothing provides libopencl1 >= 1.2.00.02 needed by ...
> 
> I'll try making a clean build next.
> 
> Denys
> 
> 
> On Wed, Jan 22, 2020 at 09:15:22AM -0500, Jacob Stiffler wrote:
> > * Add daemon conffiles and library to runtime package.
> > 
> > Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> > ---
> >  meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> > index 59cb8ca..502e1cf 100644
> > --- a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> > +++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> > @@ -4,7 +4,7 @@ LICENSE = "BSD"
> >  
> >  include ocl.inc
> >  
> > -PR = "${INC_PR}.1"
> > +PR = "${INC_PR}.2"
> >  
> >  inherit cmake systemd
> >  
> > @@ -80,7 +80,7 @@ do_install_append() {
> >  SYSTEMD_SERVICE_${PN}-runtime = "ti-mct-daemon.service"
> >  SYSTEMD_AUTO_ENABLE_${PN}-runtime = "${@oe.utils.conditional("RESERVE_CMEM", "1", "enable", "disable", d)}"
> >  
> > -FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir}"
> > +FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir} ${sysconfdir}/ti-mctd ${libdir}/lib*${SOLIBS}"
> >  
> >  FILES_${PN} += " \
> >      ${datadir}/ti/opencl/* \
> > -- 
> > 2.7.4
> > 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFC][PATCH] opencl: fix packaging of library
  2020-01-23 15:24       ` Stiffler, Jacob
@ 2020-01-23 18:02         ` Denys Dmytriyenko
  0 siblings, 0 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2020-01-23 18:02 UTC (permalink / raw)
  To: Stiffler, Jacob; +Cc: meta-arago

I think as part of this RFC/packagefeed work we are doing, we should remove 
some of those SIGGEN_EXCLUDERECIPES_ABISAFE entries and expose any issues with 
machine-specific dependencies early on and try to address them...

Denys


On Thu, Jan 23, 2020 at 10:24:03AM -0500, Stiffler, Jacob wrote:
> This fixes the error. 
> 
> 
> -----Original Message-----
> From: Stiffler, Jacob 
> Sent: Wednesday, January 22, 2020 4:53 PM
> To: Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org
> Subject: RE: [meta-arago] [RFC][PATCH] opencl: fix packaging of library
> 
> I had started a clean build, but I think I can stop it and recreate the problem using the sstate mirror.
> 
> -----Original Message-----
> From: Dmytriyenko, Denys 
> Sent: Wednesday, January 22, 2020 4:51 PM
> To: Stiffler, Jacob
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [RFC][PATCH] opencl: fix packaging of library
> 
> Can you try removing opencl from SIGGEN_EXCLUDERECIPES_ABISAFE in layer.conf 
> of meta-arago-extras - see if that helps?
> 
> Denys
> 
> 
> On Wed, Jan 22, 2020 at 04:44:17PM -0500, Stiffler, Jacob wrote:
> > I have been struggling with the same. I guess this is because the library 
> > switched packages? How can this be handled without a clean build?
> > 
> > -----Original Message-----
> > From: Dmytriyenko, Denys 
> > Sent: Wednesday, January 22, 2020 4:33 PM
> > To: Stiffler, Jacob
> > Cc: meta-arago@arago-project.org
> > Subject: Re: [meta-arago] [RFC][PATCH] opencl: fix packaging of library
> > 
> > Hmm, after applying this patch and rebuilding with sstate, it fails in package 
> > dependencies:
> > 
> > nothing provides libopencl1 >= 1.2.00.02 needed by ...
> > 
> > I'll try making a clean build next.
> > 
> > Denys
> > 
> > 
> > On Wed, Jan 22, 2020 at 09:15:22AM -0500, Jacob Stiffler wrote:
> > > * Add daemon conffiles and library to runtime package.
> > > 
> > > Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> > > ---
> > >  meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > 
> > > diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> > > index 59cb8ca..502e1cf 100644
> > > --- a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> > > +++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
> > > @@ -4,7 +4,7 @@ LICENSE = "BSD"
> > >  
> > >  include ocl.inc
> > >  
> > > -PR = "${INC_PR}.1"
> > > +PR = "${INC_PR}.2"
> > >  
> > >  inherit cmake systemd
> > >  
> > > @@ -80,7 +80,7 @@ do_install_append() {
> > >  SYSTEMD_SERVICE_${PN}-runtime = "ti-mct-daemon.service"
> > >  SYSTEMD_AUTO_ENABLE_${PN}-runtime = "${@oe.utils.conditional("RESERVE_CMEM", "1", "enable", "disable", d)}"
> > >  
> > > -FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir}"
> > > +FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir} ${sysconfdir}/ti-mctd ${libdir}/lib*${SOLIBS}"
> > >  
> > >  FILES_${PN} += " \
> > >      ${datadir}/ti/opencl/* \
> > > -- 
> > > 2.7.4
> > > 
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-01-23 18:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22 14:15 [RFC][PATCH] opencl: fix packaging of library Jacob Stiffler
2020-01-22 21:32 ` Denys Dmytriyenko
2020-01-22 21:44   ` Stiffler, Jacob
2020-01-22 21:50     ` Denys Dmytriyenko
2020-01-22 21:52       ` Stiffler, Jacob
2020-01-23 15:24       ` Stiffler, Jacob
2020-01-23 18:02         ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.