-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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.8: Backports for Julia 1.8.1 #46376
Commits on Aug 17, 2022
-
leq for reals falls back to le and eq (#46341)
(cherry picked from commit ef511c9)
Configuration menu - View commit details
-
Copy full SHA for 27890c7 - Browse repository at this point
Copy the full SHA 27890c7View commit details
Commits on Aug 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8ed3bc6 - Browse repository at this point
Copy the full SHA 8ed3bc6View commit details
Commits on Aug 24, 2022
-
[release-1.8] Consistently use
RUNPATH
in our libraries (#46465)* Consistently use `RUNPATH` in our libraries When loading dependencies on Linux, we can either use `RPATH` or `RUNPATH` as a list of relative paths to search for libraries. The difference, for our purposes, mainly lies within how this interacts with `LD_LIBRARY_PATH`: `RPATH` is searched first, then `LD_LIBRARY_PATH`, then `RUNPATH`. So by using `RUNPATH` here, we are explicitly allowing ourselves to be overridden by `LD_LIBRARY_PATH`. This is fine, as long as we are consistent across our entire library line, however in the `v1.8.0` release, there was an inconsistency, reported in [0]. The inconsistency occured because of the following confluence of factors: - Ancient `ld` builds (such as the one used in our build environment) do not default to using `RUNPATH`, but instead use `RPATH`. - `patchelf`, when it rewrites the RPATH, will default to using `RUNPATH` instead. - We were only using `patchelf` on `libjulia-internal`, not on `libjulia-codegen`, which was newly added in `v1.8`. These three factors together caused us to ship a binary with `RUNPATH` in `libjulia-internal`, but `RPATH` in `libjulia-codegen`, which caused loading to fail in [0] due to first `libjulia-internal` being loaded, (which brought in the external `libstdc++`), then `libjulia-codegen` failed to load (because it found an incompatible `libstdc++`), causing the mysterious compiler error. This PR fixes this twofold; first, when building the libraries in the first place, we pass `--enable-new-dtags` to the linker to encourage it to use `runpath` when possible. This removes the possibility for a missing `patchelf` invocation to break things in this way. Second, we apply `patchelf` properly to `libjulia-codegen` as well. [0] #46409 * fix whitespace Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5fed861 - Browse repository at this point
Copy the full SHA 5fed861View commit details
Commits on Aug 26, 2022
-
[Makefile] Fix codesign of libjulia when installing it on macOS (#44510)
* [Makefile] Fix codesign of libjulia when installing it on macOS * Add shell sript for codesigning and use it in Makefile (cherry picked from commit 8076517)
Configuration menu - View commit details
-
Copy full SHA for ffe7ea7 - Browse repository at this point
Copy the full SHA ffe7ea7View commit details -
Change PDF cover font to DejaVu Sans (#45290)
(cherry picked from commit c65e56f)
Configuration menu - View commit details
-
Copy full SHA for 21a53fb - Browse repository at this point
Copy the full SHA 21a53fbView commit details -
@kwdef
: handle const and atomic fields (#46276)(cherry picked from commit 70656e2)
Configuration menu - View commit details
-
Copy full SHA for 72b7511 - Browse repository at this point
Copy the full SHA 72b7511View commit details -
Don't mutate the hashtable with forward edges during final iteration. (…
Configuration menu - View commit details
-
Copy full SHA for 0be7f57 - Browse repository at this point
Copy the full SHA 0be7f57View commit details -
Fix #41096 and #43082, make sure
env
is restored when typeintersect…Configuration menu - View commit details
-
Copy full SHA for 9b3a2bb - Browse repository at this point
Copy the full SHA 9b3a2bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5842378 - Browse repository at this point
Copy the full SHA 5842378View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc457f6 - Browse repository at this point
Copy the full SHA bc457f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0830823 - Browse repository at this point
Copy the full SHA 0830823View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0aa5201 - Browse repository at this point
Copy the full SHA 0aa5201View commit details -
@noinline
exp
by default. (#46359)also remove a bunch of `@inline` from when I didn't trust the compiler to do reasonable things. (cherry picked from commit 445586d)
Configuration menu - View commit details
-
Copy full SHA for 3053b47 - Browse repository at this point
Copy the full SHA 3053b47View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad8ca94 - Browse repository at this point
Copy the full SHA ad8ca94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29c76db - Browse repository at this point
Copy the full SHA 29c76dbView commit details -
fix bug when error is infinite (#46436)
(cherry picked from commit c491e79)
Configuration menu - View commit details
-
Copy full SHA for a239589 - Browse repository at this point
Copy the full SHA a239589View commit details
Commits on Aug 29, 2022
-
Fix ordering of headers so
#define _GNU_SOURCE
comes first (#46183)Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com> (cherry picked from commit 3b81696)
Configuration menu - View commit details
-
Copy full SHA for 99b466b - Browse repository at this point
Copy the full SHA 99b466bView commit details -
Fix union!(s::BitSet, r::AbstractUnitRange{<:Integer}) when two range…
Configuration menu - View commit details
-
Copy full SHA for c65611a - Browse repository at this point
Copy the full SHA c65611aView commit details -
inference: revive
CachedMethodTable
mechanism`CachedMethodTable` was removed within #44240 as we couldn't confirm any performance improvement then. However it turns out the optimization was critical in some real world cases (e.g. #46492), so this commit revives the mechanism with the following tweaks that should make it more effective: - create method table cache per inference (rather than per local inference on a function call as on the previous implementation) - only use cache mechanism for abstract types (since we already cache lookup result at the next level as for concrete types) As a result, the following snippet reported at #46492 recovers the compilation performance: ```julia using ControlSystems a_2 = [-5 -3; 2 -9] C_212 = ss(a_2, [1; 2], [1 0; 0 1], [0; 0]) @time norm(C_212) ``` > on master ``` julia> @time norm(C_212) 364.489044 seconds (724.44 M allocations: 92.524 GiB, 6.01% gc time, 100.00% compilation time) 0.5345224838248489 ``` > on this commit ``` julia> @time norm(C_212) 26.539016 seconds (62.09 M allocations: 5.537 GiB, 5.55% gc time, 100.00% compilation time) 0.5345224838248489 ``` (cherry picked from commit 8445744)
Configuration menu - View commit details
-
Copy full SHA for 5d03fcd - Browse repository at this point
Copy the full SHA 5d03fcdView commit details
Commits on Aug 30, 2022
-
fix invalidations in logging (#46481)
(cherry picked from commit ce6e9ee)
Configuration menu - View commit details
-
Copy full SHA for bb94590 - Browse repository at this point
Copy the full SHA bb94590View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bc5c9a - Browse repository at this point
Copy the full SHA 8bc5c9aView commit details -
Use Documenter 0.27.23 (#46516)
(cherry picked from commit b64743b)
Configuration menu - View commit details
-
Copy full SHA for 9db7f85 - Browse repository at this point
Copy the full SHA 9db7f85View commit details -
Configuration menu - View commit details
-
Copy full SHA for a462c5a - Browse repository at this point
Copy the full SHA a462c5aView commit details -
fix invalidations for Dicts from Static.jl (#46490)
(cherry picked from commit 5c5af1f)
Configuration menu - View commit details
-
Copy full SHA for 598b019 - Browse repository at this point
Copy the full SHA 598b019View commit details -
fix invalidations of REPL from HDF5.jl (#46486)
(cherry picked from commit 431071b)
Configuration menu - View commit details
-
Copy full SHA for 9787fa5 - Browse repository at this point
Copy the full SHA 9787fa5View commit details -
fix invalidations in sort! from Static.jl (#46491)
(cherry picked from commit 1fae1b9)
Configuration menu - View commit details
-
Copy full SHA for 0d42d02 - Browse repository at this point
Copy the full SHA 0d42d02View commit details -
fix invalidations in REPLCompletions from Static.jl (#46494)
(cherry picked from commit 99340fe)
Configuration menu - View commit details
-
Copy full SHA for 9efb6c4 - Browse repository at this point
Copy the full SHA 9efb6c4View commit details -
Enhance
StringIndexError
display (correct escaping) (#46039)(cherry picked from commit 1715110)
Configuration menu - View commit details
-
Copy full SHA for 98efbdf - Browse repository at this point
Copy the full SHA 98efbdfView commit details -
Improve
foldl
's stability on nested Iterators (#45789)* Make `Fix1(f, Int)` inference-stable * split `_xfadjoint` into `_xfadjoint_unwrap` and `_xfadjoint_wrap` * Improve `(c::ComposedFunction)(x...)`'s inferability * and fuse it in `Base._xfadjoint`. * define a `Typeof` operator that will partly work around internal type-system bugs Closes #45715 (cherry picked from commit d58289c)
Configuration menu - View commit details
-
Copy full SHA for 8421c03 - Browse repository at this point
Copy the full SHA 8421c03View commit details -
avoid one invalidation of
isinf
when loading Static.jl (#46493)(cherry picked from commit c2a1650)
Configuration menu - View commit details
-
Copy full SHA for b10b1dd - Browse repository at this point
Copy the full SHA b10b1ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2ed5c3 - Browse repository at this point
Copy the full SHA f2ed5c3View commit details
Commits on Aug 31, 2022
-
fix invalidations in REPL LineEdit.jl from Static.jl (#46548)
* fix invalidations in REPL LineEdit.jl from Static.jl (cherry picked from commit 99d8c7b)
Configuration menu - View commit details
-
Copy full SHA for d68417f - Browse repository at this point
Copy the full SHA d68417fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 173f336 - Browse repository at this point
Copy the full SHA 173f336View commit details