aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-10-30 13:08:47 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-02-01 17:01:30 -0500
commitc9ac73a4da52b093feac90591efa8fe1b5ef2f42 (patch)
tree0c52b78da460bccb35724cc05f3d2ecf6d26bd6a /mesonbuild/modules
parenta21af43200e13fa65e12bdbe5116a0cecc4990b3 (diff)
downloadmeson-c9ac73a4da52b093feac90591efa8fe1b5ef2f42.zip
meson-c9ac73a4da52b093feac90591efa8fe1b5ef2f42.tar.gz
meson-c9ac73a4da52b093feac90591efa8fe1b5ef2f42.tar.bz2
simplify instantiation of builtin type using builtins instead of functions
Diffstat (limited to 'mesonbuild/modules')
-rw-r--r--mesonbuild/modules/cuda.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/modules/cuda.py b/mesonbuild/modules/cuda.py
index 67ed8ec..72ca306 100644
--- a/mesonbuild/modules/cuda.py
+++ b/mesonbuild/modules/cuda.py
@@ -336,8 +336,8 @@ class CudaModule(NewExtensionModule):
arch_ptx = arch_bin
cuda_arch_ptx += arch_ptx
- cuda_arch_bin = sorted(list(set(cuda_arch_bin)))
- cuda_arch_ptx = sorted(list(set(cuda_arch_ptx)))
+ cuda_arch_bin = sorted(set(cuda_arch_bin))
+ cuda_arch_ptx = sorted(set(cuda_arch_ptx))
nvcc_flags = []
nvcc_archs_readable = []