summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2018-09-24 21:20:49 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2018-09-24 12:20:49 -0700
commitd2bd5177dae3f187de247b5f5186c20414d1f53e (patch)
tree3132e7a4819b2966f3f52b3b4df7a2c377626043 /lib
parent8947b6b909d390c324cd52fce9f6f58bf6ff3d32 (diff)
downloadspack-d2bd5177dae3f187de247b5f5186c20414d1f53e.tar.gz
spack-d2bd5177dae3f187de247b5f5186c20414d1f53e.tar.bz2
spack-d2bd5177dae3f187de247b5f5186c20414d1f53e.tar.xz
spack-d2bd5177dae3f187de247b5f5186c20414d1f53e.zip
macos: add mojave (#9322)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/operating_systems/mac_os.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/operating_systems/mac_os.py b/lib/spack/spack/operating_systems/mac_os.py
index 39e3afbda3..6c93544779 100644
--- a/lib/spack/spack/operating_systems/mac_os.py
+++ b/lib/spack/spack/operating_systems/mac_os.py
@@ -54,7 +54,8 @@ class MacOs(OperatingSystem):
"10.10": "yosemite",
"10.11": "elcapitan",
"10.12": "sierra",
- "10.13": "highsierra"}
+ "10.13": "highsierra",
+ "10.14": "mojave"}
mac_ver = '.'.join(py_platform.mac_ver()[0].split('.')[:2])
name = mac_releases.get(mac_ver, "macos")