Skip to content

Commit 985eb18

Browse files
authored
Remove mips/mipsel targets from CI (#413)
1 parent b0070c6 commit 985eb18

File tree

2 files changed

+2
-120
lines changed

2 files changed

+2
-120
lines changed

.github/workflows/linux.yml

-120
Original file line numberDiff line numberDiff line change
@@ -244,88 +244,6 @@ jobs:
244244
py: 'cpython-3.12'
245245
options: 'lto'
246246

247-
# Cross-compiles can't do PGO and require Python 3.9.
248-
- target_triple: 'mips-unknown-linux-gnu'
249-
py: 'cpython-3.9'
250-
options: 'debug'
251-
- target_triple: 'mips-unknown-linux-gnu'
252-
py: 'cpython-3.9'
253-
options: 'noopt'
254-
- target_triple: 'mips-unknown-linux-gnu'
255-
py: 'cpython-3.9'
256-
options: 'lto'
257-
258-
- target_triple: 'mips-unknown-linux-gnu'
259-
py: 'cpython-3.10'
260-
options: 'debug'
261-
- target_triple: 'mips-unknown-linux-gnu'
262-
py: 'cpython-3.10'
263-
options: 'noopt'
264-
- target_triple: 'mips-unknown-linux-gnu'
265-
py: 'cpython-3.10'
266-
options: 'lto'
267-
268-
- target_triple: 'mips-unknown-linux-gnu'
269-
py: 'cpython-3.11'
270-
options: 'debug'
271-
- target_triple: 'mips-unknown-linux-gnu'
272-
py: 'cpython-3.11'
273-
options: 'noopt'
274-
- target_triple: 'mips-unknown-linux-gnu'
275-
py: 'cpython-3.11'
276-
options: 'lto'
277-
278-
- target_triple: 'mips-unknown-linux-gnu'
279-
py: 'cpython-3.12'
280-
options: 'debug'
281-
- target_triple: 'mips-unknown-linux-gnu'
282-
py: 'cpython-3.12'
283-
options: 'noopt'
284-
- target_triple: 'mips-unknown-linux-gnu'
285-
py: 'cpython-3.12'
286-
options: 'lto'
287-
288-
# Cross-compiles can't do PGO and require Python 3.9.
289-
- target_triple: 'mipsel-unknown-linux-gnu'
290-
py: 'cpython-3.9'
291-
options: 'debug'
292-
- target_triple: 'mipsel-unknown-linux-gnu'
293-
py: 'cpython-3.9'
294-
options: 'noopt'
295-
- target_triple: 'mipsel-unknown-linux-gnu'
296-
py: 'cpython-3.9'
297-
options: 'lto'
298-
299-
- target_triple: 'mipsel-unknown-linux-gnu'
300-
py: 'cpython-3.10'
301-
options: 'debug'
302-
- target_triple: 'mipsel-unknown-linux-gnu'
303-
py: 'cpython-3.10'
304-
options: 'noopt'
305-
- target_triple: 'mipsel-unknown-linux-gnu'
306-
py: 'cpython-3.10'
307-
options: 'lto'
308-
309-
- target_triple: 'mipsel-unknown-linux-gnu'
310-
py: 'cpython-3.11'
311-
options: 'debug'
312-
- target_triple: 'mipsel-unknown-linux-gnu'
313-
py: 'cpython-3.11'
314-
options: 'noopt'
315-
- target_triple: 'mipsel-unknown-linux-gnu'
316-
py: 'cpython-3.11'
317-
options: 'lto'
318-
319-
- target_triple: 'mipsel-unknown-linux-gnu'
320-
py: 'cpython-3.12'
321-
options: 'debug'
322-
- target_triple: 'mipsel-unknown-linux-gnu'
323-
py: 'cpython-3.12'
324-
options: 'noopt'
325-
- target_triple: 'mipsel-unknown-linux-gnu'
326-
py: 'cpython-3.12'
327-
options: 'lto'
328-
329247
# Cross-compiles can't do PGO and require Python 3.9.
330248
- target_triple: 's390x-unknown-linux-gnu'
331249
py: 'cpython-3.9'
@@ -936,44 +854,6 @@ jobs:
936854
py: 'cpython-3.13'
937855
options: 'freethreaded+lto'
938856

939-
- target_triple: 'mips-unknown-linux-gnu'
940-
py: 'cpython-3.13'
941-
options: 'debug'
942-
- target_triple: 'mips-unknown-linux-gnu'
943-
py: 'cpython-3.13'
944-
options: 'noopt'
945-
- target_triple: 'mips-unknown-linux-gnu'
946-
py: 'cpython-3.13'
947-
options: 'lto'
948-
- target_triple: 'mips-unknown-linux-gnu'
949-
py: 'cpython-3.13'
950-
options: 'freethreaded+debug'
951-
- target_triple: 'mips-unknown-linux-gnu'
952-
py: 'cpython-3.13'
953-
options: 'freethreaded+noopt'
954-
- target_triple: 'mips-unknown-linux-gnu'
955-
py: 'cpython-3.13'
956-
options: 'freethreaded+lto'
957-
958-
- target_triple: 'mipsel-unknown-linux-gnu'
959-
py: 'cpython-3.13'
960-
options: 'debug'
961-
- target_triple: 'mipsel-unknown-linux-gnu'
962-
py: 'cpython-3.13'
963-
options: 'noopt'
964-
- target_triple: 'mipsel-unknown-linux-gnu'
965-
py: 'cpython-3.13'
966-
options: 'lto'
967-
- target_triple: 'mipsel-unknown-linux-gnu'
968-
py: 'cpython-3.13'
969-
options: 'freethreaded+debug'
970-
- target_triple: 'mipsel-unknown-linux-gnu'
971-
py: 'cpython-3.13'
972-
options: 'freethreaded+noopt'
973-
- target_triple: 'mipsel-unknown-linux-gnu'
974-
py: 'cpython-3.13'
975-
options: 'freethreaded+lto'
976-
977857
- target_triple: 's390x-unknown-linux-gnu'
978858
py: 'cpython-3.13'
979859
options: 'debug'

src/validation.rs

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ const RECOGNIZED_TRIPLES: &[&str] = &[
3939
"arm64-apple-tvos",
4040
"i686-pc-windows-msvc",
4141
"i686-unknown-linux-gnu",
42+
// Note there's build support for mips* targets but they are not tested
43+
// See https://github.com/indygreg/python-build-standalone/issues/412
4244
"mips-unknown-linux-gnu",
4345
"mipsel-unknown-linux-gnu",
4446
"mips64el-unknown-linux-gnuabi64",

0 commit comments

Comments
 (0)