Commit Graph

652 Commits

Author SHA1 Message Date
Mario Melara
017c63a7d9 Better regular expression searching. Tested on edison was finding test compilers and then spack was giving multiple compiler match errors 2016-01-20 10:32:56 -08:00
Mario Melara
c111dee946 Adding needed import modules. Changed platform_name to platform to prevent syntax errors 2016-01-09 09:42:36 -08:00
Gregory Becker
e2e7d47b45 cleanup: Removing an unnecessary line in an otherwise unchanged file 2016-01-08 18:53:19 -08:00
Gregory Becker
464d924302 minor bug chasing 2016-01-08 18:51:38 -08:00
Gregory Becker
ef1a147707 Fixing the fix and removing debug printing 2016-01-08 17:44:16 -08:00
Gregory Becker
3b4c0e9379 Fixing multimethod test for new platforms 2016-01-08 17:38:37 -08:00
Gregory Becker
4ef6de94b7 Fixed target satisfaction and updated tests accordingly 2016-01-08 16:30:27 -08:00
Gregory Becker
ff1f039a1e Improved error messages for compiler_for_spec when either zero or multiple compilers returned. 2016-01-08 15:13:48 -08:00
Gregory Becker
85d32a63f9 removed the submodule as part of reversion of extraneous commits 2016-01-08 14:29:42 -08:00
Gregory Becker
73b4c99d0b brought the architecture test up to date with new changes 2016-01-07 13:05:58 -08:00
Gregory Becker
6b266726e6 Improved cray architecture class 2016-01-07 13:01:05 -08:00
Gregory Becker
3cd03155f9 Improved target specification 2016-01-07 12:43:39 -08:00
Gregory Becker
085d01ac05 Cleaned up naming conventions for architecture, split into platform and target 2016-01-07 11:49:01 -08:00
Gregory Becker
bbe8e3534f Improved target cmp_key and to/from yaml functions 2016-01-06 14:50:31 -08:00
Gregory Becker
37af2ae9bb made the compiler strategy more easily controllable 2016-01-06 13:00:22 -08:00
Gregory Becker
4870153c82 improved concretize efficiency for determining whether compilers come from the proper strategy 2016-01-05 19:03:25 -08:00
Gregory Becker
a22be03468 minor tweak of compiler priority while waiting for customizable compiler priorities 2016-01-05 17:19:04 -08:00
Gregory Becker
1cb84e68cd fixed compiler finding so as not to identify non-existent versions of the intel compiler based on the version numbers of the PrgEnv-intel module 2016-01-05 17:14:35 -08:00
Gregory Becker
55669a4c6e fixed concretization to only consider compilers found by the proper strategy 2016-01-05 17:00:28 -08:00
Gregory Becker
af84bb0fdd minor bug fix 2016-01-05 16:23:32 -08:00
Gregory Becker
316c8bcc7d removed debug printing 2016-01-05 14:51:18 -08:00
Gregory Becker
407352e660 fixed haswell targeting bug 2016-01-05 14:47:14 -08:00
Gregory Becker
bf6e7de614 removed debug printing 2016-01-05 14:13:09 -08:00
Gregory Becker
b62d22a1b3 fixed errors caused by crayport on linux and added a darwin architecture 2016-01-05 13:39:53 -08:00
Gregory Becker
a2d8a8b469 bug hunting 2016-01-05 11:12:14 -08:00
Gregory Becker
4d9067c769 pick last compiler instead of first, will be overwritten by more advanced preferences as mentioned in the email group 2016-01-04 16:35:06 -08:00
Gregory Becker
557fca7c60 Support for cray external dependencies implemented in modules 2016-01-04 12:36:48 -08:00
Gregory Becker
8f4182926b Merge branch 'externals' into crayport 2016-01-04 10:46:25 -08:00
Gregory Becker
bd8f4c1a74 fixed yaml error 2015-12-17 15:26:27 -08:00
Mario Melara
8d01b55991 Commented out cxxflag. Not 100% sure it's needed 2015-12-11 12:07:32 -08:00
Mario Melara
2dc06a2b27 Fixed targets ti be x86_64, important note: have not tested this on linux machine 2015-12-11 12:04:47 -08:00
Mario Melara
a10fef71d9 Rewrote docstrings for sys_type() and got rid of unused functions 2015-12-11 12:03:13 -08:00
Mario Melara
c86ffcd1d3 Got rid of the unusued default strategy=None 2015-12-02 10:15:33 -08:00
Mario Melara
378ddac2da Got rid of hard coded strings for adding default 2015-12-01 11:57:54 -08:00
Mario Melara
91172bbb09 Changed default to CPU_TARGET env var. Helps deal with target differences between cori and edison 2015-12-01 11:57:17 -08:00
Mario Melara
007776682e Changed add_target to include variables rather than hard-coded strings 2015-12-01 11:55:38 -08:00
Mario Melara
c99ce45c6f Adding new files to compilers 2015-11-13 11:53:38 -08:00
Mario Melara
0f2e36fdaa Changed name of file and class to craype to avoid spack freaking out about versions 2015-11-13 11:48:49 -08:00
Mario Melara
81c5d887ec Added craype support 2015-11-13 11:48:15 -08:00
Mario Melara
d9a0d8dc3e Got rid of my old method of finding in LOADEDMODULES 2015-11-13 11:47:36 -08:00
Mario Melara
aa570be32f Added a _cmp_key for the architecture class 2015-11-13 11:46:13 -08:00
Gregory Becker
4d5ae60afb Added the basic ouline of a cray compiler class in lib/spack/spack/compilers/cray.py 2015-11-12 14:31:41 -08:00
Gregory Becker
327a409994 used key_comparator decorator from util.lang to compare targets. Fixes find bug 2015-11-12 13:27:10 -08:00
Gregory Becker
7344c861c9 Fixed the to_dict from_dict for targets on cray. First version to build/find properly on Cray 2015-11-11 17:29:47 -08:00
Gregory Becker
faabc632d6 fixed my git problems 2015-11-11 16:33:22 -08:00
Gregory Becker
07b073ea42 made a to_dict for targets. Also a from_dict for sanity 2015-11-11 16:16:47 -08:00
Gregory Becker
4fc7baef9d bug fix in spec.py 2015-11-11 15:07:57 -08:00
Gregory Becker
30bd0b1ab8 First possibly working version of the crayport. Not sufficiently tested at all. 2015-11-11 14:22:07 -08:00
Gregory Becker
ee0bc0a0ec 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
13f731b8ac 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