• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaLang / julia / #38182

15 Aug 2025 03:55AM UTC coverage: 77.87% (-0.4%) from 78.28%
#38182

push

local

web-flow
🤖 [master] Bump the SparseArrays stdlib from 30201ab to bb5ecc0 (#59263)

Stdlib: SparseArrays
URL: https://github.com/JuliaSparse/SparseArrays.jl.git
Stdlib branch: main
Julia branch: master
Old commit: 30201ab
New commit: bb5ecc0
Julia version: 1.13.0-DEV
SparseArrays version: 1.13.0
Bump invoked by: @ViralBShah
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
https://github.com/JuliaSparse/SparseArrays.jl/compare/30201abcb...bb5ecc091

```
$ git log --oneline 30201ab..bb5ecc0
bb5ecc0 fast quadratic form for dense matrix, sparse vectors (#640)
34ece87 Extend 3-arg `dot` to generic `HermOrSym` sparse matrices (#643)
095b685 Exclude unintended complex symmetric sparse matrices from 3-arg `dot` (#642)
8049287 Fix signature for 2-arg matrix-matrix `dot` (#641)
cff971d Make cond(::SparseMatrix, 1 / Inf) discoverable from 2-norm error (#629)
```

Co-authored-by: ViralBShah <744411+ViralBShah@users.noreply.github.com>

48274 of 61993 relevant lines covered (77.87%)

9571166.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

71.05
/stdlib/LLD_jll/src/LLD_jll.jl
1
# This file is a part of Julia. License is MIT: https://julialang.org/license
2

3
## dummy stub for https://github.com/JuliaBinaryWrappers/LLD_jll.jl
4

5
baremodule LLD_jll
6
using Base, Libdl
7

8
const PATH_list = String[]
9
const LIBPATH_list = String[]
10

11
export lld
12

13
# These get calculated in __init__()
14
const PATH = Ref("")
15
const LIBPATH = Ref("")
16
artifact_dir::String = ""
17
lld_path::String = ""
18
if Sys.iswindows()
19
    const lld_exe = "lld.exe"
20
else
21
    const lld_exe = "lld"
22
end
23

24
if Sys.iswindows()
25
    const LIBPATH_env = "PATH"
26
    const LIBPATH_default = ""
27
    const pathsep = ';'
28
elseif Sys.isapple()
29
    const LIBPATH_env = "DYLD_FALLBACK_LIBRARY_PATH"
30
    const LIBPATH_default = "~/lib:/usr/local/lib:/lib:/usr/lib"
31
    const pathsep = ':'
32
else
33
    const LIBPATH_env = "LD_LIBRARY_PATH"
34
    const LIBPATH_default = ""
35
    const pathsep = ':'
36
end
37

38
function adjust_ENV!(env::Dict, PATH::String, LIBPATH::String, adjust_PATH::Bool, adjust_LIBPATH::Bool)
1✔
39
    if adjust_LIBPATH
1✔
40
        LIBPATH_base = get(env, LIBPATH_env, expanduser(LIBPATH_default))
1✔
41
        if !isempty(LIBPATH_base)
1✔
42
            env[LIBPATH_env] = string(LIBPATH, pathsep, LIBPATH_base)
1✔
43
        else
44
            env[LIBPATH_env] = LIBPATH
×
45
        end
46
    end
47
    if adjust_PATH && (LIBPATH_env != "PATH" || !adjust_LIBPATH)
1✔
48
        if adjust_PATH
1✔
49
            if !isempty(get(env, "PATH", ""))
1✔
50
                env["PATH"] = string(PATH, pathsep, env["PATH"])
1✔
51
            else
52
                env["PATH"] = PATH
×
53
            end
54
        end
55
    end
56
    return env
1✔
57
end
58

59
function lld(f::Function; adjust_PATH::Bool = true, adjust_LIBPATH::Bool = true)
×
60
    env = adjust_ENV!(copy(ENV), PATH[], LIBPATH[], adjust_PATH, adjust_LIBPATH)
×
61
    withenv(env...) do
×
62
        return f(lld_path)
×
63
    end
64
end
65
function lld(; adjust_PATH::Bool = true, adjust_LIBPATH::Bool = true)
2✔
66
    env = adjust_ENV!(copy(ENV), PATH[], LIBPATH[], adjust_PATH, adjust_LIBPATH)
1✔
67
    return Cmd(Cmd([lld_path]); env)
1✔
68
end
69

70
function init_lld_path()
2✔
71
    # Prefer our own bundled lld, but if we don't have one, pick it up off of the PATH
72
    # If this is an in-tree build, `lld` will live in `tools`.  Otherwise, it'll be in `private_libexecdir`
73
    for bundled_lld_path in (joinpath(Sys.BINDIR, Base.PRIVATE_LIBEXECDIR, lld_exe),
2✔
74
                             joinpath(Sys.BINDIR, "..", "tools", lld_exe),
75
                             joinpath(Sys.BINDIR, lld_exe))
76
        if isfile(bundled_lld_path)
4✔
77
            global lld_path = abspath(bundled_lld_path)
2✔
78
            return
2✔
79
        end
80
    end
2✔
81
    global lld_path = something(Sys.which(lld_exe), lld_exe)
×
82
end
83

84
function __init__()
2✔
85
    global artifact_dir = dirname(Sys.BINDIR)
2✔
86
    init_lld_path()
2✔
87
    PATH[] = dirname(lld_path)
2✔
88
    push!(PATH_list, PATH[])
2✔
89
    if Sys.iswindows()
2✔
90
        # On windows, the dynamic libraries (.dll) are in Sys.BINDIR ("usr\\bin")
91
        append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), Sys.BINDIR])
×
92
    else
93
        append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)])
4✔
94
    end
95
    LIBPATH[] = join(LIBPATH_list, pathsep)
2✔
96
end
97

98
# JLLWrappers API compatibility shims.  Note that not all of these will really make sense.
99
# For instance, `find_artifact_dir()` won't actually be the artifact directory, because
100
# there isn't one.  It instead returns the overall Julia prefix.
101
is_available() = true
×
102
find_artifact_dir() = artifact_dir
×
103
dev_jll() = error("stdlib JLLs cannot be dev'ed")
×
104
best_wrapper = nothing
105

106
end  # module libLLD_jll
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc