Commit graph

2901 commits

Author SHA1 Message Date
Gregory Becker
6f339939c4 Removed "any-pkg-name" and replaced it with empty string. Also changed cflag concretizer to concretize each flag individually, allowing us to have unconcretized FlagMap objects for find and uninstall. Now empty flags in find match any, whereas specifying +cflags=\'\' matches only those with empty strings for flags 2015-11-10 15:45:22 -08:00
Gregory Becker
6fa0bb991a Removed cflags from default format string and made them an option within the compiler string. Added -f option to find command; with -f, find prints flags 2015-11-10 15:45:22 -08:00
Gregory Becker
5a9394c65f added default compilers into spec and fixed constrain/concretize bug 2015-11-10 15:45:22 -08:00
Gregory Becker
cb5bc242db Changed flag default to "". Updated printing and other logic to match. Seems to have solved error in normalize. 2015-11-10 15:45:22 -08:00
Gregory Becker
2d77173dfa partial commit of cflags for debugging 2015-11-10 15:45:22 -08:00
Gregory Becker
42b5b7d2dd Commit of compiler flags addition:
Flags are passed from the command line all the way through
build environments to environment variables.
      Flags are specified using +name=value and values are quoted
using escaped quotes when necessary.

Future work includes using the flags in the compiler wrapper script
and hopefully updating the parser for a gentler user experience of
the spec language.
2015-11-10 15:45:22 -08:00
Gregory Becker
db1b21b9aa reclaimed the = sign. Architectures now specified by +arch= instead. Decided to prepend flag names with + for clarity in spec names and ease of parsing. Also generalized variants, although there is not yet a way to specify a generalized (name=value) variant. 2015-11-10 15:45:22 -08:00
Gregory Becker
7989a7f903 Headless specs and /hash spec specification 2015-11-10 15:42:10 -08:00
Gregory Becker
f9c8c4d216 partial commit to merge database 2015-11-10 15:40:00 -08:00
Gregory Becker
4ed22ad932 partial commit of cflags work 2015-11-10 15:39:27 -08:00
Alfredo Gimenez
666d9e88f5 Added Python Twisted library 2015-11-10 15:37:09 -08:00
Todd Gamblin
14b30de407 Merge pull request #156 from charlesareynolds/charlesareynolds
Added missing $_sp_flags to spack.csh
2015-11-09 09:32:16 -08:00
Massimiliano Culpo
27c64f7740 mvapich2 : changed method name for consistency. Removed possibly duplicated flags 2015-11-09 16:02:38 +01:00
Massimiliano Culpo
42bc552dd7 mvapich2 : variant strings are associated with a named variable 2015-11-09 16:02:25 +01:00
Massimiliano Culpo
79ed9de4c1 mvapich2 : added variants for different network types 2015-11-09 16:02:12 +01:00
Massimiliano Culpo
0ae05fdf99 mvapich2 : added variants for different process managers 2015-11-09 16:01:56 +01:00
Massimiliano Culpo
4a72bd7919 mvapich2 : fixed typos. Added FIXME 2015-11-09 16:01:27 +01:00
Massimiliano Culpo
076eaba6e3 mvapich2 : fixed some issues with the package. Needs further improvment with respect to network and pm 2015-11-09 16:00:03 +01:00
Jim Galarowicz
0ced060b87 cbtf did not compile with boost 1.59, so reverted to boost 1.50 temporarily until we fix the cbtf/boost compile issues. 2015-11-06 15:15:38 -08:00
Jim Galarowicz
2aa501bf3d Update the checksum value for the new tarball 2015-11-06 14:19:00 -08:00
Jim Galarowicz
046b348bd3 Merge remote-tracking branch 'upstream/develop' into develop
Get up to date with rest of develop repository.
2015-11-06 11:55:49 -08:00
Jim Galarowicz
aa9b14aff4 Match up with the new binutils package file. It does what OSS needs w.r.t. libiberty. 2015-11-06 11:55:20 -08:00
Jim Galarowicz
7e6b7795f1 Match up with the new binutils package file. It does what OSS needs w.r.t. libiberty. 2015-11-06 11:53:53 -08:00
Jim Galarowicz
d6a2ab08ac Match up with the new binutils package file. It does what OSS needs w.r.t. libiberty. 2015-11-06 11:47:00 -08:00
Charles A. Reynolds
f106da0d09 Added missing $_sp_flags to spack.csh so options -d -k -m -p -v get passed on to spack proper. 2015-11-06 10:53:22 -08:00
Todd Gamblin
9474b8cdac Merge pull request #153 from ktkirk/libxml2
Was getting system python over spack python
2015-11-05 10:12:55 -08:00
Gregory Lee
886861c9f4 Merge pull request #151 from scalability-llnl/features/bzip2-mac
Modified bzip2 package to work properly on macs.
2015-11-05 09:29:47 -08:00
Todd Gamblin
53fb74b3f0 Merge pull request #146 from davidbeckingsale/features/zsh
Update ZSH version
2015-11-05 08:42:22 -08:00
David Beckingsale
19876161c7 Update ZSH version 2015-11-05 07:42:18 -08:00
Kelly T. Kirk
618a1c7119 Was getting system python over spack python 2015-11-05 08:01:00 -05:00
Todd Gamblin
1c4ef29962 Add Sphinx package 2015-11-04 17:55:43 -08:00
Todd Gamblin
f201bfb998 Modified bzip2 package to work properly on macs. 2015-11-04 17:43:22 -08:00
Todd Gamblin
0d993947ee Fix SPACK-93, SPACK-94, GitHub #150
- `remove_prefix` was modified to remove from the DB, but the package
  may not have been added to the DB yet when `remove_prefix` is called
  from `cleanup`.

- Made `remove_prefix` a pure utility function (it just removes the prefix)

- Added `installed_db.remove()` call only after the `remove_prefix` in
  `uninstall`.
2015-11-04 16:44:33 -08:00
Todd Gamblin
339da1da3d Make architecture reflect OS *and* machine. Use Python's platform module. 2015-11-04 07:46:17 -08:00
Paul Dapolito
16f0ece75b added zlib dependency to glib package specification 2015-11-01 19:55:14 -08:00
Todd Gamblin
aec50722fc Merge pull request #147 from epfl-scitas/bugfixes/db_context_manager
Fixed typo : write_lock() -> write_transaction()
2015-10-29 23:48:14 -07:00
Massimiliano Culpo
6db2a58008 Fixed typo : write_lock() -> write_transaction() 2015-10-30 07:42:58 +01:00
Todd Gamblin
a1c42c2753 Merge Greg Becker's build database support into develop. 2015-10-29 02:22:20 -07:00
Todd Gamblin
671faa4b99 Merge pull request #124 from scheibelp/features/testinstall-cmd
Features/testinstall cmd
2015-10-29 00:16:52 -07:00
Todd Gamblin
58adff307f Merge pull request #142 from mathstuf/dbus-disable-systemd
dbus: disable systemd
2015-10-29 00:07:03 -07:00
Todd Gamblin
5d626ac561 Merge pull request #141 from epfl-scitas/packages/clang
clang : updated versions + depends_on(python)
2015-10-29 00:06:50 -07:00
Todd Gamblin
11c3a9f60d Merge pull request #143 from mathstuf/update-ncurses
ncurses: update package
2015-10-29 00:03:40 -07:00
Todd Gamblin
130d2d8de0 Merge pull request #144 from mathstuf/add-paraview
paraview: add package
2015-10-29 00:03:15 -07:00
Todd Gamblin
ed0c80e1cb Merge pull request #145 from markcmiller86/v-char-bugfix
generalize one of the cases to handle many more kinds of formatting o…
2015-10-29 00:02:01 -07:00
Todd Gamblin
fec6674597 Merge pull request #139 from mathstuf/use-uname-for-arch
architecture: use uname if available
2015-10-29 00:01:30 -07:00
Todd Gamblin
dab230845d Merge pull request #121 from epfl-scitas/issues/gcc
GCC : added variant to packages for binutils, solve linking time error
2015-10-28 23:29:33 -07:00
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