diff options
author | Shi Pujin <shipujin.t@gmail.com> | 2022-01-18 22:39:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 22:39:50 +0300 |
commit | 81e88f27b7199bafc9e26bb1def2d06bac2b9fad (patch) | |
tree | 939984a75c3c5cf7241b583ffe2c47ae7a79a238 /configure.py | |
parent | a199387f045aa55b58c6d2e52bb69bf32c9d3d5e (diff) |
build: add loong64 configure
PR-URL: https://github.com/nodejs/node/pull/41323
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.py b/configure.py index c17e3c6dfaa..44929db5f1a 100755 --- a/configure.py +++ b/configure.py @@ -47,7 +47,8 @@ parser = argparse.ArgumentParser() valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux', 'android', 'aix', 'cloudabi') valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'mips64el', 'ppc', - 'ppc64', 'x32','x64', 'x86', 'x86_64', 's390x', 'riscv64') + 'ppc64', 'x32','x64', 'x86', 'x86_64', 's390x', 'riscv64', + 'loong64') valid_arm_float_abi = ('soft', 'softfp', 'hard') valid_arm_fpu = ('vfp', 'vfpv3', 'vfpv3-d16', 'neon') valid_mips_arch = ('loongson', 'r1', 'r2', 'r6', 'rx') @@ -1075,6 +1076,7 @@ def host_arch_cc(): '__x86_64__' : 'x64', '__s390x__' : 's390x', '__riscv' : 'riscv', + '__loongarch64': 'loong64', } rtn = 'ia32' # default |