Commit graph

18452 commits

Author SHA1 Message Date
Gregory Becker
95a34628a3 Add modules to compilers. Changed compiler to take paths as a list. Changed compiler_for_spec to be aware of different compiler stratigies 2015-11-11 11:32:18 -08:00
Gregory Becker
7e6fc79eb2 Merge branch 'features/spackathon' of github.com:NERSC/spack into crayport
Conflicts:
	lib/spack/spack/compiler.py
2015-11-11 10:35:59 -08:00
Gregory Becker
5347f460b4 adding module find to find command 2015-11-11 10:31:37 -08:00
Gregory Becker
cd69681ae5 merged in work from other computer and starting to track down bugs 2015-11-11 10:09:03 -08:00
Todd Gamblin
5417a514e9 Eliminated two bugs found by spack test and rewrote the parser to be more sane 2015-11-10 18:44:01 -08:00
Gregory Becker
5e75a5c81c Fixed bug that spack.db.exists() returned True for anonymous specs 2015-11-10 15:45:22 -08:00
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
Mario Melara
e0498ce54a mxml is adios's package dependency 2015-11-05 13:43:11 -08:00
Mario Melara
0fcb368f47 Adding adios package to spack's package list 2015-11-05 13:42:50 -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
Gregory Becker
08729315c6 Added bgq architecture subclass: may require additional functionality to support 2015-11-05 09:21:56 -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
Mario Melara
b61d554dc8 Fixed architecture.py file so it doesn't have the weird merge changes i.e <<<HEAD etc. Also added target method of recognizing it's own architecture 2015-11-04 13:28:12 -08:00
Mario Melara
2bc73b4a27 Merge branch 'features/spackathon' of https://github.com/NERSC/spack into features/spackathon 2015-11-04 13:21:33 -08:00
Gregory Becker
3a73ae1683 Fixed the previous commit 2015-11-04 13:12:11 -08:00
Mario Melara
9bf8e8573c generic linux architecture subclass 2015-11-04 13:08:48 -08:00
Mario Melara
e3a02ea5c7 Merge branch 'features/spackathon' of https://github.com/NERSC/spack into features/spackathon
Conflicts:
	lib/spack/spack/architecture.py
2015-11-04 13:06:56 -08:00
Gregory Becker
35532d6b0a Changed cray architecture subclass to add proper targets for front at back end nodes 2015-11-04 13:00:35 -08:00
Mario Melara
37260962e5 changed some potential syntax errors and added a way for target to recognize class 2015-11-04 12:57:29 -08:00
Gregory Becker
5ac974c9b2 Enforced that the architecture subclass cannot add a target that shares a name with a target alias 2015-11-04 12:50:22 -08:00