aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/cuda.py
diff options
context:
space:
mode:
authorXiaotian Wu <wuxiaotian@loongson.cn>2020-10-06 22:42:43 +0800
committerJussi Pakkanen <jpakkane@gmail.com>2021-02-06 15:16:04 +0000
commit233afde4cc21f34fa53798409890ebffa64e35fe (patch)
tree212735d98e778b2af9094b04f4279015443a46f7 /mesonbuild/dependencies/cuda.py
parentccd0cd316325a03f842f3213ad6d13ee12f713ad (diff)
downloadmeson-233afde4cc21f34fa53798409890ebffa64e35fe.zip
meson-233afde4cc21f34fa53798409890ebffa64e35fe.tar.gz
meson-233afde4cc21f34fa53798409890ebffa64e35fe.tar.bz2
add loongarch support
Diffstat (limited to 'mesonbuild/dependencies/cuda.py')
-rw-r--r--mesonbuild/dependencies/cuda.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/cuda.py b/mesonbuild/dependencies/cuda.py
index c04e2fc..20f6569 100644
--- a/mesonbuild/dependencies/cuda.py
+++ b/mesonbuild/dependencies/cuda.py
@@ -219,7 +219,7 @@ class CudaDependency(ExternalDependency):
raise DependencyException(msg.format(arch, 'Windows'))
return os.path.join('lib', libdirs[arch])
elif machine.is_linux():
- libdirs = {'x86_64': 'lib64', 'ppc64': 'lib', 'aarch64': 'lib64'}
+ libdirs = {'x86_64': 'lib64', 'ppc64': 'lib', 'aarch64': 'lib64', 'loongarch64': 'lib64'}
if arch not in libdirs:
raise DependencyException(msg.format(arch, 'Linux'))
return libdirs[arch]