Add latest qhull version

This commit is contained in:
Adam J. Stewart 2016-02-02 11:42:31 -06:00
parent 9eb037bc87
commit ab3698e3a4

View File

@ -8,20 +8,18 @@ class Qhull(Package):
implements the Quickhull algorithm for computing the convex implements the Quickhull algorithm for computing the convex
hull. It handles roundoff errors from floating point hull. It handles roundoff errors from floating point
arithmetic. It computes volumes, surface areas, and arithmetic. It computes volumes, surface areas, and
approximations to the convex hull. approximations to the convex hull."""
Qhull does not support triangulation of non-convex surfaces,
mesh generation of non-convex objects, medium-sized inputs in
9-D and higher, alpha shapes, weighted Voronoi diagrams,
Voronoi volumes, or constrained Delaunay triangulations."""
homepage = "http://www.qhull.org" homepage = "http://www.qhull.org"
version('7.2.0', 'e6270733a826a6a7c32b796e005ec3dc',
url="http://www.qhull.org/download/qhull-2015-src-7.2.0.tgz")
version('1.0', 'd0f978c0d8dfb2e919caefa56ea2953c', version('1.0', 'd0f978c0d8dfb2e919caefa56ea2953c',
url="http://www.qhull.org/download/qhull-2012.1-src.tgz") url="http://www.qhull.org/download/qhull-2012.1-src.tgz")
# https://github.com/qhull/qhull/pull/5 # https://github.com/qhull/qhull/pull/5
patch('qhull-iterator.patch') patch('qhull-iterator.patch', when='@1.0')
def install(self, spec, prefix): def install(self, spec, prefix):
with working_dir('spack-build', create=True): with working_dir('spack-build', create=True):