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:
parent
e06a0271a4
commit
8249108cc6
2 changed files with 2 additions and 26 deletions
|
@ -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
|
|
||||||
|
|
||||||
|
|
|
@ -38,28 +38,15 @@ class Qthreads(Package):
|
||||||
attain either state."""
|
attain either state."""
|
||||||
homepage = "http://www.cs.sandia.gov/qthreads/"
|
homepage = "http://www.cs.sandia.gov/qthreads/"
|
||||||
|
|
||||||
# Google Code has stopped serving tarballs
|
url = "https://github.com/Qthreads/qthreads/releases/download/1.10/qthread-1.10.tar.bz2"
|
||||||
# We assume the tarballs will soon be available on Github instead
|
version("1.10", "d1cf3cf3f30586921359f7840171e551")
|
||||||
# url = "https://qthreads.googlecode.com/files/qthread-1.10.tar.bz2"
|
|
||||||
# version('1.10', '5af8c8bbe88c2a6d45361643780d1671')
|
|
||||||
|
|
||||||
# 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("restrict.patch")
|
||||||
patch("trap.patch")
|
patch("trap.patch")
|
||||||
|
|
||||||
depends_on("autoconf", type="build")
|
|
||||||
depends_on("automake", type="build")
|
|
||||||
depends_on("hwloc")
|
depends_on("hwloc")
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
autogen = Executable("./autogen.sh")
|
|
||||||
autogen()
|
|
||||||
configure("--prefix=%s" % prefix,
|
configure("--prefix=%s" % prefix,
|
||||||
"--enable-guard-pages",
|
"--enable-guard-pages",
|
||||||
"--with-topology=hwloc",
|
"--with-topology=hwloc",
|
||||||
|
|
Loading…
Reference in a new issue