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 |
|
Mario Melara
|
aab1a67d05
|
Adding needed import modules. Changed platform_name to platform to prevent syntax errors
|
2016-01-09 09:42:36 -08:00 |
|
Gregory Becker
|
9615efd940
|
cleanup: Removing an unnecessary line in an otherwise unchanged file
|
2016-01-08 18:53:19 -08:00 |
|
Gregory Becker
|
41046499c6
|
minor bug chasing
|
2016-01-08 18:51:38 -08:00 |
|
Gregory Becker
|
6e5238d037
|
Fixing the fix and removing debug printing
|
2016-01-08 17:44:16 -08:00 |
|
Gregory Becker
|
2b2d4bae4e
|
Fixing multimethod test for new platforms
|
2016-01-08 17:38:37 -08:00 |
|
Gregory Becker
|
2b4dd8b9af
|
Fixed target satisfaction and updated tests accordingly
|
2016-01-08 16:30:27 -08:00 |
|
Gregory Becker
|
aa28e4e81f
|
Improved error messages for compiler_for_spec when either zero or multiple compilers returned.
|
2016-01-08 15:13:48 -08:00 |
|
Gregory Becker
|
6da1a105cb
|
Revert "adding python_recipe_parser as a submodule under the folder utils"
This reverts commit 1501786fd9 .
|
2016-01-08 15:03:34 -08:00 |
|
Gregory Becker
|
6ca1e5c4b0
|
Revert "added a bunch of packages and added submodule"
This reverts commit 79808da760 .
|
2016-01-08 15:02:29 -08:00 |
|
Gregory Becker
|
86230b9ac8
|
Revert "make sure submodule is added in the correct location"
This reverts commit e9f7d033ff .
|
2016-01-08 15:01:46 -08:00 |
|
Gregory Becker
|
d3d37ad0ce
|
removed the submodule as part of reversion of extraneous commits
|
2016-01-08 14:29:42 -08:00 |
|
Gregory Becker
|
a9e9f9afb0
|
Revert "removed package for python packages with problematic / duplicate names"
This reverts commit f3254ff02d .
|
2016-01-08 14:14:26 -08:00 |
|
Gregory Becker
|
1b0d064743
|
Revert "clean up package.py file and remove duplicate file"
This reverts commit c809cc9273 .
|
2016-01-08 14:13:33 -08:00 |
|
Gregory Becker
|
d2da41b0bd
|
More file permissions chasing
|
2016-01-08 12:12:03 -08:00 |
|
Gregory Becker
|
49908386ef
|
changing problematic package.py file permissions back to 0644
|
2016-01-08 11:48:59 -08:00 |
|
Gregory Becker
|
ba63111f45
|
brought the architecture test up to date with new changes
|
2016-01-07 13:05:58 -08:00 |
|
Gregory Becker
|
53d4f82ce1
|
Improved cray architecture class
|
2016-01-07 13:01:05 -08:00 |
|
Gregory Becker
|
83917c4c30
|
Improved target specification
|
2016-01-07 12:43:39 -08:00 |
|
Gregory Becker
|
6ccd9d6fa4
|
Cleaned up naming conventions for architecture, split into platform and target
|
2016-01-07 11:49:01 -08:00 |
|
Gregory Becker
|
b4a0004f44
|
Improved target cmp_key and to/from yaml functions
|
2016-01-06 14:50:31 -08:00 |
|
Gregory Becker
|
51bd91edc0
|
made the compiler strategy more easily controllable
|
2016-01-06 13:00:22 -08:00 |
|
Gregory Becker
|
61b03b72b0
|
improved concretize efficiency for determining whether compilers come from the proper strategy
|
2016-01-05 19:03:25 -08:00 |
|
Gregory Becker
|
93c9c45580
|
minor tweak of compiler priority while waiting for customizable compiler priorities
|
2016-01-05 17:19:04 -08:00 |
|
Gregory Becker
|
29e0ff61d7
|
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
|
c649610473
|
fixed concretization to only consider compilers found by the proper strategy
|
2016-01-05 17:00:28 -08:00 |
|
Gregory Becker
|
d6768cf921
|
minor bug fix
|
2016-01-05 16:23:32 -08:00 |
|
Gregory Becker
|
48b9023de4
|
removed debug printing
|
2016-01-05 14:51:18 -08:00 |
|
Gregory Becker
|
751503c434
|
fixed haswell targeting bug
|
2016-01-05 14:47:14 -08:00 |
|