public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Bouchet-Valat <nalimilan@club.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/julia] f45: Work around test failure
Date: Tue, 03 Nov 2026 22:27:59 GMT	[thread overview]
Message-ID: <179374487938.1.3576485839167434728.rpms-julia-a7d4eba77df3@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-11-03 22:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179374487938.1.3576485839167434728.rpms-julia-a7d4eba77df3@fedoraproject.org \
    --to=nalimilan@club.fr \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox