All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] packagegroup-arago-standalone-sdk-target: Include libgomp into toolchain SDK
@ 2015-03-12  0:34 Franklin S. Cooper Jr
  2015-03-12  1:27 ` Denys Dmytriyenko
  0 siblings, 1 reply; 2+ messages in thread
From: Franklin S. Cooper Jr @ 2015-03-12  0:34 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

From: "Franklin S. Cooper Jr" <fcooper@ti.com>

* When compiling an application with the -fopenmp flag an error is given since
  libgomp isn't apart of the toolchain SDK.
* Since this package comes from the toolchain only include it when using the
  external linaro toolchain since it isn't included in the arago toolchain.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../packagegroup-arago-standalone-sdk-target.bb    |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-standalone-sdk-target.bb b/meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-standalone-sdk-target.bb
index d4a5072..b08e125 100644
--- a/meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-standalone-sdk-target.bb
+++ b/meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-standalone-sdk-target.bb
@@ -1,5 +1,5 @@
 DESCRIPTION = "Target packages for the standalone SDK"
-PR = "r6"
+PR = "r7"
 LICENSE = "MIT"
 
 inherit packagegroup
@@ -33,4 +33,5 @@ RDEPENDS_${PN} = "\
     opkg-dev \
     sysvinit-dev \
     util-linux-dev \
+    ${@base_conditional('TCLIBC', 'external-linaro-toolchain', 'libgomp libgomp-dev', '', d)} \
     "
-- 
1.7.9.5



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

* Re: [PATCH] packagegroup-arago-standalone-sdk-target: Include libgomp into toolchain SDK
  2015-03-12  0:34 [PATCH] packagegroup-arago-standalone-sdk-target: Include libgomp into toolchain SDK Franklin S. Cooper Jr
@ 2015-03-12  1:27 ` Denys Dmytriyenko
  0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2015-03-12  1:27 UTC (permalink / raw)
  To: Franklin S. Cooper Jr; +Cc: meta-arago

On Wed, Mar 11, 2015 at 07:34:39PM -0500, Franklin S. Cooper Jr wrote:
> From: "Franklin S. Cooper Jr" <fcooper@ti.com>
> 
> * When compiling an application with the -fopenmp flag an error is given since
>   libgomp isn't apart of the toolchain SDK.
> * Since this package comes from the toolchain only include it when using the
>   external linaro toolchain since it isn't included in the arago toolchain.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../packagegroup-arago-standalone-sdk-target.bb    |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-standalone-sdk-target.bb b/meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-standalone-sdk-target.bb
> index d4a5072..b08e125 100644
> --- a/meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-standalone-sdk-target.bb
> +++ b/meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-standalone-sdk-target.bb
> @@ -1,5 +1,5 @@
>  DESCRIPTION = "Target packages for the standalone SDK"
> -PR = "r6"
> +PR = "r7"
>  LICENSE = "MIT"
>  
>  inherit packagegroup
> @@ -33,4 +33,5 @@ RDEPENDS_${PN} = "\
>      opkg-dev \
>      sysvinit-dev \
>      util-linux-dev \
> +    ${@base_conditional('TCLIBC', 'external-linaro-toolchain', 'libgomp libgomp-dev', '', d)} \

libgomp-dev in the list is enough, as it will pull in libgomp on its own.
Also, better compare TCMODE to "external-linaro". TCLIBC could be used for 
something else, like uClibc with external Linaro toolchain...


>      "
> -- 
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

end of thread, other threads:[~2015-03-12  1:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-12  0:34 [PATCH] packagegroup-arago-standalone-sdk-target: Include libgomp into toolchain SDK Franklin S. Cooper Jr
2015-03-12  1:27 ` 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.