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
|
3558404c03
|
Check difference by using arch tuple rather than .target
|
2016-02-17 14:54:39 -08:00 |
|
Mario Melara
|
0a6b54a8c4
|
Added module compilers so that no CompilerSpecError is thrown
|
2016-02-17 14:53:56 -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 |
|
Mario Melara
|
54042e399b
|
Changed target to architecture.target
|
2016-02-17 14:50:10 -08:00 |
|
Mario Melara
|
1d484dbe5f
|
Changed so that modules use correct file path with spec.architecture instead of spec.target
|
2016-02-17 14:49:36 -08:00 |
|
Mario Melara
|
ab4006ee2c
|
Changed so that directory layout uses the platform-os-target string version of the arch tuple
|
2016-02-17 14:48:53 -08:00 |
|
Mario Melara
|
524e9b372e
|
From now on all targets are now architecture. Architecture is a named tuple so any time we need access to target we do architecture.target.
|
2016-02-17 14:47:29 -08:00 |
|
Mario Melara
|
2c20fc2ebf
|
Changed module loading to use arch tuple instead of regular target.module
|
2016-02-17 14:45:53 -08:00 |
|
Mario Melara
|
2a79537ba1
|
Fixed silly typo that gave errors in tests
|
2016-02-17 14:44:38 -08:00 |
|
Mario Melara
|
a3039c4c67
|
Changed add_architecture_from_string, it now loops through the string and checks whether each piece of string is a valid platform, operating system and target. If the operating system or target are none it will use the defaults. Updated the documentation for that method. One thing that bothers me is how to account for the multitude of operating systems when cross compiling. If someone wants to compile with another operating system not found on current platform. How can spack check to see if it is valid?
|
2016-02-16 15:26:07 -08:00 |
|
Mario Melara
|
62b0293963
|
Cleaned up the file. Got rid of commented out sections of code since they weren't going to be used anyway
|
2016-02-16 15:23:38 -08:00 |
|
Mario Melara
|
31ab238306
|
Beginning attemps to fix concretization method to account for the new tuple architecture
|
2016-02-16 15:22:23 -08:00 |
|
Mario Melara
|
19dca4bcc9
|
Added some _cmp_key methods to OperatingSystem class, and also changed the way Platforms are compared. Created a mini inherited class named Arch that inherits from namedtuple. The reason for this is to override the namedtuple __str__ method to make arch tuples look prettier when printed out. Rather than Arch(platform= ... ) it prints to platform-os-target which makes directory paths to packages look cleaner.
|
2016-02-16 15:21:36 -08:00 |
|
Mario Melara
|
35a602baaf
|
Changed target checking to architecture checking for abi compatible
|
2016-02-16 15:17:57 -08:00 |
|
Mario Melara
|
c799301011
|
Changed the method in which architecture is converted from string to namedtuple. Also added some TODO comments to later consider changing how architecture is handled
|
2016-02-13 14:37:07 -08:00 |
|
Mario Melara
|
7732f375d2
|
Changed operating system getter so that linux and darwin autodetected operating systems are set as class default_os
|
2016-02-13 14:36:01 -08:00 |
|
Mario Melara
|
8e8c63bd67
|
Using pylint, fixed some of the indentation and spacing errors
|
2016-02-11 11:47:39 -08:00 |
|
Mario Melara
|
3e1be63b0f
|
Changed some variables to account for the fact that target is now a tuple
|
2016-02-11 11:15:50 -08:00 |
|
Mario Melara
|
b9d09202c9
|
changed some variables to account for the fact that target is now a tuple
|
2016-02-11 11:15:19 -08:00 |
|
Mario Melara
|
77e93e1b79
|
Added add_os method to platform subclasses
|
2016-02-10 16:16:58 -08:00 |
|
Mario Melara
|
cb8d5ab183
|
Added new add_os method
|
2016-02-10 16:16:35 -08:00 |
|
Mario Melara
|
fb234205c2
|
Added method to concretize target and os pair
|
2016-02-10 16:16:11 -08:00 |
|
Mario Melara
|
d0ae6dd401
|
Changed add_target_from_string to include methods to concretize operating_system
|
2016-02-10 16:15:25 -08:00 |
|
Mario Melara
|
2650c60374
|
Added operating system class prototype and some autodetect features for operating system
|
2016-02-10 16:14:50 -08:00 |
|
Mario Melara
|
21a5a34041
|
Revert "new branch and also pushing some architecture changes where os is detected by linux and darwin and manually set by cray and bgq"
This reverts commit 70088be24b2ed34076f7f5292a2a465a8655a886.
|
2016-02-10 10:59:16 -08:00 |
|
Mario Melara
|
0358522533
|
new branch and also pushing some architecture changes where os is detected by linux and darwin and manually set by cray and bgq
|
2016-02-06 15:41:22 -08:00 |
|
Mario Melara
|
840b41c450
|
Removed unneccessary $. Still learning regexp
|
2016-01-20 10:36:15 -08:00 |
|
Mario Melara
|
15713219e5
|
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 |
|