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

Backports for 1.8-rc2/1.8.0 #45491

Merged
merged 40 commits into from
Jul 6, 2022
Merged

Backports for 1.8-rc2/1.8.0 #45491

merged 40 commits into from
Jul 6, 2022

Commits on May 28, 2022

  1. Make isdispatchtuple consistent for typeof(Union{}) (#45348)

    We have `typeof(Union{}) == Type{Union{}}`, but were treating them
    differently in the calculation of `isdispatchtuple`. The compiler
    expects `isdispatchtuple` to commute with type equality in various
    places, so try to make this consistent.
    
    Fixes #45347
    
    (cherry picked from commit a37dd16)
    Keno authored and KristofferC committed May 28, 2022
    Configuration menu
    Copy the full SHA
    63e5553 View commit details
    Browse the repository at this point in the history
  2. Do not set MCPU on Apple Silicon (#45409)

    (cherry picked from commit a5438f9)
    fxcoudert authored and KristofferC committed May 28, 2022
    Configuration menu
    Copy the full SHA
    25122e4 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2022

  1. Update LibCURL to 7.83.1 (#45443)

    This new build doesn't depend on Kerberos
    
    Co-authored-by: Mosè Giordano <mose@gnu.org>
    (cherry picked from commit 28d9326)
    fxcoudert authored and KristofferC committed May 29, 2022
    Configuration menu
    Copy the full SHA
    0769bb5 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

  1. Revert "fix #45440, improve the robustness of concrete-evaled callsit…

    …e inlining"
    
    This reverts commit 8bca2f4.
    aviatesk committed May 30, 2022
    Configuration menu
    Copy the full SHA
    bde7223 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    801458d View commit details
    Browse the repository at this point in the history

Commits on May 31, 2022

  1. tweak NEWS.md

    aviatesk committed May 31, 2022
    Configuration menu
    Copy the full SHA
    8f1a4ce View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2022

  1. Configuration menu
    Copy the full SHA
    32106ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c65dce View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. also set the version in pkgorigins (#44318)

    (cherry picked from commit 21e5a26)
    KristofferC authored and KristofferC committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    ba72387 View commit details
    Browse the repository at this point in the history
  2. Make llvmunwind depend on llvm (#45380)

    (cherry picked from commit 6ea9034)
    fxcoudert authored and KristofferC committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    9e17fb6 View commit details
    Browse the repository at this point in the history
  3. csl.mk: use libgcc_s 1.1 on aarch64-darwin (#45504)

    (cherry picked from commit 6f8860c)
    fxcoudert authored and KristofferC committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    b6e47d4 View commit details
    Browse the repository at this point in the history
  4. Fix zero-length array concatenation validation (#45383)

    (cherry picked from commit 0a55a8e)
    BioTurboNick authored and KristofferC committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    d6bbed6 View commit details
    Browse the repository at this point in the history
  5. Fix segfault in Diagonal * OffsetMatrix (#45548)

    * diagonal*offset matrix should throw
    
    (cherry picked from commit 172bddc)
    jishnub authored and KristofferC committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    a004142 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. bump Pkg version to latest 1.8

    KristofferC committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    6f0bfc2 View commit details
    Browse the repository at this point in the history
  2. [Profile] threads here is wrong to use nthreads (#45547)

    Since the `data` argument possibly does not come from the current
    configuration, we should not use `nthreads` here either to filter out
    possibly significant data.
    
    (cherry picked from commit b46c14e)
    vtjnash authored and KristofferC committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    087ba27 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. rename is_concrete_eval_eligible utility query to is_foldable (#4…

    …5615)
    
    `is_foldable` should be more aligned with `Base.@assume_effects`.
    This should be backported to 1.8 also.
    aviatesk committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    43df1f4 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Configuration menu
    Copy the full SHA
    3a2eb39 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. AMD Zen 3 CPU support (Fixes #45657) (#45663) (#45667)

    I've omitted `invpcid` feature since it's clearly omitted for other CPU's.
    
    Fixes #45657
    
    (cherry picked from commit 3f047f7)
    LebedevRI authored Jun 14, 2022
    Configuration menu
    Copy the full SHA
    8fd0b2a View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2022

  1. update @assume_effects

    aviatesk committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    8b2e406 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. Update LLVM to 13.0.1+1

    vchuravy authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    38b836a View commit details
    Browse the repository at this point in the history
  2. fixup! Update LLVM to 13.0.1+1

    vchuravy authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    4acdabe View commit details
    Browse the repository at this point in the history
  3. fixup! fixup! Update LLVM to 13.0.1+1

    vchuravy authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    853dff9 View commit details
    Browse the repository at this point in the history
  4. Improve inference in typejoin (#44390)

    This fixes hundreds of invalidations from Unitful.
    
    Co-authored by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
    timholy authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    67f365c View commit details
    Browse the repository at this point in the history
  5. [1.8] Update LLVM to 13.0.2-2 (#45917)

    vchuravy authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    f83a9b3 View commit details
    Browse the repository at this point in the history
  6. Report any recompilation in time macro (#45015)

    `@time` now shows if any of the compilation time was spent recompiling invalidated methods. The new percentage is % of the compilation time, not the total execution time.
    
    (cherry picked from commit 7074f04)
    IanButterworth authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    b97d34a View commit details
    Browse the repository at this point in the history
  7. Add compilation & recompilation time to time_imports macro (#45064)

    (cherry picked from commit 9320fba)
    IanButterworth authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    ad61d03 View commit details
    Browse the repository at this point in the history
  8. loading: prevent module replacement during precompile

    This is theoretically okay, but unlikely to be intended ever.
    
    (cherry picked from commit d81724a)
    vtjnash authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    0646ce7 View commit details
    Browse the repository at this point in the history
  9. loading: add missing deadlock causing #45704

    Does not explicitly close issue #45704, as perhaps the deserialized
    module should still be valid after the replacement warning.
    
    (cherry picked from commit ad8893b)
    vtjnash authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    89cb6df View commit details
    Browse the repository at this point in the history
  10. loading: validate all cache files before loading any

    Ensures we do not get easily wedged into bad states.
    
    (cherry picked from commit d0e28af)
    vtjnash authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    73b37b2 View commit details
    Browse the repository at this point in the history
  11. loading: stop corrupting memory all over the place

    Regressions introduced by #45607
    
    (cherry picked from commit 239a1f2)
    vtjnash authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    0ce21a6 View commit details
    Browse the repository at this point in the history
  12. Fix llvm powi intrinsic calls in fastmath.jl (#44580)

    (cherry picked from commit b49a1b4)
    pchintalapudi authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    11cfa4e View commit details
    Browse the repository at this point in the history
  13. fix tuple_tfunc on Union containing Type{...} (#44725)

    fix #44705
    
    (cherry picked from commit 4115686)
    aviatesk authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    8fcc2dd View commit details
    Browse the repository at this point in the history
  14. inference: don't widen DataType/UninAll to Type within `tuple_t…

    …func` (#44896)
    
    Follows up #44725.
    
    (cherry picked from commit 0deb326)
    aviatesk authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    97c17e0 View commit details
    Browse the repository at this point in the history
  15. Pass along backlog keyword argument in Sockets.listen (#45737)

    (cherry picked from commit 4f1c68e)
    quinnj authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    fbae62d View commit details
    Browse the repository at this point in the history
  16. Use https for downloading of unicode data from unicode.org (#45750)

    (cherry picked from commit 9b83dd8)
    ViralBShah authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    0559fa6 View commit details
    Browse the repository at this point in the history
  17. Fix libblastrampoline full source build to install into the right loc…

    …ation (#45746)
    
    * Bump LBT to 5.1.1
    * Use DESTDIR to install into
    * Update LBT checksums
    
    (cherry picked from commit 1d78265)
    ViralBShah authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    929c48a View commit details
    Browse the repository at this point in the history
  18. Document file descriptors in run (#45710)

    (cherry picked from commit 1f99ee9)
    oscardssmith authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    14be137 View commit details
    Browse the repository at this point in the history
  19. fix obvious_subtype bug with egal objects (#45771)

    When egal objects contain identical typevars with different
    environments, the resulting subtyping might not be so obvious.
    
    Fix #45703
    
    (cherry picked from commit 8ccf2d6)
    JeffBezanson authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    5894899 View commit details
    Browse the repository at this point in the history
  20. Remove duplicate definition of jl_gc_safepoint (#45120)

    This prevents a compiler warning on some systems
    
    (cherry picked from commit 05eb153)
    fingolfin authored and KristofferC committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    2b6c746 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. Backport #45727 and a patch to make it work (#45938)

    * Bug fix for `max_collect_interval` computation (#45727)
    
    Currently constrained to `totalmem / ncores / 2` for `_P64` which
    results in a very short collect interval when you're running with
    a smaller number of threads on a machine with many cores.
    
    Changes this to `totalmem / nthreads / 2` which, for two of our
    tests, resulted in 40% and 60% runtime reduction (!!) as well as
    GC time reduction from 46% to 10% and 64% to 11%.
    
    * Move GC init after threading init
    
    To allow use of `jl_n_threads` in GC initialization.
    kpamnany authored Jul 5, 2022
    Configuration menu
    Copy the full SHA
    7a23871 View commit details
    Browse the repository at this point in the history