summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGeoffrey Oxberry <goxberry@gmail.com>2019-08-27 10:36:07 -0700
committerAxel Huebl <axel.huebl@plasma.ninja>2019-08-27 10:36:07 -0700
commit72ad072422b900d070dc2073e837a439bdf54707 (patch)
tree38dcc64af786d047f1eb9566d217874dc861fc30 /var
parent2e8aa6cb24bf883100ee3c7c9b7ded6e8d1ec38f (diff)
downloadspack-72ad072422b900d070dc2073e837a439bdf54707.tar.gz
spack-72ad072422b900d070dc2073e837a439bdf54707.tar.bz2
spack-72ad072422b900d070dc2073e837a439bdf54707.tar.xz
spack-72ad072422b900d070dc2073e837a439bdf54707.zip
cuda: add conflict with macOS Mojave (#12570)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cuda/package.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cuda/package.py b/var/spack/repos/builtin/packages/cuda/package.py
index bb963ec3b2..b87c2bb024 100644
--- a/var/spack/repos/builtin/packages/cuda/package.py
+++ b/var/spack/repos/builtin/packages/cuda/package.py
@@ -37,6 +37,17 @@ class Cuda(Package):
version('6.5.14', '90b1b8f77313600cc294d9271741f4da', expand=False,
url="http://developer.download.nvidia.com/compute/cuda/6_5/rel/installers/cuda_6.5.14_linux_64.run")
+ # macOS Mojave drops NVIDIA graphics card support -- official NVIDIA
+ # drivers do not exist for Mojave. See
+ # https://devtalk.nvidia.com/default/topic/1043070/announcements/faq-about-macos-10-14-mojave-nvidia-drivers/
+ # Note that a CUDA Toolkit installer does exist for macOS Mojave at
+ # https://developer.nvidia.com/compute/cuda/10.1/Prod1/local_installers/cuda_10.1.168_mac.dmg,
+ # but support for Mojave is dropped in later versions, and none of the
+ # macOS NVIDIA drivers at
+ # https://www.nvidia.com/en-us/drivers/cuda/mac-driver-archive/ mention
+ # Mojave support -- only macOS High Sierra 10.13 is supported.
+ conflicts('arch=darwin-mojave-x86_64')
+
def setup_environment(self, spack_env, run_env):
run_env.set('CUDA_HOME', self.prefix)