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 release 1.11 #53790

Merged
merged 23 commits into from
Apr 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
9b14cc4
Add an IndexStyle example to the diagind docstring (#53757)
jishnub Mar 17, 2024
005ac6d
remove dllexport `jl_arraylen` which no longer exists (#53765)
fatteneder Mar 17, 2024
a579dab
Remove some duplicates from emitted compilation traces for Julia 1.10…
kpamnany Mar 20, 2024
0a7a95c
Add missing GC_POP() in emit_cfunction (#53809)
gbaraldi Mar 22, 2024
6f6cae8
also check that UUID of project is non-null when treating it as a pac…
KristofferC Mar 22, 2024
a414011
precompilepkgs: simplify custom config printing if only one (#53805)
IanButterworth Mar 22, 2024
ce13c35
Bump libuv (#53822)
Keno Mar 23, 2024
3cc6c5c
update MPFR to 4.2.1 (#53837)
fxcoudert Mar 25, 2024
08c4987
precompilepkgs: fix error reporting (#53862)
IanButterworth Mar 27, 2024
121226b
Add `_unsetindex!` methods for `SubArray`s and `CartesianIndex`es (#5…
jishnub Feb 20, 2024
cd297c7
Fix boundscheck in unsetindex for SubArrays (#53475)
jishnub Feb 27, 2024
c356e60
add invokelatest to on_done callback in bracketed paste (#53696)
JeffBezanson Mar 27, 2024
6c6097c
fix typos in codegen.cpp (#53888)
aviatesk Mar 29, 2024
6f8e78d
Revert change to checksum for llvm-julia (#53870)
Zentrik Mar 29, 2024
9afd069
Add `Base.isrelocatable(pkg)` (#53906)
fatteneder Apr 1, 2024
bfac67b
Profile: make heap snapshots viewable in vscode viewer (#53833)
IanButterworth Apr 5, 2024
ec16401
`LazyString` in `LinearAlgebra.checksquare` error message (#53961)
jishnub Apr 5, 2024
df60193
Use StringMemory instead of StringVector where possible (#53962)
Zentrik Apr 5, 2024
25c1c87
profile: doc: update the `Allocs.@profile` doc string (#53825)
nsajko Apr 5, 2024
b0d7ee4
`LazyString` in `DimensionMismatch` error messages in broadcasting (#…
jishnub Apr 6, 2024
967e2f0
Avoid repeated precompilation when loading from non-relocatable cache…
fatteneder Apr 2, 2024
146a7db
Make reshape and view on Memory produce Arrays and delete wrap (#53896)
LilithHafner Apr 6, 2024
eb96c07
Test and fix non-int-length bug in `view(::Memory, ::Union{UnitRange,…
LilithHafner Apr 8, 2024
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
precompilepkgs: simplify custom config printing if only one (#53805)
Currently it's a bit excessive in the `Pkg.test` precompile job

![Screenshot 2024-03-20 at 12 04
03 PM](https://github.com/JuliaLang/julia/assets/1694067/7600f0b8-6e4b-43b2-9c42-c8d5d16b8d57)

This PR
```
Precompiling project for configuration --code-coverage=none --color=yes --check-bounds=yes --warn-overwrite=yes --depwarn=yes --inline=yes --startup-file=no --track-allocation=none...
    354.9 ms  ✓ RFFT
  1 dependency successfully precompiled in 1 seconds. 38 already precompiled.
```

Pkg could also just set the non-default flags to minimize the list.

(cherry picked from commit 9291845)
  • Loading branch information
IanButterworth authored and KristofferC committed Mar 27, 2024
commit a414011240cb98bdc51b39eebeffd9a7a99317b0
15 changes: 9 additions & 6 deletions base/precompilation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -551,11 +551,14 @@ function precompilepkgs(pkgs::Vector{String}=String[];
else
target = "project"
end
nconfig = length(configs)
if nconfig > 1
target *= " for $nconfig compilation configurations..."
else
nconfigs = length(configs)
if nconfigs == 1
if !isempty(only(configs)[1])
target *= " for configuration $(join(only(configs)[1], " "))"
end
target *= "..."
else
target *= " for $nconfigs compilation configurations..."
end
@debug "precompile: packages filtered"

Expand Down Expand Up @@ -677,7 +680,7 @@ function precompilepkgs(pkgs::Vector{String}=String[];
loaded = warn_loaded && haskey(Base.loaded_modules, dep)
_name = haskey(exts, dep) ? string(exts[dep], " → ", dep.name) : dep.name
name = dep in direct_deps ? _name : string(color_string(_name, :light_black))
if !isempty(config[1])
if nconfigs > 1 && !isempty(config[1])
config_str = "$(join(config[1], " "))"
name *= color_string(" $(config_str)", :light_black)
end
Expand Down Expand Up @@ -769,7 +772,7 @@ function precompilepkgs(pkgs::Vector{String}=String[];

_name = haskey(exts, pkg) ? string(exts[pkg], " → ", pkg.name) : pkg.name
name = is_direct_dep ? _name : string(color_string(_name, :light_black))
if !isempty(flags)
if nconfigs > 1 && !isempty(flags)
config_str = "$(join(flags, " "))"
name *= color_string(" $(config_str)", :light_black)
end
Expand Down