summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-02-24Added more commentsMario Melara1-7/+8
2016-02-24Got rid of print statementsMario Melara1-1/+0
2016-02-24Changed to appropriate class names for operating systemMario Melara2-5/+4
2016-02-24Changed name to appropriate camelcaseMario Melara3-34/+22
2016-02-24Added comments. Need to figure out how to make arch_tuple from_dictMario Melara1-3/+6
2016-02-24arch_from_dict worked onMario Melara1-5/+17
2016-02-24Added unit testing for to_dict methodMario Melara1-2/+41
2016-02-24Added to dictionary methodMario Melara1-21/+74
2016-02-22Added CNL10 as back_os and default_osMario Melara1-2/+4
2016-02-22Added more testsMario Melara1-1/+19
2016-02-22Added compiler strategy entry and also added new operating system subclass ↵Mario Melara3-6/+33
called CNL for compute node linux (name will probably change because I can't find docs on the EXACT name)
2016-02-22Added compiler strategy field to Operating System classMario Melara1-8/+10
2016-02-22Unit tests to test operating system subclass creation and whether compiler ↵Mario Melara1-0/+41
strategy is set correctly
2016-02-22New folder that will hold operating system subclassesMario Melara3-0/+70
2016-02-22import linux distro subclass. Added method to add operating system to ↵Mario Melara1-1/+4
platform dictionary
2016-02-22import MacOSX subclass and added add_operating_system method to use subclassMario Melara1-1/+4
2016-02-22import linux distro operating system subclass, set front-end os to LinuxDistro()Mario Melara1-11/+6
2016-02-22Got rid of methods used to detect mac osx and linux osx. Now those methods ↵Mario Melara1-35/+55
are used my operating system subclasses
2016-02-22Added new module path to operating system fileMario Melara1-0/+1
2016-02-18Changed spec.target to spec.architectureMario Melara1-1/+1
2016-02-17Changed abstract.target to abstract.architecture.target and ↵Mario Melara1-1/+1
abstract.architecture.target.concrete
2016-02-17Added ARCHITECTURE field when showing specsMario Melara1-3/+3
2016-02-17Changed target to architecture.targetMario Melara1-1/+3
2016-02-17Changed so that modules use correct file path with spec.architecture instead ↵Mario Melara1-2/+2
of spec.target
2016-02-17Changed so that directory layout uses the platform-os-target string version ↵Mario Melara1-2/+1
of the arch tuple
2016-02-17From now on all targets are now architecture. Architecture is a named tuple ↵Mario Melara1-10/+10
so any time we need access to target we do architecture.target.
2016-02-17Changed module loading to use arch tuple instead of regular target.moduleMario Melara1-2/+2
2016-02-17Fixed silly typo that gave errors in testsMario Melara1-2/+2
2016-02-16Changed add_architecture_from_string, it now loops through the string and ↵Mario Melara1-21/+43
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-16Cleaned up the file. Got rid of commented out sections of code since they ↵Mario Melara1-15/+13
weren't going to be used anyway
2016-02-16Beginning attemps to fix concretization method to account for the new tuple ↵Mario Melara1-27/+46
architecture
2016-02-16Added some _cmp_key methods to OperatingSystem class, and also changed the ↵Mario Melara1-3/+18
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-16Changed target checking to architecture checking for abi compatibleMario Melara1-3/+4
2016-02-13Changed the method in which architecture is converted from string to ↵Mario Melara1-63/+105
namedtuple. Also added some TODO comments to later consider changing how architecture is handled
2016-02-13Changed operating system getter so that linux and darwin autodetected ↵Mario Melara1-0/+2
operating systems are set as class default_os
2016-02-11Using pylint, fixed some of the indentation and spacing errorsMario Melara1-61/+33
2016-02-11Changed some variables to account for the fact that target is now a tupleMario Melara1-7/+7
2016-02-11changed some variables to account for the fact that target is now a tupleMario Melara1-6/+5
2016-02-10Added add_os method to platform subclassesMario Melara2-0/+2
2016-02-10Added new add_os methodMario Melara1-1/+8
2016-02-10Added method to concretize target and os pairMario Melara1-16/+63
2016-02-10Changed add_target_from_string to include methods to concretize operating_systemMario Melara1-33/+31
2016-02-10Added operating system class prototype and some autodetect features for ↵Mario Melara1-1/+60
operating system
2016-02-10Revert "new branch and also pushing some architecture changes where os is ↵Mario Melara1-84/+52
detected by linux and darwin and manually set by cray and bgq" This reverts commit 70088be24b2ed34076f7f5292a2a465a8655a886.
2016-02-06new branch and also pushing some architecture changes where os is detected ↵Mario Melara1-52/+84
by linux and darwin and manually set by cray and bgq
2016-01-20Removed unneccessary $. Still learning regexpMario Melara1-1/+1
2016-01-20Better regular expression searching. Tested on edison was finding test ↵Mario Melara1-1/+1
compilers and then spack was giving multiple compiler match errors
2016-01-09Adding needed import modules. Changed platform_name to platform to prevent ↵Mario Melara1-2/+5
syntax errors
2016-01-08cleanup: Removing an unnecessary line in an otherwise unchanged fileGregory Becker1-1/+0
2016-01-08minor bug chasingGregory Becker3-20/+4