summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMario Melara <maamelara@gmail.com>2016-02-25 10:41:28 -0800
committerMario Melara <maamelara@gmail.com>2016-02-25 10:41:28 -0800
commit9ac2556285ae38dd6d661d9bba811a5e007cb551 (patch)
tree82c77568f52b84ff40ef2e7080b7e011bb2a8b4e /lib
parentb43a5498a159c634ca88341d3010bc1c98197e24 (diff)
downloadspack-9ac2556285ae38dd6d661d9bba811a5e007cb551.tar.gz
spack-9ac2556285ae38dd6d661d9bba811a5e007cb551.tar.bz2
spack-9ac2556285ae38dd6d661d9bba811a5e007cb551.tar.xz
spack-9ac2556285ae38dd6d661d9bba811a5e007cb551.zip
Deleted old operating_system (without the s) file
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/operating_system/__init__.py0
-rw-r--r--lib/spack/spack/operating_system/cnl.py20
-rw-r--r--lib/spack/spack/operating_system/linux_distro.py25
-rw-r--r--lib/spack/spack/operating_system/mac_osx.py40
4 files changed, 0 insertions, 85 deletions
diff --git a/lib/spack/spack/operating_system/__init__.py b/lib/spack/spack/operating_system/__init__.py
deleted file mode 100644
index e69de29bb2..0000000000
--- a/lib/spack/spack/operating_system/__init__.py
+++ /dev/null
diff --git a/lib/spack/spack/operating_system/cnl.py b/lib/spack/spack/operating_system/cnl.py
deleted file mode 100644
index 07221630f2..0000000000
--- a/lib/spack/spack/operating_system/cnl.py
+++ /dev/null
@@ -1,20 +0,0 @@
-import spack
-from spack.architecture import OperatingSystem
-
-class Cnl(OperatingSystem):
- """ Compute Node Linux (CNL) is the operating system used for the Cray XC
- series super computers. It is a very stripped down version of GNU/Linux.
- Any compilers found through this operating system will be used with
- modules. If updated, user must make sure that version and name are
- updated to indicate that OS has been upgraded (or downgraded)
- """
- def __init__(self):
- name = 'CNL'
- version = '10'
- super(Cnl, self).__init__(name, version, "MODULES")
-
- def compiler_strategy(self):
- return self.compiler_strategy
-
- def find_compilers(self):
- pass
diff --git a/lib/spack/spack/operating_system/linux_distro.py b/lib/spack/spack/operating_system/linux_distro.py
deleted file mode 100644
index 1345b7d618..0000000000
--- a/lib/spack/spack/operating_system/linux_distro.py
+++ /dev/null
@@ -1,25 +0,0 @@
-import platform as py_platform
-import spack
-from spack.architecture import OperatingSystem
-
-class LinuxDistro(OperatingSystem):
- """ This class will represent the autodetected operating system
- for a Linux System. Since there are many different flavors of
- Linux, this class will attempt to encompass them all through
- autodetection using the python module platform and the method
- platform.dist()
- """
- def __init__(self):
- name = py_platform.dist()[0]
- version = py_platform.dist()[1]
-
- super(LinuxDistro, self).__init__(name, version, "PATH")
-
- def compiler_strategy(self):
- return self.compiler_strategy
-
- def find_compilers(self):
- pass
-
-
-
diff --git a/lib/spack/spack/operating_system/mac_osx.py b/lib/spack/spack/operating_system/mac_osx.py
deleted file mode 100644
index 6fb6fef138..0000000000
--- a/lib/spack/spack/operating_system/mac_osx.py
+++ /dev/null
@@ -1,40 +0,0 @@
-""" This class represents the MAC_OSX operating system. This will be auto
- detected using the python platform.mac_ver. The MAC_OSX platform
- will be represented using the major version operating system name, i.e
- el capitan, yosemite...etc.
-"""
-import platform as py_platform
-import spack
-from spack.architecture import OperatingSystem
-
-class MacOsx(OperatingSystem):
- def __init__(self):
- """ Autodetects the mac version from a dictionary. Goes back as
- far as 10.6 snowleopard. If the user has an older mac then
- the version will just be a generic mac_os.
- """
- mac_releases = {'10.6': "snowleopard",
- "10.7": "lion",
- "10.8": "mountainlion",
- "10.9": "mavericks",
- "10.10": "yosemite",
- "10.11": "elcapitan"}
-
- mac_ver = py_platform.mac_ver()[0][:-2]
- try:
- name = mac_releases[mac_ver]
- except KeyError:
- name = "mac_os"
-
- super(MacOsx, self).__init__(name, mac_ver, "PATH")
-
- def compiler_strategy(self):
- return self.compiler_strategy
-
- def find_compilers(self):
- pass
-
-
-
-
-