Skip to content
Snippets Groups Projects
Commit e119c32a authored by Erik Schnetter's avatar Erik Schnetter Committed by Todd Gamblin
Browse files

Hot-fix for qthreads (#1632)

The download tarball for qthreads vanished. Install it from a git branch instead as temporary work-around.
parent 82808f94
No related branches found
No related tags found
No related merge requests found
......@@ -37,16 +37,31 @@ class Qthreads(Package):
either full or empty, and a thread can wait for any word to
attain either state."""
homepage = "http://www.cs.sandia.gov/qthreads/"
url = "https://qthreads.googlecode.com/files/qthread-1.10.tar.bz2"
version('1.10', '5af8c8bbe88c2a6d45361643780d1671')
# 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')
patch("ldflags.patch")
# 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("hwloc")
def install(self, spec, prefix):
autogen = Executable("./autogen.sh")
autogen()
configure("--prefix=%s" % prefix,
"--enable-guard-pages")
"--enable-guard-pages",
"--with-topology=hwloc",
"--with-hwloc=%s" % spec["hwloc"].prefix)
make()
make("install")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment