-
-
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
Backports for 1.6-beta #38795
Merged
Merged
Backports for 1.6-beta #38795
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: Dilum Aluthge <dilum@aluthge.com> (cherry picked from commit e4da832)
(cherry picked from commit a704dd9)
Co-authored-by: Dilum Aluthge <dilum@aluthge.com> (cherry picked from commit edfcd5a)
Fixes #38819 Fixes timholy/Revise.jl#583 (cherry picked from commit ab35e37)
The initial draft of Fake JLLs missed some important points in JLL API compatibility; let's close the gap somewhat, where we can. This PR adds the following exports: * `get_artifact_dir()`: returns the Julia prefix * `dev_jll()`: Throws an error * `best_wrapper`: always set to `nothing` * `get_*_path()`: returns the path of the identified library product It also converts all fake JLL modules to `baremodule`s, and sets the appropriate compiler options to minimize compilation. (cherry picked from commit d8975fa)
Also, remove DocumenterLaTeX, since the PDF/LaTeX backend is now again provided by Documenter directly. (cherry picked from commit b7d5240)
This doesn't do much currently, because we only call this function on `Const` objects which we don't currently create if the initialization of the object is incomplete, but we may want to do so in the future, so might as well be defensive about it. (cherry picked from commit 1327b5c)
Since we can inline pointer-containing structs into other structs now, an `isptr` check is insufficient to determine whether or not we need to recurse here. Also check the actual type of the field in addition. (cherry picked from commit 793f875)
Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de> (cherry picked from commit b1a2847)
KristofferC
force-pushed
the
backports-release-1.6
branch
from
December 11, 2020 09:46
409fc7b
to
1e377ca
Compare
Backport #38798 to 1.6
This avoids a dirty repo state after building on macOS. (cherry picked from commit e10d7a3)
(cherry picked from commit 293e60c)
(cherry picked from commit 1a58783)
* improve inferrability within TOML module * simplify with `@try` macro * apply suggestion, use `Int64` (cherry picked from commit b3eaa34)
(cherry picked from commit 8f2b0e7)
* Adjust calling convetion of dgebal and co * Adjust calling convention of BLAS & LAPACK (cherry picked from commit 9f4a807)
Co-authored-by: EternalLearner42 <46832510+EternalLearner42@users.noreply.github.com> (cherry picked from commit d34cc20)
(cherry picked from commit a6eee98)
(cherry picked from commit 2da5cb2)
This also fixes an insecure behavior: even if `set_ssl_cert_locations` failed, `REFCOUNT` was still incremented, which meant that subsequent calls to `ensure_initialized` didn't call `initialize` and so there was never a successful call to `set_ssl_cert_locations`. Without this libgit2 defaults to not verifying host identities and that is insecure. To prevent this, this patch locks on `ensure_initialized` and decrements `REFCOUNT` if initialize throws an error, ensuring that `initialize` succeeds at least once, including the call to `set_ssl_cert_locations`. (cherry picked from commit 4dede6d)
(cherry picked from commit 2362037)
* Add section regarding Pkg mode to REPL docs Co-authored-by: Stephen Vavasis <vavasis@uwaterloo.ca> (cherry picked from commit ce338db)
pcre2-cet-flags.patch lacks some trailing whitespace that exists in one of the target files. Consequently, the patch does not apply when the patch tool is strict about whitespace. This teensy diff makes the whitespace in pcre2-cet-flags.patch strictly match the whitespace in the target file. Co-Authored-By: Nathan Daly <NHDaly@gmail.com> Co-authored-by: Nathan Daly <NHDaly@gmail.com> (cherry picked from commit 3853060)
(cherry picked from commit a6f0e69)
On some platforms (PowerPC) the call to the `jlplt` is not a tail-call and so it will be part of the backtrace. This means we are off-by-one and won't skip the Julia function `backtrace` messing up tests that check precise formatting. (cherry picked from commit fc577d0)
Perhaps the most annoying thing about Revise now is that the first revision is quite slow, about 3.1s on my machine. This PR drops the time to about 2.4s. Basically the idea is to precompile statements that Revise will need. Discovered via the new snoopi_deep/Core.Compiler.Timings framework. (cherry picked from commit 4c4e078)
…#38918) * Document the need for disabling BB if building without network access Fix #33569 * Update doc/build/build.md Co-authored-by: Dilum Aluthge <dilum@aluthge.com> Co-authored-by: Keno Fischer <keno@juliacomputing.com> Co-authored-by: Dilum Aluthge <dilum@aluthge.com> (cherry picked from commit 9c2d813)
* Improve position of MKL.jl mention * Clarify that SuiteSparse will not use MKL if going down the MKL.jl path Co-authored-by: Viral B. Shah <ViralBShah@users.noreply.github.com> (cherry picked from commit 996dd55)
This was a copy-paste error. (cherry picked from commit a2f0337)
(cherry picked from commit 535a9b1)
(cherry picked from commit c39d661)
(cherry picked from commit 8a84395)
The commit list is getting a bit long here and it gets messy, so I'll just merge this, remove the label from the backported PRs and continue in another PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backported PRs:
count_const_size
#38784 - Add isdefined checkcount_const_size
map
#38887 - fix Inference regression in 1.6 #38837, inference regression in tuplemap
backtrace
once before testing formatting #38886 - Executebacktrace
once before testing formattingNon-merged PRs with backport label:
Worker
struct thread-safe. #38405 - Make Distributed.jlWorker
struct thread-safe.