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
checksums
patches
tools
valgrind
.gitignore -rw-r--r-- 26 bytes
Makefile -rw-r--r-- 5.5 KB
Versions.make -rw-r--r-- 2.7 KB
blastrampoline.mk -rw-r--r-- 1.4 KB
blastrampoline.version -rw-r--r-- 90 bytes
csl.mk -rw-r--r-- 4.5 KB
curl.mk -rw-r--r-- 3.3 KB
dsfmt.mk -rw-r--r-- 2.1 KB
gfortblas.alias -rw-r--r-- 706 bytes
gfortblas.c -rw-r--r-- 4.4 KB
gmp.mk -rw-r--r-- 3.1 KB
libdSFMT.def -rw-r--r-- 778 bytes
libgit2.mk -rw-r--r-- 4.0 KB
libgit2.version -rw-r--r-- 76 bytes
libssh2.mk -rw-r--r-- 2.5 KB
libssh2.version -rw-r--r-- 84 bytes
libsuitesparse.mk -rw-r--r-- 4.9 KB
libuv.mk -rw-r--r-- 1.8 KB
libuv.version -rw-r--r-- 82 bytes
libwhich.mk -rw-r--r-- 1.2 KB
libwhich.version -rw-r--r-- 78 bytes
llvm-options.mk -rw-r--r-- 564 bytes
llvm-ver.make -rw-r--r-- 359 bytes
llvm.mk -rw-r--r-- 10.8 KB
llvm.version -rw-r--r-- 52 bytes
mbedtls.mk -rw-r--r-- 3.3 KB
mpfr.mk -rw-r--r-- 2.6 KB
nghttp2.mk -rw-r--r-- 2.0 KB
objconv.mk -rw-r--r-- 1.0 KB
openblas.mk -rw-r--r-- 8.2 KB
openblas.version -rw-r--r-- 79 bytes
openlibm.mk -rw-r--r-- 1.3 KB
openlibm.version -rw-r--r-- 78 bytes
p7zip.mk -rw-r--r-- 2.6 KB
patchelf.mk -rw-r--r-- 2.1 KB
pcre.mk -rw-r--r-- 2.8 KB
unwind.mk -rw-r--r-- 6.1 KB
utf8proc.mk -rw-r--r-- 1.5 KB
utf8proc.version -rw-r--r-- 78 bytes
zlib.mk -rw-r--r-- 1.3 KB
zlib.version -rw-r--r-- 71 bytes

back to top