Qthreads: Switch back to using tarball to get released version (#1739)

* Qthreads: Switch back to using tarball for download

* Don't require autotools any more

* Re-enable autotools

* Remove autotools again

* Use .tar.bz tarball; remove outdated code
This commit is contained in:
Erik Schnetter 2016-09-09 09:56:11 -04:00 committed by Todd Gamblin
parent e06a0271a4
commit 8249108cc6
2 changed files with 2 additions and 26 deletions

View file

@ -1,11 +0,0 @@
--- a/configure
+++ b/configure
@@ -40456,7 +40456,7 @@
hwloc_saved_LDFLAGS="$LDFLAGS"
if test "x$with_hwloc" != x; then
CPPFLAGS="-I$with_hwloc/include $CPPFLAGS"
- LDFLAGS="-L$with_hwloc/lib $CPPFLAGS"
+ LDFLAGS="-L$with_hwloc/lib $LDFLAGS"
fi

View file

@ -38,28 +38,15 @@ class Qthreads(Package):
attain either state."""
homepage = "http://www.cs.sandia.gov/qthreads/"
# Google Code has stopped serving tarballs
# We assume the tarballs will soon be available on Github instead
# url = "https://qthreads.googlecode.com/files/qthread-1.10.tar.bz2"
# version('1.10', '5af8c8bbe88c2a6d45361643780d1671')
url = "https://github.com/Qthreads/qthreads/releases/download/1.10/qthread-1.10.tar.bz2"
version("1.10", "d1cf3cf3f30586921359f7840171e551")
# Temporarily install from a git branch
url = "https://github.com/Qthreads/qthreads"
version("1.10",
git="https://github.com/Qthreads/qthreads",
branch="release-1.10")
# patch("ldflags.patch")
patch("restrict.patch")
patch("trap.patch")
depends_on("autoconf", type="build")
depends_on("automake", type="build")
depends_on("hwloc")
def install(self, spec, prefix):
autogen = Executable("./autogen.sh")
autogen()
configure("--prefix=%s" % prefix,
"--enable-guard-pages",
"--with-topology=hwloc",