Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/cmake: disable on unsupported architectures
@ 2015-03-17  9:08 Samuel Martin
  2015-03-17  9:08 ` [Buildroot] [PATCH 2/2] package/cmake: not available on static-only build Samuel Martin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Samuel Martin @ 2015-03-17  9:08 UTC (permalink / raw)
  To: buildroot

Supported architectures are listed at [1].

Fixes:
  http://autobuild.buildroot.net/results/de9/de9021fdc63600536ffa91e4b8718584e3e5702c/
  http://autobuild.buildroot.net/results/0f1/0f1afc62e91ab798fa65685af3dea3caac663f11/

[1] https://github.com/Kitware/CMake/blob/master/Utilities/KWIML/ABI.h.in#L339

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
 package/cmake/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/cmake/Config.in b/package/cmake/Config.in
index 0b5bba9..eee2461 100644
--- a/package/cmake/Config.in
+++ b/package/cmake/Config.in
@@ -10,6 +10,12 @@ config BR2_PACKAGE_CMAKE_CTEST
 	select BR2_PACKAGE_EXPAT
 	select BR2_PACKAGE_BZIP2
 	select BR2_PACKAGE_XZ
+	depends on !BR2_arcle && !BR2_arceb
+	depends on !BR2_bfin
+	depends on !BR2_microblazeel && !BR2_microblazebe
+	depends on !BR2_nios2
+	depends on !BR2_sh && !BR2_sh64
+	depends on !BR2_xtensa
 	depends on BR2_USE_WCHAR # libarchive
 	depends on BR2_INSTALL_LIBSTDCPP
 	help
-- 
2.1.0

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

* [Buildroot] [PATCH 2/2] package/cmake: not available on static-only build
  2015-03-17  9:08 [Buildroot] [PATCH 1/2] package/cmake: disable on unsupported architectures Samuel Martin
@ 2015-03-17  9:08 ` Samuel Martin
  2015-03-17  9:13 ` [Buildroot] [PATCH 1/2] package/cmake: disable on unsupported architectures Thomas Petazzoni
  2015-03-17  9:17 ` Baruch Siach
  2 siblings, 0 replies; 4+ messages in thread
From: Samuel Martin @ 2015-03-17  9:08 UTC (permalink / raw)
  To: buildroot

Fixes:
  http://autobuild.buildroot.net/results/9f7/9f7c8d5078cd1f3cd493f9ae8e95c8ee728f98fd/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
 package/cmake/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/cmake/Config.in b/package/cmake/Config.in
index eee2461..3165572 100644
--- a/package/cmake/Config.in
+++ b/package/cmake/Config.in
@@ -18,6 +18,7 @@ config BR2_PACKAGE_CMAKE_CTEST
 	depends on !BR2_xtensa
 	depends on BR2_USE_WCHAR # libarchive
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_STATIC_LIBS
 	help
 	  CTest is a testing tool distributed as a part of CMake. It
 	  can be used to automate updating (using CVS for example),
@@ -27,5 +28,5 @@ config BR2_PACKAGE_CMAKE_CTEST
 
 	  http://www.cmake.org/
 
-comment "ctest needs a toolchain w/ C++, wchar"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+comment "ctest needs a toolchain w/ C++, wchar, dynamic library"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || BR2_STATIC_LIBS
-- 
2.1.0

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

* [Buildroot] [PATCH 1/2] package/cmake: disable on unsupported architectures
  2015-03-17  9:08 [Buildroot] [PATCH 1/2] package/cmake: disable on unsupported architectures Samuel Martin
  2015-03-17  9:08 ` [Buildroot] [PATCH 2/2] package/cmake: not available on static-only build Samuel Martin
@ 2015-03-17  9:13 ` Thomas Petazzoni
  2015-03-17  9:17 ` Baruch Siach
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2015-03-17  9:13 UTC (permalink / raw)
  To: buildroot

Dear Samuel Martin,

On Tue, 17 Mar 2015 10:08:18 +0100, Samuel Martin wrote:

> diff --git a/package/cmake/Config.in b/package/cmake/Config.in
> index 0b5bba9..eee2461 100644
> --- a/package/cmake/Config.in
> +++ b/package/cmake/Config.in
> @@ -10,6 +10,12 @@ config BR2_PACKAGE_CMAKE_CTEST
>  	select BR2_PACKAGE_EXPAT
>  	select BR2_PACKAGE_BZIP2
>  	select BR2_PACKAGE_XZ
> +	depends on !BR2_arcle && !BR2_arceb
> +	depends on !BR2_bfin
> +	depends on !BR2_microblazeel && !BR2_microblazebe
> +	depends on !BR2_nios2
> +	depends on !BR2_sh && !BR2_sh64
> +	depends on !BR2_xtensa

So maybe we should have a positive test instead?

	depends on BR2_arm || BR2_armeb || BR2_...

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 1/2] package/cmake: disable on unsupported architectures
  2015-03-17  9:08 [Buildroot] [PATCH 1/2] package/cmake: disable on unsupported architectures Samuel Martin
  2015-03-17  9:08 ` [Buildroot] [PATCH 2/2] package/cmake: not available on static-only build Samuel Martin
  2015-03-17  9:13 ` [Buildroot] [PATCH 1/2] package/cmake: disable on unsupported architectures Thomas Petazzoni
@ 2015-03-17  9:17 ` Baruch Siach
  2 siblings, 0 replies; 4+ messages in thread
From: Baruch Siach @ 2015-03-17  9:17 UTC (permalink / raw)
  To: buildroot

Hi Samuel,

On Tue, Mar 17, 2015 at 10:08:18AM +0100, Samuel Martin wrote:
> Supported architectures are listed at [1].
> 
> Fixes:
>   http://autobuild.buildroot.net/results/de9/de9021fdc63600536ffa91e4b8718584e3e5702c/
>   http://autobuild.buildroot.net/results/0f1/0f1afc62e91ab798fa65685af3dea3caac663f11/
> 
> [1] https://github.com/Kitware/CMake/blob/master/Utilities/KWIML/ABI.h.in#L339
> 
> Signed-off-by: Samuel Martin <s.martin49@gmail.com>
> ---
>  package/cmake/Config.in | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/package/cmake/Config.in b/package/cmake/Config.in
> index 0b5bba9..eee2461 100644
> --- a/package/cmake/Config.in
> +++ b/package/cmake/Config.in
> @@ -10,6 +10,12 @@ config BR2_PACKAGE_CMAKE_CTEST
>  	select BR2_PACKAGE_EXPAT
>  	select BR2_PACKAGE_BZIP2
>  	select BR2_PACKAGE_XZ
> +	depends on !BR2_arcle && !BR2_arceb
> +	depends on !BR2_bfin
> +	depends on !BR2_microblazeel && !BR2_microblazebe
> +	depends on !BR2_nios2
> +	depends on !BR2_sh && !BR2_sh64
> +	depends on !BR2_xtensa

Please update the dependencies comment below.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

end of thread, other threads:[~2015-03-17  9:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-17  9:08 [Buildroot] [PATCH 1/2] package/cmake: disable on unsupported architectures Samuel Martin
2015-03-17  9:08 ` [Buildroot] [PATCH 2/2] package/cmake: not available on static-only build Samuel Martin
2015-03-17  9:13 ` [Buildroot] [PATCH 1/2] package/cmake: disable on unsupported architectures Thomas Petazzoni
2015-03-17  9:17 ` Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox