https://github.com/JuliaLang/julia
Revision 32b1305c78c353c7b9241a2f1bac43788041240f authored by Elliot Saba on 21 March 2022, 20:33:24 UTC, committed by GitHub on 21 March 2022, 20:33:24 UTC
* More flexibly test affinity setting

When running on a machine with `cpusets` applied, we are unable to
assign CPU affinity to CPUs 1 and 2; we may be locked to CPUs 9-16, for
example.  So we must inspect what our current cpumask is, and from that
select CPUs that we can safely assign affinity to in our tests.

* Import `uv_thread_getaffinity` from `print_process_affinity.jl`

* Call `uv_thread_getaffinity` only if `AFFINITY_SUPPORTED`

* Fix a syntax error

Co-authored-by: Takafumi Arakaki <aka.tkf@gmail.com>
1 parent 1eae65b
History
Tip revision: 32b1305c78c353c7b9241a2f1bac43788041240f authored by Elliot Saba on 21 March 2022, 20:33:24 UTC
More flexible test affinity setting (#44677)
Tip revision: 32b1305
File Mode Size
SuiteSparse-shlib.patch -rw-r--r-- 1.7 KB
config.sub -rwxr-xr-x 33.3 KB
gmp-HG-changeset.patch -rw-r--r-- 10.8 KB
gmp-exception.patch -rw-r--r-- 318 bytes
gmp_alloc_overflow_func.patch -rw-r--r-- 5.3 KB
libgit2-agent-nonfatal.patch -rw-r--r-- 777 bytes
libgit2-hostkey.patch -rw-r--r-- 977 bytes
libssh2-userauth-check.patch -rw-r--r-- 1.1 KB
libunwind-cfa-rsp.patch -rw-r--r-- 14.8 KB
libunwind-dwarf-table.patch -rw-r--r-- 1.5 KB
libunwind-prefer-extbl.patch -rw-r--r-- 7.4 KB
libunwind-static-arm.patch -rw-r--r-- 404 bytes
llvm7-symver-jlprefix.patch -rw-r--r-- 702 bytes
neoverse-generic-kernels.patch -rw-r--r-- 661 bytes
openblas-ofast-power.patch -rw-r--r-- 1006 bytes
openblas-winexit.patch -rw-r--r-- 4.1 KB
p7zip-12-CVE-2016-9296.patch -rw-r--r-- 807 bytes
p7zip-13-CVE-2017-17969.patch -rw-r--r-- 1.3 KB
p7zip-15-Enhanced-encryption-strength.patch -rw-r--r-- 7.7 KB
p7zip-Windows_ErrorMsg.patch -rw-r--r-- 1.8 KB
pcre2-sljit-apple-silicon-support.patch -rw-r--r-- 7.1 KB
pcre2-sljit-nomprotect.patch -rw-r--r-- 493 bytes

back to top