Commit graph

1120 commits

Author SHA1 Message Date
miller86
21e9d5c5c3 generalize one of the cases to handle many more kinds of formatting options 2015-10-27 17:05:27 -07:00
Todd Gamblin
a58ae0c5d0 Build database working with simple transaction support; all tests passing. 2015-10-27 16:36:44 -07:00
Todd Gamblin
bf8479bec6 Fix stupid lock bug.
- Code simplification ignored case where exception was raised.
- If LockError was raised, read and write counts were incremented erroneously.
- updated lock test.
2015-10-27 16:34:26 -07:00
Peter Scheibel
50d0a2643b Not all package stages have an archive file (e.g. source code repos) but all of
them do have a source_path: use this instead to check whether the package
resources were successfully retrieved.
2015-10-27 13:34:46 -07:00
Todd Gamblin
2c163d175f Merge pull request #140 from PaulDapolito/add-xz-version
Added v5.2.2 for xz library
2015-10-27 13:12:03 -07:00
Ben Boeckel
ddbfc40303 paraview: add package
A first attempt; builds successfully. Some dependencies have hard-coded
dependencies where they shouldn't (e.g., hdf5 -> mpi, libxml -> python),
but that's a different rabbit hole.
2015-10-27 15:37:31 -04:00
Ben Boeckel
b88da83a12 dbus: disable systemd
Not necessary in spack. Also forcefully installs outside of the prefix.
2015-10-27 13:51:23 -04:00
Ben Boeckel
e8f5a85ffd ncurses: update package 2015-10-27 13:50:59 -04:00
Todd Gamblin
af7b96c14a Lock acquires return True/False depending on whether they got POSIX lock. 2015-10-27 00:35:06 -07:00
Massimiliano Culpo
3913c10afb clang : updated versions and dependencies
llvm : added dependency on 'python@2.7:' for better portability
2015-10-27 08:04:55 +01:00
Massimiliano Culpo
8b22a4f4f8 llvm : updated versions 2015-10-27 08:04:20 +01:00
Ben Boeckel
6c9b10f73d architecture: remove custom mac_type method 2015-10-26 18:55:10 -04:00
Ben Boeckel
17a58ee0a9 architecture: use uname if available 2015-10-26 18:54:04 -04:00
Peter Scheibel
3b554c709b Fetch errors were also terminating runs of test-install with system exit, so
stage.fetch() was updated to raise a FetchError instead of calling tty.die().
Output is the same for spack install in case of a fetch error.
2015-10-26 15:26:08 -07:00
Todd Gamblin
070e2a3c13 Merge pull request #127 from mathstuf/use-dict.setdefault
python: use the setdefault method on dict
2015-10-26 14:41:39 -07:00
Ben Boeckel
9d90cb6962 python: use the setdefault method on dict
It allows more concise code and skips some key lookups.
2015-10-26 17:38:19 -04:00
Paul Dapolito
cd2a23384f Added v5.2.2 for xz library 2015-10-26 14:28:56 -07:00
Peter Scheibel
9576860f8c Making SpackError reference consistent. 2015-10-26 14:27:44 -07:00
Peter Scheibel
6a16040462 Automatically create a 'test-output' directory in the current directory if no
output path is specified. Test output files are placed in this directory.
Furthermore the filenames now have the prefix "test" (but otherwise are the
string representation of the spec ID as before).
2015-10-26 11:58:52 -07:00
Todd Gamblin
ead8ac58c6 Working Lock class, now uses POSIX fcntl locks, extensive unit test.
- llnl.util.lock now uses fcntl.lockf instead of flock
  - purported to have more NFS compatibility.

- Added an extensive test case for locks.
  - tests acquiring, releasing, upgrading, timeouts, shared, & exclusive cases.
2015-10-24 19:57:43 -07:00
Todd Gamblin
908a93a470 Add a multiprocess Barrier class to use for testing parallel code. 2015-10-24 19:54:52 -07:00
Peter Scheibel
cc0ee3dc29 The HTML number conversion regex operating against a byte string will only
convert individual bytes, so therefore incorrectly converts utf-8 encoded
characters. Decoding byte strings to unicode objects results in correct HTML
number encodings.
2015-10-23 20:56:06 -07:00
Peter Scheibel
d76c923623 1. Rename CommandError -> InstallError
2. InstallError now subclasses SpackError vs. StandardError (so it is now
handled by the spack shell script)
2015-10-23 16:18:06 -07:00
Massimiliano Culpo
e812c35689 GCC : removed binutils variant 2015-10-23 10:11:38 +02:00
Peter Scheibel
ea872f8098 1. Added CommandError exception to build_environment
2. The parent of a failed child process in build_environment.fork no longer
calls sys.exit - instead it raises a CommandError (from [1])
3. test-install command now attempts to install all packages even if one fails
2015-10-22 17:44:16 -07:00
Peter Scheibel
246423b4b4 Generate test results (designated as skipped) for parents of failed dependencies 2015-10-22 16:00:03 -07:00
Todd Gamblin
f76b3890ff Merge pull request #137 from davidbeckingsale/features/ompi-wrappers
Filter wrapper data to use correct compilers in OpenMPI
2015-10-22 16:01:55 -04:00
David Beckingsale
9f496e5efa Replace compiler in f90 and f77 wrappers if they exist 2015-10-22 09:50:02 -07:00
David Beckingsale
41c01b523f Filter wrapper data to use correct compilers in OpenMPI 2015-10-22 09:13:20 -07:00
Todd Gamblin
cbcc6fc9f5 Merge branch 'khuck-develop' into develop, github PR #136 2015-10-22 08:27:23 -07:00
Kevin Huck
7cb557cba7 Adding dependency on ompt-openmp, now that it is a package. 2015-10-22 08:06:31 -07:00
Kevin Huck
caf93cc408 Adding package for OMPT support in the LLVM/Clang OpenMP runtime,
which gives OMPT support for applications built with GCC, Intel or
LLVM/Clang.
2015-10-22 08:03:50 -07:00
Massimiliano Culpo
e6a44bd8ac GCC : removed dependency on libelf. Removed isl variant 2015-10-22 15:55:43 +02:00
Massimiliano Culpo
f475ec4ce6 Merge branch 'develop' of https://github.com/scalability-llnl/spack into issues/gcc
Conflicts:
	var/spack/packages/gcc/package.py

GCC : removed dependency on libelf. Removed isl variant
2015-10-22 15:53:44 +02:00
Kevin Huck
24838a62b4 Changed date formatting. 2015-10-22 06:02:56 -07:00
Kevin Huck
2a61ff0794 Changing git checkout from "master" to commit
d2e66ddde689120472fc57fc546d8cd80aab745c
2015-10-22 03:57:33 -07:00
Kevin Huck
fb9eca4226 Added an APEX package, but it is still using the git master instead
of a release.
2015-10-21 19:35:31 -07:00
Kevin Huck
c082abfb65 Modified the binutils package to use --enable-shared. Required by tools that
use binutils and get this error (or equivalent):
"relocation R_X86_64_32S against `bfd_errmsgs' can not be used when
making a shared object; recompile with -fPIC"
2015-10-21 18:32:57 -07:00
Todd Gamblin
1f662465c2 Merge pull request #119 from mamelara/develop
Added current version 3.2 of libffi version 3.1 has a bug
2015-10-21 16:07:26 -04:00
Todd Gamblin
b6833f08df Merge pull request #129 from mathstuf/separate-prefix
spack: split spack_root from prefix
2015-10-21 16:04:36 -04:00
Todd Gamblin
c8f01480d6 Merge pull request #128 from mathstuf/netcdf-new-linker-mpi
netcdf: link to MPI
2015-10-21 16:02:59 -04:00
Todd Gamblin
c388cbe8e4 Merge pull request #131 from jsquyres/pr/openmpi-update
openmpi: update package versions of Open MPI
2015-10-21 15:59:12 -04:00
Todd Gamblin
6773a2b3bf Merge pull request #132 from jsquyres/pr/mpich-mpi-version-fix
mpich: add fine-grained MPI conformance versions
2015-10-21 15:58:41 -04:00
Todd Gamblin
59dfb1c175 Merge pull request #134 from davidbeckingsale/features/ncdu
Added ncdu package
2015-10-21 15:58:02 -04:00
Todd Gamblin
345fd3b285 Merge pull request #133 from epfl-scitas/packages/trilinos
Packages/trilinos
2015-10-21 15:54:13 -04:00
Todd Gamblin
ddefab8d56 Merge pull request #135 from khuck/develop
Adding package for activeharmony.
2015-10-21 15:53:07 -04:00
Kevin Huck
e0e79a2cb3 Adding package for activeharmony. 2015-10-21 11:56:01 -07:00
David Beckingsale
7e2f3cff44 Added ncdu package 2015-10-19 15:41:46 -07:00
Massimiliano Culpo
ec5560374c glm : added basic configuration for the package 2015-10-19 13:56:08 +02:00
Massimiliano Culpo
aab7102b9b matio : added basic configuration for the package 2015-10-19 13:55:44 +02:00