Skip to content

release-1.7: Backports for 1.7.0/1.7.0-rc3 #42765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 72 commits into from
Nov 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
0ac9c68
change locks to avoid capturing pthread_self value
vtjnash Oct 7, 2021
976e63c
release-1.7: set VERSION to 1.7-rc2 (#42716)
KristofferC Oct 20, 2021
982d585
CI (Buildkite): fix the timeout for the `tester_linux` job that runs …
DilumAluthge Oct 21, 2021
e86ee1f
fix unique over a dimension to use `isequal` over `==` (#42737)
KristofferC Oct 21, 2021
4cbdf42
task: schedule sticky tasks correctly with _wait2 (#42750)
vtjnash Oct 22, 2021
f4df914
Distributed test suite: increase the timeout in the `poll_while` func…
DilumAluthge Oct 22, 2021
448072f
fix overflow and undeflow for @fastmath exp (#42747)
oscardssmith Oct 22, 2021
069861a
Disable `DL_LOAD_PATH` prepending for `@`-paths on Darwin (#42721)
staticfloat Oct 21, 2021
e0f980e
manually-cherry-picked: optimizer: eliminate excessive specialization…
aviatesk Oct 24, 2021
da71d29
manually-cherry-picked: optimizer: fix #42754, inline union-split con…
aviatesk Oct 24, 2021
c22889e
manually-cherry-picked: inference: `prioritize force_constant_prop` o…
aviatesk Aug 24, 2021
f662b0a
Merge pull request #42805 from JuliaLang/avi/backport-42766
aviatesk Oct 27, 2021
4bf1a0c
[release-1.7] Bump the Downloads stdlib from 5d00bdd (v1.5.1) to 26d7…
DilumAluthge Oct 28, 2021
532b3f8
Distributed test suite: if `Threads.nthreads() > 1`, skip certain tes…
DilumAluthge Oct 25, 2021
e3255ef
fix #41546, make `using` thread-safe (#41602)
JeffBezanson Oct 25, 2021
8869704
CI (Buildkite): make sure to hit ignore any unencrypted repo keys, re…
DilumAluthge Oct 26, 2021
84b7ded
reset `RandomDevice` file from `__init__` (#42537)
JeffBezanson Oct 27, 2021
21a2784
🤖 Bump the Statistics stdlib from 74897fe to 5256d57 (#42826)
DilumAluthgeBot Oct 28, 2021
901a3a5
Revert "fix #41546, make `using` thread-safe (#41602)"
KristofferC Oct 29, 2021
382129f
optimizer: fix #42840, the performance regression introduced by #4276…
aviatesk Oct 29, 2021
d7ccfd2
Backport PR #42152 to 1.7 (#42828)
barche Oct 31, 2021
17e60a2
CI: add TSAN to the sanitizers pipelines (#42444)
tkf Oct 4, 2021
3404ae5
CI (Buildkite): Update all rootfs images to the latest versions (#42802)
DilumAluthge Oct 28, 2021
c76de1e
Update Patchelf to 0.13
vchuravy Oct 25, 2021
3f030a7
CI (Buildkite): add a separate Buildkite job that runs the tests of t…
DilumAluthge Oct 31, 2021
1ef8f95
Optimize show(io::IO, m::Module) implementation. (#42773)
Sacha0 Oct 31, 2021
13310eb
no longer explicitly print some things in white (#42864)
KristofferC Oct 31, 2021
9aa1dc3
Fix RPATH of libLLVM.so on FreeBSD and Linux
vchuravy Oct 25, 2021
57f6f27
Merge pull request #42788 from JuliaLang/vc/freebsd_fix
vchuravy Oct 31, 2021
0c92bf2
Test suite: improve the warning that we print when we skip the `Profi…
DilumAluthge Oct 31, 2021
b6f1cbc
`choosetests`: preparations for setting up a separate Buildkite job t…
DilumAluthge Nov 1, 2021
b825b2d
use the httable key instead of the binding name in jl_module_names (#…
Pangoraw Nov 1, 2021
75961b2
handle some cases of null Task in segv handling (#42836)
vtjnash Nov 1, 2021
4b8fba2
MINSIGSTKSZ is no longer constant in glibc (#41860)
t-bltg Aug 12, 2021
5830b81
Update BinaryBuilder libuv to 2.0.1+4 (#41900)
ararslan Aug 18, 2021
bdcc62b
Update patchelf.mk to always use bzp2 (#42881)
vchuravy Nov 1, 2021
bc1e4ea
`choosetests`: `Pkg/pkg` is no longer relevant (#42890)
DilumAluthge Nov 2, 2021
4871167
CI (Buildkite): add Pkg, Artifacts, and LazyArtifacts to the list of …
DilumAluthge Nov 4, 2021
eb951d3
Eliminate `@loader_path/julia` element of `DL_LOAD_PATH` (#42930)
staticfloat Nov 4, 2021
6cc14ad
Distributed test suite: mark another test as thread-unsafe (#42941)
DilumAluthge Nov 5, 2021
6b08828
CI (GHA, Buildbot): temporarily, don't create the `linuxaarch64` Buil…
DilumAluthge Nov 5, 2021
1fee4a5
CI (Buildkite): increase the default timeouts (#42953)
DilumAluthge Nov 5, 2021
b7f4af8
CI (Buildkite): Fix the Buildkite once-daily scheduled job (#42976)
DilumAluthge Nov 7, 2021
6da57c2
CI (Buildkite): increase the timeouts for the Buildkite jobs that run…
DilumAluthge Nov 7, 2021
2716958
CI (GHA, Buildbot): Update the list of commit statuses created by the…
DilumAluthge Nov 7, 2021
242d851
CI (Buildkite): fix another bug in the once-daily scheduled Buildkite…
DilumAluthge Nov 7, 2021
f8ae06f
Cleanup `RPATH` settings (#42919)
staticfloat Nov 3, 2021
bf1f998
Partially revert #42919 (#42969)
ararslan Nov 6, 2021
f5954c1
External stdlibs: Move `*_URL` stdlib definitions into `.version` files
DilumAluthge Oct 2, 2021
d74571f
Remove some other uses of the unauthenticated `git://` protocol in Gi…
DilumAluthge Nov 2, 2021
ee25032
Fix libunwind segfaults from JIT frames on FreeBSD (#42970)
ararslan Nov 7, 2021
9723f82
Keep expected crash in misc test from producing a core dump (#42990)
ararslan Nov 8, 2021
bbe91db
inference: improve `TypeVar`/`Vararg` handling
aviatesk Oct 11, 2021
2a4d14f
eliminate unbound `TypeVar`s on `argtypes` construction
aviatesk Oct 15, 2021
643fef7
inference: eliminate more potential `widenconst(::TypeofVararg)` case…
aviatesk Nov 7, 2021
e8caa27
inference: relax type_more_complex for Type
vtjnash Nov 1, 2021
87000f3
tests: add help and reflection abilities to choosetests option parser…
vtjnash Oct 4, 2021
1679ea1
`choosetests`: add the `--force-net` option, which will throw an erro…
DilumAluthge Nov 1, 2021
3479d89
Running `make testall` should run all of the tests (#42904)
DilumAluthge Nov 7, 2021
41f4756
choosetests: return a namedtuple (instead of a tuple) (#42723)
DilumAluthge Oct 21, 2021
1dca956
choosetests: move testnames array at top-level (#40182)
rfourquet Jun 15, 2021
15e822c
bump to latest Pkg release-1.7
KristofferC Nov 10, 2021
52f36b8
CI (Buildkite): increase the timeout of the code coverage job (#42994)
DilumAluthge Nov 8, 2021
118344d
Fix segfault while profiling task switching (#42973)
tkf Nov 8, 2021
4c2229a
Timer: handle timeout correctly (#42854)
vtjnash Nov 8, 2021
82af540
Add missing USE_SYSTEM_LIBWHICH initialization (#43014)
haampie Nov 9, 2021
7617229
Add missing type parameter to TakeWhile (#42958)
pepijndevos Nov 9, 2021
40dca0f
`file` tests: in the `"tempname with parent"` test, temporarily unset…
DilumAluthge Nov 9, 2021
9e11179
CI (Buildkite): use a `TMPDIR` that is backed by real storage (#42995)
DilumAluthge Nov 10, 2021
8597a4b
Allow system versions of libwhich and libblastrampoline (#43000)
haampie Nov 8, 2021
9132a40
disallow unbalanced bidirectional formatting in strings and comments …
JeffBezanson Nov 11, 2021
5da2e44
Print symbols in `Tuple{:sym}` type with colons (#42999)
inkydragon Nov 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .buildkite/pipelines/main/misc/doctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ steps:
persist_depot_dirs: packages,artifacts,compiled
version: '1.6'
- staticfloat/sandbox#v1:
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v3.1/package_linux.x86_64.tar.gz
rootfs_treehash: "8c33c341a864852629b8aac01a6eb6a79b73570e"
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v4.8/package_linux.x86_64.tar.gz
rootfs_treehash: "2a058481b567f0e91b9aa3ce4ad4f09e6419355a"
uid: 1000
gid: 1000
workspaces:
Expand Down
4 changes: 2 additions & 2 deletions .buildkite/pipelines/main/misc/embedding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ steps:
persist_depot_dirs: packages,artifacts,compiled
version: '1.6'
- staticfloat/sandbox#v1:
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v3.1/package_linux.x86_64.tar.gz
rootfs_treehash: "8c33c341a864852629b8aac01a6eb6a79b73570e"
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v4.8/package_linux.x86_64.tar.gz
rootfs_treehash: "2a058481b567f0e91b9aa3ce4ad4f09e6419355a"
uid: 1000
gid: 1000
workspaces:
Expand Down
8 changes: 4 additions & 4 deletions .buildkite/pipelines/main/misc/llvmpasses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ steps:
persist_depot_dirs: packages,artifacts,compiled
version: '1.6'
- staticfloat/sandbox#v1:
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v3.1/llvm_passes.x86_64.tar.gz
rootfs_treehash: "9dd715500b117a16fcfa419ea0bca0c0ca902cee"
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v4.8/llvm_passes.x86_64.tar.gz
rootfs_treehash: "c7a289a8cc544b234b1e2d7cbcce3e6815359ecd"
workspaces:
# Include `/cache/repos` so that our `git` version introspection works.
- "/cache/repos:/cache/repos"
Expand All @@ -32,8 +32,8 @@ steps:
persist_depot_dirs: packages,artifacts,compiled
version: '1.6'
- staticfloat/sandbox#v1:
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v3.8/package_linux.x86_64.tar.gz
rootfs_treehash: "84a323ae8fcc724f8ea5aca5901bbbf4bda3e519"
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v4.8/package_linux.x86_64.tar.gz
rootfs_treehash: "2a058481b567f0e91b9aa3ce4ad4f09e6419355a"
uid: 1000
gid: 1000
workspaces:
Expand Down
24 changes: 22 additions & 2 deletions .buildkite/pipelines/main/misc/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ steps:
persist_depot_dirs: packages,artifacts,compiled
version: '1.6'
- staticfloat/sandbox#v1:
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v3.1/llvm_passes.x86_64.tar.gz
rootfs_treehash: "9dd715500b117a16fcfa419ea0bca0c0ca902cee"
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v4.8/llvm_passes.x86_64.tar.gz
rootfs_treehash: "c7a289a8cc544b234b1e2d7cbcce3e6815359ecd"
uid: 1000
gid: 1000
workspaces:
Expand All @@ -25,3 +25,23 @@ steps:
commands: |
echo "--- Build julia-debug with ASAN"
contrib/asan/build.sh ./tmp/test-asan -j$${JULIA_CPU_THREADS:?} debug
- label: "tsan"
key: "tsan"
plugins:
- JuliaCI/julia#v1:
# Drop default "registries" directory, so it is not persisted from execution to execution
persist_depot_dirs: packages,artifacts,compiled
version: '1.6'
- staticfloat/sandbox#v1:
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v4.8/llvm_passes.x86_64.tar.gz
rootfs_treehash: "c7a289a8cc544b234b1e2d7cbcce3e6815359ecd"
uid: 1000
gid: 1000
workspaces:
- "/cache/repos:/cache/repos"
timeout_in_minutes: 120
if: | # We only run the `tsan` job on Julia 1.8 and later.
(pipeline.slug != "julia-release-1-dot-6") && (pipeline.slug != "julia-release-1-dot-7")
commands: |
echo "--- Build julia-debug runtime with TSAN"
contrib/tsan/build.sh ./tmp/test-tsan -j$${JULIA_CPU_THREADS:?} julia-src-debug
Binary file not shown.
4 changes: 2 additions & 2 deletions .buildkite/pipelines/main/misc/whitespace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ steps:
persist_depot_dirs: packages,artifacts,compiled
version: '1.6'
- staticfloat/sandbox#v1:
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v3.1/package_linux.x86_64.tar.gz
rootfs_treehash: "8c33c341a864852629b8aac01a6eb6a79b73570e"
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v4.8/package_linux.x86_64.tar.gz
rootfs_treehash: "2a058481b567f0e91b9aa3ce4ad4f09e6419355a"
workspaces:
- "/cache/repos:/cache/repos"
timeout_in_minutes: 10
Expand Down
14 changes: 7 additions & 7 deletions .buildkite/pipelines/main/platforms/package_linux.arches
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# PLATFORM LABEL ALLOW_FAIL ARCH ARCH_ROOTFS MAKE_FLAGS TIMEOUT IS_RR IS_ST IS_MT ROOTFS_TAG ROOTFS_HASH
# linux _aarch64 false _aarch64 aarch64 none 60 no no no v3.2 0566841e29f0f9880541c26a6595fd5ce0beb5ff
# linux _armv7l false _armv7l armv7l none 60 no no no v3.2 fb359370b052a47ce5c84cc6b4a7a03ed7053b25
linux 32 false 32 i686 none 60 no no no v3.2 209c4db679a515befd7fb50ecc6bfbecf7ec3d32
# linux _ppc64le false _ppc64le powerpc64le none 60 no no no v3.2 c03a0158b19d48ac84b426834fce0d3584cdd0c7
linux 64 false 64 x86_64 none 60 no no no v3.2 474bf61a926b2d7fcf202284d59d4b11a04601d7
musl 64 false 64 x86_64 none 60 no no no v3.19 e6a2730e37c386c46915b2650d6aaaa398195152
# PLATFORM LABEL GROUP ALLOW_FAIL ARCH ARCH_ROOTFS MAKE_FLAGS TIMEOUT_BK TIMEOUT_RR RETRIES IS_RR IS_ST IS_MT ROOTFS_TAG ROOTFS_HASH
linux 32 . . 32 i686 . . . . . . . v4.8 b6dffc772ab4c2cd7fd4f83459308f6f0d89b957
linux 64 . . 64 x86_64 . . . . . . . v4.8 2a058481b567f0e91b9aa3ce4ad4f09e6419355a
# linux aarch64 . . aarch64 aarch64 . . . . . . . .... ........................................
# linux armv7l . . armv7l armv7l . . . . . . . .... ........................................
# linux ppc64le . . ppc64le powerpc64le . . . . . . . .... ........................................
musl 64 . . 64 x86_64 . . . . . . . v4.8 d13a47c87c38005bd5d97132e51789cafd852f90
2 changes: 1 addition & 1 deletion .buildkite/pipelines/main/platforms/package_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ steps:
workspaces:
# Include `/cache/repos` so that our `git` version introspection works.
- "/cache/repos:/cache/repos"
timeout_in_minutes: ${TIMEOUT?}
timeout_in_minutes: ${TIMEOUT_BK?}
commands: |
echo "--- Print the full and short commit hashes"
SHORT_COMMIT_LENGTH=10
Expand Down
34 changes: 25 additions & 9 deletions .buildkite/pipelines/main/platforms/tester_linux.arches
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
# PLATFORM LABEL ALLOW_FAIL ARCH ARCH_ROOTFS MAKE_FLAGS TIMEOUT IS_RR IS_ST IS_MT ROOTFS_TAG ROOTFS_HASH
# linux _aarch64 false _aarch64 aarch64 none 60 no no no v3.2 0566841e29f0f9880541c26a6595fd5ce0beb5ff
# linux _armv7l false _armv7l armv7l none 60 no no no v3.2 fb359370b052a47ce5c84cc6b4a7a03ed7053b25
linux 32 false 32 i686 none 60 no no no v3.2 209c4db679a515befd7fb50ecc6bfbecf7ec3d32
# linux _ppc64le false _ppc64le powerpc64le none 60 no no no v3.2 c03a0158b19d48ac84b426834fce0d3584cdd0c7
linux 64_rr false 64 x86_64 none 60 yes no no v3.2 474bf61a926b2d7fcf202284d59d4b11a04601d7
linux 64_st false 64 x86_64 none 60 no yes no v3.2 474bf61a926b2d7fcf202284d59d4b11a04601d7
linux 64_mt false 64 x86_64 none 60 no no yes v3.2 474bf61a926b2d7fcf202284d59d4b11a04601d7
musl 64 true 64 x86_64 none 60 no no no v3.19 e6a2730e37c386c46915b2650d6aaaa398195152
# PLATFORM LABEL GROUP ALLOW_FAIL ARCH ARCH_ROOTFS MAKE_FLAGS TIMEOUT_BK TIMEOUT_RR RETRIES IS_RR IS_ST IS_MT ROOTFS_TAG ROOTFS_HASH
linux 32_g1 g1 . 32 i686 . . . . . . . v4.8 b6dffc772ab4c2cd7fd4f83459308f6f0d89b957
linux 32_g2 g2 . 32 i686 . . . 3 . . . v4.8 b6dffc772ab4c2cd7fd4f83459308f6f0d89b957

linux 64_g1_mt g1 . 64 x86_64 . . . . . . yes v4.8 2a058481b567f0e91b9aa3ce4ad4f09e6419355a
linux 64_g2_mt g2 . 64 x86_64 . . . 3 . . yes v4.8 2a058481b567f0e91b9aa3ce4ad4f09e6419355a

linux 64_g1_st g1 . 64 x86_64 . . . . . yes . v4.8 2a058481b567f0e91b9aa3ce4ad4f09e6419355a
linux 64_g2_st g2 . 64 x86_64 . . . 3 . yes . v4.8 2a058481b567f0e91b9aa3ce4ad4f09e6419355a

linux 64_g1_rrst g1 . 64 x86_64 . 300 240 . yes yes . v4.8 2a058481b567f0e91b9aa3ce4ad4f09e6419355a
linux 64_g2_rrst g2 . 64 x86_64 . 180 120 3 yes yes . v4.8 2a058481b567f0e91b9aa3ce4ad4f09e6419355a
linux 64_g3_st g3 . 64 x86_64 . . . 3 . yes . v4.8 2a058481b567f0e91b9aa3ce4ad4f09e6419355a

# linux aarch64_g1 g1 true aarch64 aarch64 . . . . . . . ---- ----------------------------------------
# linux aarch64_g2 g2 true aarch64 aarch64 . . . . . . . ---- ----------------------------------------

# linux armv7l_g1 g1 true armv7l armv7l . . . . . . . ---- ----------------------------------------
# linux armv7l_g2 g2 true armv7l armv7l . . . . . . . ---- ----------------------------------------

# linux ppc64le_g1 g1 true ppc64le powerpc64le . . . . . . . ---- ----------------------------------------
# linux ppc64le_g2 g2 true ppc64le powerpc64le . . . . . . . ---- ----------------------------------------

musl 64_g1 g1 true 64 x86_64 . . . . . . . v4.8 d13a47c87c38005bd5d97132e51789cafd852f90
musl 64_g2 g2 true 64 x86_64 . . . . . . . v4.8 d13a47c87c38005bd5d97132e51789cafd852f90
83 changes: 52 additions & 31 deletions .buildkite/pipelines/main/platforms/tester_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ steps:
- "/cache/repos:/cache/repos"
env:
JULIA_SHELL: "/bin/bash"
timeout_in_minutes: ${TIMEOUT?}
timeout_in_minutes: ${TIMEOUT_BK?}
retry:
automatic:
- exit_status: "*"
limit: ${RETRIES?}
soft_fail: ${ALLOW_FAIL?}
commands: |
echo "--- Print the full and short commit hashes"
Expand Down Expand Up @@ -52,48 +56,65 @@ steps:
echo "JULIA_CPU_THREADS is: $${JULIA_CPU_THREADS:?}"
$${JULIA_BINARY:?} -e '@info "" Sys.CPU_THREADS'

echo "--- Set some environment variables in preparation for running the Julia test suite"
unset JULIA_DEPOT_PATH
echo "--- Set some environment variables"
export OPENBLAS_NUM_THREADS=8
export TESTS="[\"all\"]"
unset JULIA_DEPOT_PATH
unset JULIA_PKG_SERVER

if [[ "${IS_RR?}" == "yes" ]]; then
export JULIA_BINARY_UNDER_RR="$${JULIA_BINARY:?} .buildkite/utilities/rr/rr_capture.jl $${JULIA_BINARY:?}"
# Make sure that temp files and temp directories are created in a location that is
# backed by real storage.
export TMPDIR="$(pwd)/tmp"
mkdir -p $${TMPDIR:?}

export JULIA_BINARY_FOR_TESTS="$${JULIA_BINARY_UNDER_RR:?}"
export NCORES_FOR_TESTS="parse(Int, ENV[\"JULIA_RRCAPTURE_NUM_CORES\"])"
export NETWORK_RELATED_TESTS="Artifacts Downloads download LazyArtifacts LibGit2/online Pkg"

# For the `rr` job, we disable multi-threading.
export JULIA_NUM_THREADS=1
if [[ "${GROUP?}" == "all" ]]; then
export TESTS="all LibGit2/online --force-net"
elif [[ "${GROUP?}" == "all_except_pkg" ]]; then
export TESTS="all LibGit2/online --force-net --skip Pkg"
elif [[ "${GROUP?}" == "g1" ]]; then
# Group 1: ALL tests EXCEPT the network-related tests.
export TESTS="all --force-net --skip $${NETWORK_RELATED_TESTS:?}"
elif [[ "${GROUP?}" == "g2" ]]; then
# Group 2: ONLY the network-related tests.
# In Group 2, we use whatever the default setting is with regards to the Pkg server.
export TESTS="$${NETWORK_RELATED_TESTS:?} --force-net"
elif [[ "${GROUP?}" == "g3" ]]; then
# Group 3: only Pkg.
# In Group 3, we explicitly opt-out of the Pkg server.
# The purpose of group 3 is to test the non-Pkg-server codepaths of Pkg.
export TESTS="Pkg --force-net"
export JULIA_PKG_SERVER=""
else
echo "Invalid value for GROUP: ${GROUP?}"
exit 1
fi

export JULIA_TEST_RR_TIMEOUT="${TIMEOUT_RR?}"

if [[ "${IS_RR?}" == "yes" ]]; then
export JULIA_CMD_FOR_TESTS="$${JULIA_BINARY:?} .buildkite/utilities/rr/rr_capture.jl $${JULIA_BINARY:?}"
export NCORES_FOR_TESTS="parse(Int, ENV[\"JULIA_RRCAPTURE_NUM_CORES\"])"
else
export JULIA_BINARY_FOR_TESTS="$${JULIA_BINARY:?}"
export JULIA_CMD_FOR_TESTS="$${JULIA_BINARY:?}"
export NCORES_FOR_TESTS="Sys.CPU_THREADS"
fi

if [[ "${IS_ST?}" == "yes" ]]; then
# "ST" = single-threaded
export JULIA_NUM_THREADS=1
elif [[ "${IS_MT?}" == "yes" ]]; then
# "MT" = multi-threaded
export JULIA_NUM_THREADS=16
if [[ "${IS_ST?}" == "yes" ]]; then
export JULIA_NUM_THREADS=1
fi

if [[ "$${BUILDKITE_PIPELINE_SLUG:?}" == "julia-release-1-dot-6" ]]; then
# On Julia 1.6, we skip the Distributed test suite if multithreading is enabled.
export TESTS="[\"all\", \"--skip\", \"Distributed\"]"
elif [[ "$${BUILDKITE_PIPELINE_SLUG:?}" == "julia-release-1-dot-7" ]]; then
# On Julia 1.7, we skip the Distributed test suite if multithreading is enabled.
export TESTS="[\"all\", \"--skip\", \"Distributed\"]"
else
# On Julia 1.8 and later, we do not skip any test suites.
export TESTS="[\"all\"]"
fi
fi
if [[ "${IS_MT?}" == "yes" ]]; then
export JULIA_NUM_THREADS=16
fi

echo "JULIA_BINARY_FOR_TESTS is: $${JULIA_BINARY_FOR_TESTS:?}"
echo "JULIA_NUM_THREADS is: $${JULIA_NUM_THREADS}" # this variable might not be set
echo "--- Print the test group, list of test sets, and other useful environment variables"
echo "JULIA_CMD_FOR_TESTS is: $${JULIA_CMD_FOR_TESTS:?}"
echo "JULIA_NUM_THREADS is: $${JULIA_NUM_THREADS}" # Note: this environment variable might not be set
echo "NCORES_FOR_TESTS is: $${NCORES_FOR_TESTS:?}"
echo "OPENBLAS_NUM_THREADS is: $${OPENBLAS_NUM_THREADS:?}"
echo "GROUP is: ${GROUP?}"
echo "TESTS is: $${TESTS:?}"

echo "--- Run the Julia test suite"
$${JULIA_BINARY_FOR_TESTS:?} -e "Base.runtests($${TESTS:?}; ncores = $${NCORES_FOR_TESTS:?})"
$${JULIA_CMD_FOR_TESTS:?} -e "Base.runtests(\"$${TESTS:?}\"; ncores = $${NCORES_FOR_TESTS:?})"
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ steps:
persist_depot_dirs: packages,artifacts,compiled
version: '1.6'
- staticfloat/sandbox#v1:
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v3.1/package_linux.x86_64.tar.gz
rootfs_treehash: "8c33c341a864852629b8aac01a6eb6a79b73570e"
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v4.8/package_linux.x86_64.tar.gz
rootfs_treehash: "2a058481b567f0e91b9aa3ce4ad4f09e6419355a"
uid: 1000
gid: 1000
timeout_in_minutes: 360 # 360 minutes = 6 hours
commands: |
echo "--- Build Julia from source"
make --output-sync -j 6
Expand All @@ -41,5 +42,3 @@ steps:

echo "--- Process and upload coverage information"
./julia .buildkite/pipelines/scheduled/coverage/upload_coverage.jl
timeout_in_minutes: 240 # 240 minutes = 4 hours

Original file line number Diff line number Diff line change
@@ -1 +1 @@
Salted__��@P=j���R���U(�,~�p @Q������'h7����O MJ���g���t<�A�(�v?ɴ<,:�j���Y'o��ڥσdٛ
Salted__�I�y�֌��>y�NckB�v�n�+�Hvrލ��Ƽ�r����/�uY�����u����I�iiE��(��v�L��!��?��v�
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# PLATFORM LABEL ALLOW_FAIL ARCH ARCH_ROOTFS MAKE_FLAGS TIMEOUT IS_RR IS_ST IS_MT ROOTFS_TAG ROOTFS_HASH
linux 64_no_bb false 64_no_bb x86_64 USE_BINARYBUILDER=0 240 no no no v4.4 ec3873fc1756ecb4c815e8785e9ca45cf54c68b6
# PLATFORM LABEL GROUP ALLOW_FAIL ARCH ARCH_ROOTFS MAKE_FLAGS TIMEOUT_BK TIMEOUT_RR RETRIES IS_RR IS_ST IS_MT ROOTFS_TAG ROOTFS_HASH
linux 64src . . 64src x86_64 USE_BINARYBUILDER=0 180 . . . . . v4.8 2a058481b567f0e91b9aa3ce4ad4f09e6419355a
Loading