* [Buildroot] [PATCH 1/1] qhull: new package
@ 2014-04-17 20:49 Davide Viti
2014-04-17 21:16 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Davide Viti @ 2014-04-17 20:49 UTC (permalink / raw)
To: buildroot
Signed-off-by: Davide Viti <d.viti@infosolution.it>
---
package/Config.in | 1 +
package/qhull/Config.in | 13 +++++++++++++
package/qhull/qhull.mk | 15 +++++++++++++++
3 files changed, 29 insertions(+)
create mode 100644 package/qhull/Config.in
create mode 100644 package/qhull/qhull.mk
diff --git a/package/Config.in b/package/Config.in
index 748d28e..44c35ea 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -820,6 +820,7 @@ source "package/p11-kit/Config.in"
source "package/poco/Config.in"
source "package/protobuf/Config.in"
source "package/protobuf-c/Config.in"
+source "package/qhull/Config.in"
source "package/schifra/Config.in"
source "package/startup-notification/Config.in"
source "package/tz/Config.in"
diff --git a/package/qhull/Config.in b/package/qhull/Config.in
new file mode 100644
index 0000000..e64025e
--- /dev/null
+++ b/package/qhull/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_QHULL
+ bool "qhull"
+ help
+ Qhull computes the convex hull, Delaunay triangulation,
+ Voronoi diagram, halfspace intersection about a point,
+ furthest-site Delaunay triangulation, and furthest-site
+ Voronoi diagram. The source code runs in 2-d, 3-d, 4-d, and
+ higher dimensions. Qhull implements the Quickhull algorithm
+ for computing the convex hull. It handles roundoff errors
+ from floating point arithmetic. It computes volumes, surface
+ areas, and approximations to the convex hull.
+
+ http://www.qhull.org
diff --git a/package/qhull/qhull.mk b/package/qhull/qhull.mk
new file mode 100644
index 0000000..08d3fa4
--- /dev/null
+++ b/package/qhull/qhull.mk
@@ -0,0 +1,15 @@
+###############################################################################
+#
+# qhull
+#
+###############################################################################
+
+QHULL_VERSION = 60d55819729d7b49391dde0271e15a56c70992b9
+QHULL_SITE = git://gitorious.org/qhull/qhull.git
+QHULL_SITE_METHOD = git
+QHULL_INSTALL_STAGING = YES
+QHULL_LICENSE = BSD-Style
+QHULL_LICENSE_FILES = COPYING.txt
+QHULL_CONF_OPT = -DCMAKE_BUILD_TYPE=Release
+
+$(eval $(cmake-package))
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] qhull: new package
2014-04-17 20:49 [Buildroot] [PATCH 1/1] qhull: new package Davide Viti
@ 2014-04-17 21:16 ` Thomas Petazzoni
[not found] ` <5350E3A3.8070902@infosolution.it>
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2014-04-17 21:16 UTC (permalink / raw)
To: buildroot
Dear Davide Viti,
On Thu, 17 Apr 2014 22:49:15 +0200, Davide Viti wrote:
> diff --git a/package/qhull/Config.in b/package/qhull/Config.in
> new file mode 100644
> index 0000000..e64025e
> --- /dev/null
> +++ b/package/qhull/Config.in
> @@ -0,0 +1,13 @@
> +config BR2_PACKAGE_QHULL
> + bool "qhull"
> + help
> + Qhull computes the convex hull, Delaunay triangulation,
> + Voronoi diagram, halfspace intersection about a point,
> + furthest-site Delaunay triangulation, and furthest-site
> + Voronoi diagram. The source code runs in 2-d, 3-d, 4-d, and
> + higher dimensions. Qhull implements the Quickhull algorithm
> + for computing the convex hull. It handles roundoff errors
> + from floating point arithmetic. It computes volumes, surface
> + areas, and approximations to the convex hull.
I'm just curious: are you using this kind of libraries in embedded
Linux systems? What kind of applications do they do?
> diff --git a/package/qhull/qhull.mk b/package/qhull/qhull.mk
> new file mode 100644
> index 0000000..08d3fa4
> --- /dev/null
> +++ b/package/qhull/qhull.mk
> @@ -0,0 +1,15 @@
> +###############################################################################
> +#
> +# qhull
> +#
> +###############################################################################
> +
> +QHULL_VERSION = 60d55819729d7b49391dde0271e15a56c70992b9
> +QHULL_SITE = git://gitorious.org/qhull/qhull.git
Is it possible to use an http:// URL instead for cloning? It usually
works better for people behind stupid corporate firewalls/proxies.
> +QHULL_SITE_METHOD = git
> +QHULL_INSTALL_STAGING = YES
> +QHULL_LICENSE = BSD-Style
> +QHULL_LICENSE_FILES = COPYING.txt
> +QHULL_CONF_OPT = -DCMAKE_BUILD_TYPE=Release
qhull seems to be using quite a bit of C++ code. Maybe it should
depends on BR2_INSTALL_LIBSTDCPP ?
Can you try building it with the following minimal configurations:
http://autobuild.buildroot.org/toolchains/configs/free-electrons/br-arm-basic.config
http://autobuild.buildroot.org/toolchains/configs/free-electrons/br-arm-full-nothread.config
http://autobuild.buildroot.org/toolchains/configs/free-electrons/bfin-uclinux.config
it is useful to check a few dependencies.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] qhull: new package
[not found] ` <5350E3A3.8070902@infosolution.it>
@ 2014-04-18 9:43 ` Thomas Petazzoni
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2014-04-18 9:43 UTC (permalink / raw)
To: buildroot
Dear Davide Viti,
On Fri, 18 Apr 2014 10:34:43 +0200, Davide Viti wrote:
> Il 17/04/2014 23:16, Thomas Petazzoni ha scritto:
> > I'm just curious: are you using this kind of libraries in embedded
> > Linux systems? What kind of applications do they do?
> my colleagues use it on a system equipped with kinect-like sensors for
> implementing navigation algorithms.
Ah, nice!
> Will try all your suggestions and provide a new patch.
Ok, thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-18 9:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-17 20:49 [Buildroot] [PATCH 1/1] qhull: new package Davide Viti
2014-04-17 21:16 ` Thomas Petazzoni
[not found] ` <5350E3A3.8070902@infosolution.it>
2014-04-18 9:43 ` Thomas Petazzoni
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.