vcpkg/ports/boost-build/0003-update-architecture-feature.jam-file.patch

46 lines
1.3 KiB
Diff
Raw Normal View History

From f1c2f1ec0415e7259cd3ce3e4c20965a1642d9e2 Mon Sep 17 00:00:00 2001
From: Jamlys Lee <jamlys_lee@163.com>
Date: Thu, 7 Jul 2022 13:23:17 +0800
Subject: [PATCH] update architecture-feature.jam file
---
src/tools/features/architecture-feature.jam | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/tools/features/architecture-feature.jam b/src/tools/features/architecture-feature.jam
index 3fb0059..a47c4bf 100755
--- a/src/tools/features/architecture-feature.jam
+++ b/src/tools/features/architecture-feature.jam
@@ -10,7 +10,7 @@ import feature ;
[[bbv2.builtin.features.architecture]]`architecture`::
*Allowed values:* `x86`, `ia64`, `sparc`, `power`, `mips`, `mips1`, `mips2`,
`mips3`, `mips4`, `mips32`, `mips32r2`, `mips64`, `parisc`, `arm`,
-`s390x`.
+`s390x`, `loongarch`.
+
Specifies the general processor family to generate code for.
@@ -30,6 +30,9 @@ feature.feature architecture
# RS/6000 & PowerPC
power
+ # LoongArch
+ loongarch
+
# MIPS/SGI
mips mips1 mips2 mips3 mips4 mips32 mips32r2 mips64
@@ -44,6 +47,9 @@ feature.feature architecture
# z Systems (aka s390x)
s390x
+
+ # Combined architecture(s)
+ arm+x86
:
propagated optional
;
--
2.25.1