aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cuda.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-07-02 14:03:32 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-07-15 10:59:22 -0700
commitcd5360821a0d107dbc1a097ec93524fd9336b3e9 (patch)
tree04249ea4ee7318e2c8c1ef580a325f47797077c5 /mesonbuild/compilers/cuda.py
parentd68969f1691515b45f0f9d438aebb120059872d9 (diff)
downloadmeson-cd5360821a0d107dbc1a097ec93524fd9336b3e9.zip
meson-cd5360821a0d107dbc1a097ec93524fd9336b3e9.tar.gz
meson-cd5360821a0d107dbc1a097ec93524fd9336b3e9.tar.bz2
compilers: split gnu and gnulike compilers out of compilers
I debated a bit whether both classes really belong in the same module, and decided that they do because the share a number of helpers.
Diffstat (limited to 'mesonbuild/compilers/cuda.py')
-rw-r--r--mesonbuild/compilers/cuda.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cuda.py b/mesonbuild/compilers/cuda.py
index 3c38c09..152c8ba 100644
--- a/mesonbuild/compilers/cuda.py
+++ b/mesonbuild/compilers/cuda.py
@@ -17,7 +17,8 @@ import re, os.path
from .. import mlog
from ..mesonlib import EnvironmentException, MachineChoice, Popen_safe
from .compilers import (Compiler, cuda_buildtype_args, cuda_optimization_args,
- cuda_debug_args, CompilerType, get_gcc_soname_args)
+ cuda_debug_args, CompilerType)
+from .mixins.gnu import get_gcc_soname_args
class CudaCompiler(Compiler):
def __init__(self, exelist, version, for_machine: MachineChoice, is_cross, exe_wrapper=None):