@@ -58,17 +58,33 @@ steps:
58
58
export OPENBLAS_NUM_THREADS=8
59
59
60
60
if [[ "$${BUILDKITE_STEP_KEY:?}" == "tester_linux64_rr" ]]; then
61
+
61
62
# For the `rr` job, we disable multi-threading.
62
63
export JULIA_NUM_THREADS=1
63
64
$${JULIA_UNDER_RR:?} -e 'Base.runtests(["all"]; ncores = parse(Int, ENV["JULIA_RRCAPTURE_NUM_CORES"]))'
65
+
64
66
elif [[ "$${BUILDKITE_STEP_KEY:?}" == "tester_linux64_st" ]]; then
67
+
65
68
# "_st" = single-threaded
66
69
export JULIA_NUM_THREADS=1
67
70
$${JULIA_BINARY:?} -e 'Base.runtests(["all"]; ncores = Sys.CPU_THREADS)'
71
+
68
72
elif [[ "$${BUILDKITE_STEP_KEY:?}" == "tester_linux64_mt" ]]; then
73
+
69
74
# "_mt" = multi-threaded
70
75
export JULIA_NUM_THREADS=16
71
- $${JULIA_BINARY:?} -e 'Base.runtests(["all"]; ncores = Sys.CPU_THREADS)'
76
+ if [[ "$${BUILDKITE_PIPELINE_SLUG:?}" == "julia-release-1-dot-6" ]]; then
77
+ # On Julia 1.6, the Distributed test suite is expected to fail when multithreading is enabled.
78
+ $${JULIA_BINARY:?} -e 'Base.runtests(["all", "--skip", "Distributed"]; ncores = Sys.CPU_THREADS)'
79
+ elif [[ "$${BUILDKITE_PIPELINE_SLUG:?}" == "julia-release-1-dot-7" ]]; then
80
+ # On Julia 1.7, the Distributed test suite is expected to fail when multithreading is enabled.
81
+ $${JULIA_BINARY:?} -e 'Base.runtests(["all", "--skip", "Distributed"]; ncores = Sys.CPU_THREADS)'
82
+ else
83
+ $${JULIA_BINARY:?} -e 'Base.runtests(["all"]; ncores = Sys.CPU_THREADS)'
84
+ fi
85
+
72
86
else
87
+
73
88
$${JULIA_BINARY:?} -e 'Base.runtests(["all"]; ncores = Sys.CPU_THREADS)'
89
+
74
90
fi
0 commit comments