Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] qhull: new package
Date: Thu, 17 Apr 2014 23:16:40 +0200	[thread overview]
Message-ID: <20140417231640.2d48cc6c@skate> (raw)
In-Reply-To: <1397767755-17045-1-git-send-email-d.viti@infosolution.it>

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

  reply	other threads:[~2014-04-17 21:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-17 20:49 [Buildroot] [PATCH 1/1] qhull: new package Davide Viti
2014-04-17 21:16 ` Thomas Petazzoni [this message]
     [not found]   ` <5350E3A3.8070902@infosolution.it>
2014-04-18  9:43     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140417231640.2d48cc6c@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox