File tree Expand file tree Collapse file tree 4 files changed +37
-0
lines changed Expand file tree Collapse file tree 4 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1
1
python3.11 (3.11.5-2) unstable; urgency=medium
2
2
3
3
* libpython3.11-stdlib: Also depend on tzdata-legacy. Closes: #1050530.
4
+ * Add loongarch support. Closes: #1049963.
4
5
5
6
-- Matthias Klose <
[email protected] > Sat, 26 Aug 2023 20:28:17 +0200
6
7
Original file line number Diff line number Diff line change 19
19
# include <hppa-linux-gnu/@subdir@/@header@>
20
20
# elif defined(__ia64__ )
21
21
# include <ia64-linux-gnu/@subdir@/@header@>
22
+ # elif defined(__loongarch__ )
23
+ # if defined(__loongarch_soft_float )
24
+ # include <loongarch64-linux-gnusf/@subdir@/@header@>
25
+ # elif defined(__loongarch_single_float )
26
+ # include <loongarch64-linux-gnuf32/@subdir@/@header@>
27
+ # elif defined(__loongarch_double_float )
28
+ # include <loongarch64-linux-gnu/@subdir@/@header@>
29
+ # else
30
+ # error unknown multiarch location for @header@
31
+ # endif
22
32
# elif defined(__m68k__ ) && !defined(__mcoldfire__ )
23
33
# include <m68k-linux-gnu/@subdir@/@header@>
24
34
# elif defined(__mips_hard_float ) && defined(__mips_isa_rev ) && (__mips_isa_rev >=6 ) && defined(_MIPSEL )
Original file line number Diff line number Diff line change
1
+ Description: Add platform triplets for LoongArch.
2
+
3
+ --- a/configure.ac
4
+ +++ b/configure.ac
5
+ @@ -968,6 +968,20 @@ cat > conftest.c <<EOF
6
+ hppa-linux-gnu
7
+ # elif defined(__ia64__)
8
+ ia64-linux-gnu
9
+ + # elif defined(__loongarch__)
10
+ + # if defined(__loongarch_lp64)
11
+ + # if defined(__loongarch_soft_float)
12
+ + loongarch64-linux-gnusf
13
+ + # elif defined(__loongarch_single_float)
14
+ + loongarch64-linux-gnuf32
15
+ + # elif defined(__loongarch_double_float)
16
+ + loongarch64-linux-gnu
17
+ + # else
18
+ + # error unknown platform triplet
19
+ + # endif
20
+ + # else
21
+ + # error unknown platform triplet
22
+ + # endif
23
+ # elif defined(__m68k__) && !defined(__mcoldfire__)
24
+ m68k-linux-gnu
25
+ # elif defined(__mips_hard_float) && defined(__mips_isa_rev) && (__mips_isa_rev >=6) && defined(_MIPSEL)
Original file line number Diff line number Diff line change @@ -38,3 +38,4 @@ sphinx3.diff
38
38
destshared-location.diff
39
39
fix-py_compile.diff
40
40
ntpath-import.diff
41
+ add-loongarch-support.diff
You can’t perform that action at this time.
0 commit comments