aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cuda.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-07-25 08:37:30 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-08-14 13:13:22 -0700
commit90e43dbdfe06d062939803ec4ee261315096aee7 (patch)
tree439410e93cd78d206c1a2f16e2bc809f734747e4 /mesonbuild/compilers/cuda.py
parenta6ab28b1992cb1afb7f68b2d2b835dc74dd97c88 (diff)
downloadmeson-90e43dbdfe06d062939803ec4ee261315096aee7.zip
meson-90e43dbdfe06d062939803ec4ee261315096aee7.tar.gz
meson-90e43dbdfe06d062939803ec4ee261315096aee7.tar.bz2
re-architect the D compiler abstractions
We support 3 D compilers, DMD, LDC, and GDC. DMD is the reference compiler, and LDC attempts to largely mirror it's command line usage. GDC does not, it instead acts like GCC (which makes sense). The current abstraction puts DMD behavior in the base D compiler and then overrides then in the GnuDCompiler class. This is messy, but it becomes more problematic when splitting the linker and compiler abstractions apart. I've opted to instead split the DCompiler class into two separate classes. The DCompiler implements core D functinoality, and DmdLikeCompilerMixin, which implements the DMD and LDC command line arguments. I've then mxed that into the DmdDCompiler and LLVMDCompiler classes, and mixed the GnuCompiler into the GnuDCompiler class to get Gnu command line behavior.
Diffstat (limited to 'mesonbuild/compilers/cuda.py')
0 files changed, 0 insertions, 0 deletions