1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

main/llvm15: fix tests with python 3.13

This commit is contained in:
Celeste 2025-07-08 05:10:19 +00:00
parent d2d351c19a
commit af99bfd73b
2 changed files with 19 additions and 0 deletions

View file

@ -33,6 +33,7 @@ source="https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/l
install-prefix.patch
lfs64.patch
llvm-stack-size.patch
py3.13-tests.patch
rust-feature-tables.patch
"
builddir="$srcdir/$_pkgname-project-$pkgver.src"
@ -320,5 +321,6 @@ ef63d5e01440cff65c10b84b65099bbd539bae72065d5581a8d2409cf2d0d4410d5bb3f501273ab2
ebc0be314c129ef38f00c8c2be9d589658cae89ac8cda109e35933b5044e775a3d370c0c584d3e501e4d43167b8523d8c5e5a85653d8ebe853571697ae40fb35 install-prefix.patch
14439883c4967d99b496e6af9ad920afbeb9e12538ccc411329e7b39d319a216322f733f0d8511c4e2d7702015e5f552980bf586e95459cecf3c8cff5a245fd6 lfs64.patch
18668bc5ba056b6f0cc2ef28db1d1a7a60d2ff67e8a741cbd704aba510128e6564f70a1bbc3140562445e03a83169f6cdf0ee4a6adba1a5009a689a7a3bb6541 llvm-stack-size.patch
285c157264e8e7a472a5aa6a05365833ff95b5e68005a6ef2fd5bdd5168947d95afb9406b790b84dfa04590c42c440369dfade4d5de5db7cfb42e31c78798622 py3.13-tests.patch
84d2cc5c0376d8a8a2bbc0891849c9421feaea5b38a329aecdb822c136f7ded7ab4c3b87838d8915e6eb54cfe89f3e88f3b81ae98733e9a58d935be74a3c456c rust-feature-tables.patch
"

View file

@ -0,0 +1,17 @@
--- a/llvm/test/Bindings/Go/lit.local.cfg
+++ b/llvm/test/Bindings/Go/lit.local.cfg
@@ -1,5 +1,4 @@
import os
-import pipes
import shlex
import sys
@@ -56,7 +55,7 @@
except (AttributeError, OSError):
pass
- return ' '.join([pipes.quote(arg) for arg in args])
+ return ' '.join([shlex.quote(arg) for arg in args])
config.environment['CC'] = fixup_compiler_path(config.host_cc)
config.environment['CXX'] = fixup_compiler_path(config.host_cxx)