aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/cuda.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-09-11 19:07:09 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-09-19 15:19:00 -0400
commit5bfab845d0bc2414e5323d2a59d6c357808c02ea (patch)
tree9941a3c2702cd542fb582d2e7426e788fbddfb6b /mesonbuild/modules/cuda.py
parent0a9048e5546c17a926fd199ded798fba0f76b036 (diff)
downloadmeson-5bfab845d0bc2414e5323d2a59d6c357808c02ea.zip
meson-5bfab845d0bc2414e5323d2a59d6c357808c02ea.tar.gz
meson-5bfab845d0bc2414e5323d2a59d6c357808c02ea.tar.bz2
compilers: directly import from subpackages
It turns out we don't generally need to proxy every compiler ever through the top-level package. The number of times we directly poke at one is negligible and direct imports are pretty clean.
Diffstat (limited to 'mesonbuild/modules/cuda.py')
-rw-r--r--mesonbuild/modules/cuda.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/cuda.py b/mesonbuild/modules/cuda.py
index df9dba8..0e33984 100644
--- a/mesonbuild/modules/cuda.py
+++ b/mesonbuild/modules/cuda.py
@@ -17,7 +17,7 @@ import typing as T
import re
from ..mesonlib import version_compare
-from ..compilers import CudaCompiler
+from ..compilers.cuda import CudaCompiler
from . import NewExtensionModule, ModuleInfo