Mario Melara
|
975cba295b
|
Added 'better' tests
|
2016-03-02 14:16:57 -08:00 |
|
Mario Melara
|
e46bac19fa
|
Changed architecture to dict
|
2016-03-02 12:09:02 -08:00 |
|
Mario Melara
|
90e90f61c1
|
Got rid of the compiler strategy from target
|
2016-03-02 12:08:43 -08:00 |
|
Mario Melara
|
47c8e1366f
|
Changed to_dictionary and from_dictionary methods
|
2016-03-02 12:08:17 -08:00 |
|
Gregory Becker
|
25f20b1967
|
bug hunting
|
2016-03-02 11:40:21 -08:00 |
|
Mario Melara
|
340ecf6e9a
|
Merge branch 'features/newarch' of https://github.com/NERSC/spack into features/newarch
|
2016-03-02 11:07:52 -08:00 |
|
Gregory Becker
|
86e90bba87
|
another partial, narrowing in on proper arch
|
2016-03-02 11:05:05 -08:00 |
|
Mario Melara
|
81e236b2de
|
Changed Arch to class instead of namedtuple. Now platform is automatically set upon creation of class
|
2016-03-02 11:04:55 -08:00 |
|
Gregory Becker
|
45887dec8e
|
partial work on bug hunting
|
2016-03-02 10:56:46 -08:00 |
|
Mario Melara
|
f27f2f8e49
|
Fixed some indentation errors
|
2016-03-02 10:27:12 -08:00 |
|
Mario Melara
|
4d74784209
|
Changed add_architecture_from_string and split the work done into two methods add_target_from_string and add_operating_system_from_string
|
2016-03-02 10:27:00 -08:00 |
|
Mario Melara
|
527bb7abfe
|
Changed _cmp_key
|
2016-03-02 10:26:09 -08:00 |
|
Gregory Becker
|
615ea969f8
|
made arch instantiate as a tuple
|
2016-03-02 10:14:50 -08:00 |
|
Gregory Becker
|
4601c36f57
|
cleaned up concretize architecture
|
2016-03-02 09:55:44 -08:00 |
|
Mario Melara
|
b591d2b501
|
Changed operating_system path
|
2016-02-25 18:49:52 -08:00 |
|
Mario Melara
|
ccd4a79b39
|
changed architecture.target to architecture.platform_os, so that compiler_for_spec uses operating system strategy
|
2016-02-25 18:49:27 -08:00 |
|
Mario Melara
|
eb96f38298
|
Got rid of debug comment
|
2016-02-25 18:48:25 -08:00 |
|
Mario Melara
|
f0149faf88
|
Added doc strings to functions in architecture.py
|
2016-02-25 18:48:00 -08:00 |
|
Mario Melara
|
ac55ce989d
|
Changed compiler finding strategy to come from operating system instead of target
|
2016-02-25 18:47:41 -08:00 |
|
Mario Melara
|
5989e3f65d
|
Changed from_dict to arch_from_dict method
|
2016-02-25 11:53:02 -08:00 |
|
Mario Melara
|
5e4d3e7b82
|
Changed naming convention of operating_system, makes it easier to create instance from dictionary just using name without the version attached. Object will stil display as name+version
|
2016-02-25 11:48:43 -08:00 |
|
Mario Melara
|
550df4cdd6
|
Some cleaning up. Finally got arch_from_dict working successfully.
|
2016-02-25 11:47:27 -08:00 |
|
Mario Melara
|
9ac2556285
|
Deleted old operating_system (without the s) file
|
2016-02-25 10:41:28 -08:00 |
|
Mario Melara
|
b43a5498a1
|
Changed import path to operating_systems
|
2016-02-25 10:36:47 -08:00 |
|
Mario Melara
|
f161609929
|
Renamed operating_system to operating_systems
|
2016-02-25 10:36:12 -08:00 |
|
Mario Melara
|
34be473b7c
|
Deleted files
|
2016-02-25 10:35:58 -08:00 |
|
Mario Melara
|
863a5bc4fa
|
Fix for 'Parent module spack.operating_systems not found while handling absolute import'
|
2016-02-25 10:34:55 -08:00 |
|
Mario Melara
|
8d1c06d141
|
Changed to dict method. Didn't realize this was being assigned to a dictionary already so got rid of d['architecture']
|
2016-02-24 15:38:33 -08:00 |
|
Mario Melara
|
bd7c189c12
|
Added more comments
|
2016-02-24 15:37:50 -08:00 |
|
Mario Melara
|
5c3c6e7f06
|
Got rid of print statements
|
2016-02-24 15:34:32 -08:00 |
|
Mario Melara
|
234681306c
|
Changed to appropriate class names for operating system
|
2016-02-24 15:32:23 -08:00 |
|
Mario Melara
|
2de81cfc62
|
Changed name to appropriate camelcase
|
2016-02-24 15:31:21 -08:00 |
|
Mario Melara
|
9e844d974c
|
Added comments. Need to figure out how to make arch_tuple from_dict
|
2016-02-24 15:30:20 -08:00 |
|
Mario Melara
|
7779974143
|
arch_from_dict worked on
|
2016-02-24 15:02:40 -08:00 |
|
Mario Melara
|
339f4bfd23
|
Added unit testing for to_dict method
|
2016-02-24 12:16:09 -08:00 |
|
Mario Melara
|
5d5d3c5858
|
Added to dictionary method
|
2016-02-24 12:15:52 -08:00 |
|
Mario Melara
|
cfa7c4feb8
|
Added CNL10 as back_os and default_os
|
2016-02-22 16:18:25 -08:00 |
|
Mario Melara
|
083b7b46d9
|
Added more tests
|
2016-02-22 16:17:54 -08:00 |
|
Mario Melara
|
3c87d137a3
|
Added compiler strategy entry and also added new operating system subclass called CNL for compute node linux (name will probably change because I can't find docs on the EXACT name)
|
2016-02-22 16:17:33 -08:00 |
|
Mario Melara
|
ebc5e26c2d
|
Added compiler strategy field to Operating System class
|
2016-02-22 16:16:20 -08:00 |
|
Mario Melara
|
a385dae1ae
|
Unit tests to test operating system subclass creation and whether compiler strategy is set correctly
|
2016-02-22 14:54:30 -08:00 |
|
Mario Melara
|
1367ccab93
|
New folder that will hold operating system subclasses
|
2016-02-22 14:53:55 -08:00 |
|
Mario Melara
|
22bf4bc080
|
import linux distro subclass. Added method to add operating system to platform dictionary
|
2016-02-22 14:53:16 -08:00 |
|
Mario Melara
|
1a7d6ed49a
|
import MacOSX subclass and added add_operating_system method to use subclass
|
2016-02-22 14:52:52 -08:00 |
|
Mario Melara
|
725d6d5fce
|
import linux distro operating system subclass, set front-end os to LinuxDistro()
|
2016-02-22 14:52:09 -08:00 |
|
Mario Melara
|
a8de45ce28
|
Got rid of methods used to detect mac osx and linux osx. Now those methods are used my operating system subclasses
|
2016-02-22 14:50:51 -08:00 |
|
Mario Melara
|
18ddbae60e
|
Added new module path to operating system file
|
2016-02-22 14:49:53 -08:00 |
|
Mario Melara
|
28218755a5
|
Changed spec.target to spec.architecture
|
2016-02-18 13:06:55 -08:00 |
|
Mario Melara
|
93a92a00ee
|
Changed abstract.target to abstract.architecture.target and abstract.architecture.target.concrete
|
2016-02-17 14:53:09 -08:00 |
|
Mario Melara
|
d9e8bf1807
|
Added ARCHITECTURE field when showing specs
|
2016-02-17 14:51:14 -08:00 |
|