[boost-build] Fix build failure for loongarch64 (#25613)

* Fix build failure for loongarch64 cpu.

* Update port version of boost-build.

* Update port version database.

* update sha512 of libharu-shading-pr-157.patch

* update vcpkg.json of libharu

* fix spelling wrong for 'version-date'.

* update port version database

* Revert "update sha512 of libharu-shading-pr-157.patch"

This reverts commit 64410af12c45cae1c23fa48287ef08e6adfa41c0.

* update port version database

Co-authored-by: Jamlys Lee <jamlys_lee@163.com>
This commit is contained in:
Jamlys Lee 2022-07-09 03:30:46 +08:00 committed by GitHub
parent 0e26a78abe
commit 0ed00ce68b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 58 additions and 1 deletions

View File

@ -0,0 +1,45 @@
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

View File

@ -15,6 +15,7 @@ vcpkg_from_github(
PATCHES
0001-don-t-skip-install-targets.patch
0002-fix-get-version.patch
0003-update-architecture-feature.jam-file.patch
)
vcpkg_download_distfile(ARCHIVE

View File

@ -1,6 +1,7 @@
{
"name": "boost-build",
"version": "1.79.0",
"port-version": 1,
"description": "Boost.Build",
"homepage": "https://github.com/boostorg/build",
"license": "BSL-1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a5ddae928a30fbcc9d5cb01906a7ee846b1b6c62",
"version": "1.79.0",
"port-version": 1
},
{
"git-tree": "ba4fbdacb5988e8f753bf2098ec257453c50a27a",
"version": "1.79.0",

View File

@ -582,7 +582,7 @@
},
"boost-build": {
"baseline": "1.79.0",
"port-version": 0
"port-version": 1
},
"boost-callable-traits": {
"baseline": "1.79.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "bfeaf0d13fce9156ac216daa37a2c945290fc0ed",
"version-date": "2017-08-15",
"port-version": 11
},
{
"git-tree": "312f4b697d2f46818c218e270bd447cdeb76322c",
"version-string": "2017-08-15",