public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] f45: Work around test failure
@ 2026-11-03 22:27 Milan Bouchet-Valat
  0 siblings, 0 replies; only message in thread
From: Milan Bouchet-Valat @ 2026-11-03 22:27 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/julia
            Branch : f45
            Commit : a7d4eba77df3fe6c4f7a5b672600c948bc2e68e6
            Author : Milan Bouchet-Valat <nalimilan@club.fr>
            Date   : 2026-11-03T23:27:10+01:00
            Stats  : +3/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/julia/c/a7d4eba77df3fe6c4f7a5b672600c948bc2e68e6?branch=f45

            Log:
            Work around test failure

Until a fix is found upstream.

---
diff --git a/julia.spec b/julia.spec
index eb37834..0f4cec1 100644
--- a/julia.spec
+++ b/julia.spec
@@ -339,6 +339,9 @@ sed "s/cpu_threads = max(2\*cpu_threads, min(200, 10\*cpu_threads))/cpu_threads 
 ## Disable tests that fail on build machines (but not locally)
 sed -i 's/skip_tests = Set()/skip_tests = Set(["loading", "cmdlineargs"])/' test/choosetests.jl
 
+# Disable test that fails for some CPUs (apparently those who don't have two threads per core)
+sed -i "s/const AFFINITY_SUPPORTED = .*/const AFFINITY_SUPPORTED = false/" test/threads.jl
+
 # Julia hardcodes the exact SOVERSION it uses when USE_SYSTEM_*=0
 # https://github.com/JuliaLang/julia/pull/38347#discussion_r574819534
 sed "s/@test vn == v\".*\"//" -i stdlib/PCRE2_jll/test/runtests.jl

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 22:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 22:27 [rpms/julia] f45: Work around test failure Milan Bouchet-Valat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox