summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-02-25Changed operating_system pathMario Melara1-1/+1
2016-02-25changed architecture.target to architecture.platform_os, so that ↵Mario Melara1-1/+1
compiler_for_spec uses operating system strategy
2016-02-25Got rid of debug commentMario Melara1-1/+0
2016-02-25Added doc strings to functions in architecture.pyMario Melara1-0/+21
2016-02-25Changed compiler finding strategy to come from operating system instead of ↵Mario Melara1-2/+2
target
2016-02-25Changed from_dict to arch_from_dict methodMario Melara1-1/+1
2016-02-25Changed naming convention of operating_system, makes it easier to create ↵Mario Melara2-7/+7
instance from dictionary just using name without the version attached. Object will stil display as name+version
2016-02-25Some cleaning up. Finally got arch_from_dict working successfully.Mario Melara1-66/+15
2016-02-25Deleted old operating_system (without the s) fileMario Melara4-85/+0
2016-02-25Changed import path to operating_systemsMario Melara4-5/+4
2016-02-25Renamed operating_system to operating_systemsMario Melara1-0/+0
2016-02-25Deleted filesMario Melara3-0/+83
2016-02-25Fix for 'Parent module spack.operating_systems not found while handling ↵Mario Melara1-21/+21
absolute import'
2016-02-24Changed to dict method. Didn't realize this was being assigned to a ↵Mario Melara1-5/+4
dictionary already so got rid of d['architecture']
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