Skip to content
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

release-1.7: Backports for 1.7-rc2 #42255

Merged
merged 89 commits into from
Oct 19, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
c8b198f
[Distributed] Fix finalizer_ref usage of lock/wait resulting in faile…
krynju Aug 16, 2021
849811c
fix
krynju Sep 8, 2021
f2b96c7
CI (Buildkite): in the experimental `asan` job, remove the "Test that…
DilumAluthge Sep 13, 2021
5db2802
[Distributed] make nextproc use atomic operations
vchuravy Sep 13, 2021
3fa2d26
Add/improve some compat admonitions (#42179)
sostock Sep 13, 2021
1a912b2
coverage: ensure topline is recorded during inlining (#42170)
vtjnash Sep 13, 2021
28ce0a4
fix #42220: macro hygiene with unary `::` (#42221)
simeonschaub Sep 14, 2021
4dd47a7
inference: remove code that relies upon inferring the output type
vtjnash Sep 8, 2021
eca6c31
bootstrapping: optimize compiler during warmup phase
vtjnash Sep 8, 2021
85b2b41
Make return type of map inferrable with heterogeneous arrays (#42046)
nalimilan Sep 1, 2021
9741f5c
fix collect on stateful iterators
vtjnash Sep 8, 2021
23d14c6
avoid `Any32` type in `filter` for tuples. fixes #42236
JeffBezanson Sep 15, 2021
c9f4de0
update Pkg to newest 1.7 version
KristofferC Sep 16, 2021
f6e3388
export `jl_setjmp` on windows (#42267)
JeffBezanson Sep 16, 2021
f09df45
specialize `hastypemax` on `Bool` (#42300)
ranocha Sep 18, 2021
33ebbac
Slightly loosen a test so that linalg tests pass when using MKL (#42315)
ViralBShah Sep 20, 2021
2845793
Circshift no longer throws error for empty array (#42288)
getzze Sep 21, 2021
0904a12
atomics: fix some minor issues (#42335)
vtjnash Sep 22, 2021
3b2c143
Xoshiro: allow any non-negative integer as a seed, via SHA2_256 (#41558)
rfourquet Sep 23, 2021
a545ab0
add `@constprop` for compatibility to 1.7 (#42298)
simeonschaub Sep 23, 2021
fc712a3
Fix problem with union spliting during inlining, add regression test …
ianatol Sep 23, 2021
cd462dc
[GMP] Patch for Apple Silicon (#42293)
jeremiahpslewis Sep 23, 2021
8ebf8fd
Fix bug in `@time` compilation time measurement, using tryfinally mac…
NHDaly Sep 23, 2021
b97fde6
add keepat! for in-place logical filtering (#42351)
JeffBezanson Sep 23, 2021
00fbab5
[Distributed] make finalizer messages threadsafe (#42240)
vchuravy Sep 23, 2021
5bad4c7
CI (GHA): Only run the `Statuses` workflow when a pull request is ope…
DilumAluthge Sep 26, 2021
3cc8418
CI (GHA): update to the latest commit of the `retry-buildkite` action…
DilumAluthge Sep 26, 2021
5d767f3
Fix atomicfields serialization for system image (#42390)
tkf Sep 26, 2021
7660b4c
Fix Printf for typemin(<:Base.BitSigned) (#42341)
petvana Sep 27, 2021
91a2524
init: avoid an undesirable compiler optimization (#42377)
vtjnash Sep 28, 2021
c255808
make `read()` respect `lock=false`
Moelf Sep 26, 2021
1e81fbc
Work around registry corruption issues (#41934)
staticfloat Aug 19, 2021
0dd7b37
CI (Buildkite): Add `package_linux` and `tester_linux` for more Linux…
DilumAluthge Sep 26, 2021
fef46d5
fix verifier to allow GlobalRef as assignment RHS (#42417)
JeffBezanson Sep 29, 2021
addf43b
ranges: broadcast preserves length (#42410)
vtjnash Sep 29, 2021
e574443
Strip address information from typed function parameters attributes. …
maleadt Sep 30, 2021
47787a9
CI (Buildkite): explicitly set the `OPENBLAS_NUM_THREADS` environment…
DilumAluthge Oct 2, 2021
bd7ec68
CI (Buildkite): in the Buildkite cache, don't cache the "registries" …
DilumAluthge Oct 3, 2021
0b9193e
CI (Buildkite): move the `asan` job from "experimental" to "main" (#4…
DilumAluthge Oct 3, 2021
71a2c7a
CI (Buildkite): fix the signature for the scheduled coverage pipeline…
DilumAluthge Oct 4, 2021
c27a00c
CI (Buildkite): add `package_musl64` and `tester_musl64` (Linux, musl…
DilumAluthge Oct 4, 2021
b2a8e6a
Reduce compilation time for `permutedims` with high dimensional array…
GiggleLiu Oct 5, 2021
41d6dc4
fix #42409, stack overflow in type intersection (#42464)
JeffBezanson Oct 5, 2021
2329c7f
Distributed: improve some of the tests in the Distributed test suite …
DilumAluthge Oct 5, 2021
388f5df
bump to latest Pkg release-1.7
KristofferC Oct 5, 2021
d42ae5a
fix #42411, restore export of `jl_options` (#42416)
JeffBezanson Sep 30, 2021
76b30f0
Improve corner cases of deleteat! (#42144)
bkamins Sep 22, 2021
22d203f
add support for JuliaLang/llvm-project (#42505)
vchuravy Oct 5, 2021
7014ffb
Backport #42546 to 1.7 (#42563)
vchuravy Oct 9, 2021
60149fb
Revert "Xoshiro: allow any non-negative integer as a seed, via SHA2_2…
KristofferC Oct 9, 2021
bdf0f41
Revert "Revert "Xoshiro: allow any non-negative integer as a seed, vi…
KristofferC Oct 9, 2021
e888fb8
Backport of #42581: fix Documenter link warnings.
fredrikekre Oct 10, 2021
b77ffe6
CI (buildkite): ensure passing --output-sync when passing -j (#42511)
vtjnash Oct 6, 2021
e782674
[buildkite] Fix env leakage of signed tokens (#42526)
staticfloat Oct 7, 2021
dd4a0fe
CI (Buildkite): delete an empty YAML file (#42531)
DilumAluthge Oct 7, 2021
4bb882a
make tests ignore root more robustly (#42533)
vtjnash Oct 7, 2021
caf3266
CI (Buildkite): reorganize some of the logic in the `tester_linux.yml…
DilumAluthge Oct 7, 2021
08edc95
CI (Buildkite): TEMPORARILY allow the `asan` job to fail (#42541)
DilumAluthge Oct 7, 2021
4a787c0
Fix GMP build-patched def.
Sacha0 Oct 7, 2021
aaaa68d
add option to allow stale_cachefile to ignore loaded modules (#42545)
IanButterworth Oct 9, 2021
9627d53
fix libgit2 error throw. Fixes #42575 (#42576)
IanButterworth Oct 10, 2021
14a7467
Improve documentation for JULIA_NUM_THREADS=auto (#42501)
dhivyasreedhar Oct 10, 2021
1420ddb
bump Pkg version to latest 1.7
KristofferC Oct 11, 2021
7b9dcf2
fix exp(NaN16) and add tests (#42555)
oscardssmith Oct 12, 2021
c5ff713
[LLVM] bump to 12.0.1-4 (#42512)
vchuravy Oct 6, 2021
3a383ea
fix LLVM link to include new zlib dependency (#42524)
JeffBezanson Oct 6, 2021
6853711
[LLVM] actually update the branch for manual builds
vchuravy Oct 7, 2021
0a3718e
Pass location of built zlib to LLVM cmake.
rbvermaa Oct 13, 2021
425e573
Merge pull request #42535 from JuliaLang/vc/bp_llvm12.0.1-4
vchuravy Oct 14, 2021
fc86c16
[REPL] 0nly do NFD normalization for latex tab-completion help if no …
GunnarFarneback Aug 16, 2021
91706ad
Remove buffer pool for tiled GEMM (#42309)
tkf Sep 20, 2021
15fef0d
Base: fix `tryparse(Bool, " ")` (#42623)
barucden Oct 13, 2021
1260546
fix #42590, long attribute loop compiling `cfunction` (#42635)
JeffBezanson Oct 14, 2021
96dcd52
CI (Buildbot, GHA): Rename "Statuses" to "Create Buildbot Statuses" (…
DilumAluthge Oct 14, 2021
0af5265
CI (Buildkite, GHA): Rename "Retry" to "Retry Failed Buildkite Jobs" …
DilumAluthge Oct 14, 2021
73d2db1
CI (Buildkite, GHA): in the "Retry Failed Buildkite Jobs" workflow, r…
DilumAluthge Oct 14, 2021
8b6de87
fix #42604, export `jl_field_isdefined` (#42611)
JeffBezanson Oct 14, 2021
a5994d6
CI (Buildkite): Add a once-daily scheduled job that builds Julia with…
DilumAluthge Oct 14, 2021
a97cdfc
Add a comment trigger for rerunning failed Buildkite jobs (#42655)
DilumAluthge Oct 15, 2021
7374f0b
CI (Buildkite, GHA): Fix some bugs in the "Retry" workflow (#42657)
DilumAluthge Oct 15, 2021
3a6a5a4
CI (Buildkite): Run the Distributed test suite with multithreading en…
DilumAluthge Oct 15, 2021
38c6b79
Add cryptic secret for docs deploy key (#42667)
staticfloat Oct 15, 2021
e921eb1
Fix #42670 - error in sparsevec outer product with stored zeros (#42671)
Keno Oct 18, 2021
b739ff4
fix exp of large negative Float16 (#42688)
oscardssmith Oct 19, 2021
8269a19
Simplify `_isequal`, `_isless`, `__inc`, and `__dec`
martinholters Oct 19, 2021
53432d5
codegen: add missing jl_get_fieldtypes calls
vtjnash Oct 15, 2021
0d79b95
codegen: fix setfield! error message emission
vtjnash Oct 15, 2021
97e65d3
Add compat note for `printstyled` (#42547)
mcabbott Oct 8, 2021
12b9178
fix some issues with buildbot path not updating in stacktraces / meth…
KristofferC Oct 13, 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
Prev Previous commit
Next Next commit
Circshift no longer throws error for empty array (#42288)
* Test circshift with 0-dim array

* circshift returns dest array for a 0-dim array

* use isempty instead of checking size

(cherry picked from commit 144ed87)
  • Loading branch information
getzze authored and KristofferC committed Sep 23, 2021
commit 2845793efe26f5e290cfe40167931066af1c2cf0
1 change: 1 addition & 0 deletions base/multidimensional.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,7 @@ See also [`circshift`](@ref).
dest === src && throw(ArgumentError("dest and src must be separate arrays"))
inds = axes(src)
axes(dest) == inds || throw(ArgumentError("indices of src and dest must match (got $inds and $(axes(dest)))"))
isempty(src) && return dest
_circshift!(dest, (), src, (), inds, fill_to_length(shiftamt, 0, Val(N)))
end

Expand Down
6 changes: 6 additions & 0 deletions test/arrayops.jl
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,12 @@ end
@test res === dst == [5 6 4; 2 3 1]
res = circshift!(dst, src, (3.0, 2.0))
@test res === dst == [5 6 4; 2 3 1]

# https://github.com/JuliaLang/julia/issues/41402
src = Float64[]
@test circshift(src, 1) == src
src = zeros(Bool, (4,0))
@test circshift(src, 1) == src
end

@testset "circcopy" begin
Expand Down