summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-09-16 23:53:44 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-09-16 23:53:44 -0700
commit881fdb66ae9a06671cc756baae5a454fce2c2e3d (patch)
treeac5a9928f306ae26a32582b60cffc5853e15c514 /var
parent782e45e5b1247f636f519c23de4cc54fe0cc21d1 (diff)
parente2509717b9fc022ddbdfab532fcfc0189102c741 (diff)
downloadspack-881fdb66ae9a06671cc756baae5a454fce2c2e3d.tar.gz
spack-881fdb66ae9a06671cc756baae5a454fce2c2e3d.tar.bz2
spack-881fdb66ae9a06671cc756baae5a454fce2c2e3d.tar.xz
spack-881fdb66ae9a06671cc756baae5a454fce2c2e3d.zip
Merge branch 'develop' into features/fileutils
Conflicts: lib/spack/spack/packages.py
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/adept-utils/package.py41
-rw-r--r--var/spack/packages/callpath/package.py13
-rw-r--r--var/spack/packages/libmonitor/package.py37
-rw-r--r--var/spack/packages/openssl/package.py26
-rw-r--r--var/spack/packages/postgresql/package.py20
-rw-r--r--var/spack/packages/sqlite/package.py40
-rw-r--r--var/spack/packages/stat/package.py1
-rw-r--r--var/spack/packages/tau/package.py1
8 files changed, 175 insertions, 4 deletions
diff --git a/var/spack/packages/adept-utils/package.py b/var/spack/packages/adept-utils/package.py
new file mode 100644
index 0000000000..2515322ec2
--- /dev/null
+++ b/var/spack/packages/adept-utils/package.py
@@ -0,0 +1,41 @@
+##############################################################################
+# Copyright (c) 2013, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Written by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://scalability-llnl.github.io/spack
+# Please also see the LICENSE file for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License (as published by
+# the Free Software Foundation) version 2.1 dated February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+class AdeptUtils(Package):
+ """Utility libraries for LLNL performance tools."""
+
+ homepage = "https://github.com/scalability-llnl/adept-utils"
+ url = "https://github.com/scalability-llnl/adept-utils/archive/v1.0.tar.gz"
+
+ version('1.0', '5c6cd9badce56c945ac8551e34804397')
+
+ depends_on("boost")
+ depends_on("mpi")
+
+ def install(self, spec, prefix):
+ cmake(*std_cmake_args)
+ make()
+ make("install")
diff --git a/var/spack/packages/callpath/package.py b/var/spack/packages/callpath/package.py
index 5d92d77302..84170d9c9e 100644
--- a/var/spack/packages/callpath/package.py
+++ b/var/spack/packages/callpath/package.py
@@ -25,13 +25,20 @@
from spack import *
class Callpath(Package):
- homepage = "https://github.com/tgamblin/callpath"
- url = "http://github.com/tgamblin/callpath-0.2.tar.gz"
+ """Library for representing callpaths consistently in
+ distributed-memory performance tools."""
+
+ homepage = "https://github.com/scalability-llnl/callpath"
+ url = "https://github.com/scalability-llnl/callpath/archive/v1.0.1.tar.gz"
+
+ version('1.0.1', '0047983d2a52c5c335f8ba7f5bab2325')
depends_on("dyninst")
+ depends_on("adept-utils")
depends_on("mpi")
def install(self, spec, prefix):
- configure("--prefix=" + prefix)
+ # TODO: offer options for the walker used.
+ cmake('.', "-DCALLPATH_WALKER=dyninst", *std_cmake_args)
make()
make("install")
diff --git a/var/spack/packages/libmonitor/package.py b/var/spack/packages/libmonitor/package.py
new file mode 100644
index 0000000000..210712436a
--- /dev/null
+++ b/var/spack/packages/libmonitor/package.py
@@ -0,0 +1,37 @@
+##############################################################################
+# Copyright (c) 2013, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Written by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://scalability-llnl.github.io/spack
+# Please also see the LICENSE file for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License (as published by
+# the Free Software Foundation) version 2.1 dated February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+class Libmonitor(Package):
+ """Libmonitor is a library for process and thread control."""
+ homepage = "http://hpctoolkit.org"
+ url = "file:///g/g0/legendre/tools/oss/openspeedshop-release-2.1/SOURCES/libmonitor-20130218.tar.gz"
+
+ version('20130218', 'aa85c2c580e2dafb823cc47b09374279')
+
+ def install(self, spec, prefix):
+ configure("--prefix=" + prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/openssl/package.py b/var/spack/packages/openssl/package.py
new file mode 100644
index 0000000000..c5a8aeb9dc
--- /dev/null
+++ b/var/spack/packages/openssl/package.py
@@ -0,0 +1,26 @@
+from spack import *
+
+class Openssl(Package):
+ """The OpenSSL Project is a collaborative effort to develop a
+ robust, commercial-grade, full-featured, and Open Source
+ toolkit implementing the Secure Sockets Layer (SSL v2/v3) and
+ Transport Layer Security (TLS v1) protocols as well as a
+ full-strength general purpose cryptography library."""
+ homepage = "http://www.openssl.org"
+ url = "http://www.openssl.org/source/openssl-1.0.1h.tar.gz"
+
+ version('1.0.1h', '8d6d684a9430d5cc98a62a5d8fbda8cf')
+
+ depends_on("zlib")
+ parallel = False
+
+ def install(self, spec, prefix):
+ config = Executable("./config")
+ config("--prefix=%s" % prefix,
+ "--openssldir=%s/etc/openssl" % prefix,
+ "zlib",
+ "no-krb5",
+ "shared")
+
+ make()
+ make("install")
diff --git a/var/spack/packages/postgresql/package.py b/var/spack/packages/postgresql/package.py
new file mode 100644
index 0000000000..46922b7b71
--- /dev/null
+++ b/var/spack/packages/postgresql/package.py
@@ -0,0 +1,20 @@
+from spack import *
+
+class Postgresql(Package):
+ """PostgreSQL is a powerful, open source object-relational
+ database system. It has more than 15 years of active
+ development and a proven architecture that has earned it a
+ strong reputation for reliability, data integrity, and
+ correctness."""
+ homepage = "http://www.postgresql.org/"
+ url = "http://ftp.postgresql.org/pub/source/v9.3.4/postgresql-9.3.4.tar.bz2"
+
+ version('9.3.4', 'd0a41f54c377b2d2fab4a003b0dac762')
+
+ depends_on("openssl")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix,
+ "--with-openssl")
+ make()
+ make("install")
diff --git a/var/spack/packages/sqlite/package.py b/var/spack/packages/sqlite/package.py
new file mode 100644
index 0000000000..734b0b6cb6
--- /dev/null
+++ b/var/spack/packages/sqlite/package.py
@@ -0,0 +1,40 @@
+##############################################################################
+# Copyright (c) 2013, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Written by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://scalability-llnl.github.io/spack
+# Please also see the LICENSE file for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License (as published by
+# the Free Software Foundation) version 2.1 dated February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+class Sqlite(Package):
+ """SQLite3 is an SQL database engine in a C library. Programs that
+ link the SQLite3 library can have SQL database access without
+ running a separate RDBMS process.
+ """
+ homepage = "www.sqlite.org"
+
+ version('3.8.5', '0544ef6d7afd8ca797935ccc2685a9ed',
+ url='http://www.sqlite.org/2014/sqlite-autoconf-3080500.tar.gz')
+
+ def install(self, spec, prefix):
+ configure("--prefix=" + prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/stat/package.py b/var/spack/packages/stat/package.py
index 583ae48e82..956b0dcc8c 100644
--- a/var/spack/packages/stat/package.py
+++ b/var/spack/packages/stat/package.py
@@ -20,6 +20,7 @@ class Stat(Package):
configure(
"--enable-gui",
"--prefix=%s" % prefix,
+ "--disable-examples", # Examples require MPI: avoid this dependency.
"--with-launchmon=%s" % spec['launchmon'].prefix,
"--with-mrnet=%s" % spec['mrnet'].prefix,
"--with-graphlib=%s" % spec['graphlib'].prefix,
diff --git a/var/spack/packages/tau/package.py b/var/spack/packages/tau/package.py
index 8d9dbe1759..048fac80aa 100644
--- a/var/spack/packages/tau/package.py
+++ b/var/spack/packages/tau/package.py
@@ -12,7 +12,6 @@ class Tau(Package):
version('2.23.1', '6593b47ae1e7a838e632652f0426fe72')
-
def install(self, spec, prefix):
# TAU isn't happy with directories that have '@' in the path. Sigh.
change_sed_delimiter('@', ';', 'configure')