From fbfb758bcbc2ee9a7a816b7163f5478e631b0bcf Mon Sep 17 00:00:00 2001 From: mayeut Date: Sun, 8 Mar 2026 12:03:56 +0100 Subject: [PATCH] chore: re-enable fork tests when running under QEMU QEMU 10.2.1 has been released with a fix. The workaround is not needed anymore. --- pyproject.toml | 2 +- tools/build_steps.sh | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 643edf9f..46869560 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta" [project] name = "scipy-openblas64" # v0.3.31-126-g55b16e59 -version = "0.3.31.126.1" +version = "0.3.31.126.2" requires-python = ">=3.7" description = "Provides OpenBLAS for python packaging" readme = "README.md" diff --git a/tools/build_steps.sh b/tools/build_steps.sh index 66f70073..9fc5b75b 100644 --- a/tools/build_steps.sh +++ b/tools/build_steps.sh @@ -188,11 +188,6 @@ function build_lib { echo "the utest samin/damin have been temporarily disabled." echo "QEMU does not support the 'lper' /'lpdr' instructions used" fi - if [ "$plat" == "loongarch64" ] || [ "$plat" == "ppc64le" ] || [ "$plat" == "s390x" ] || [ "$plat" == "riscv64" ]; then - sed -i 's/CTEST(fork, safety)/CTEST_SKIP(fork, safety)/g' ./utest/test_fork.c - sed -i 's/CTEST(fork, safety_after_fork_in_parent)/CTEST_SKIP(fork, safety_after_fork_in_parent)/g' ./utest/test_post_fork.c - echo "QEMU has a race condition preventing fork tests to work as expected" - fi if [ -n "$dynamic_list" ]; then CFLAGS="$CFLAGS -fvisibility=protected -Wno-uninitialized" \ make BUFFERSIZE=20 DYNAMIC_ARCH=1 QUIET_MAKE=1 \