Skip to content

Commit

Permalink
Allow LazyJLLWrappers for JLLs
Browse files Browse the repository at this point in the history
BinaryBuilder2 generates JLLs that use `LazyJLLWrappers` instead of `JLLWrappers`, we need to allow that here for them to get registered.
  • Loading branch information
staticfloat committed Jul 28, 2024
1 parent b0afec6 commit b48630b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/AutoMerge/jll.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ const guideline_allowed_jll_nonrecursive_dependencies = Guideline(;
function meets_allowed_jll_nonrecursive_dependencies(
working_directory::AbstractString, pkg, version
)
# If you are a JLL package, you are only allowed to have five kinds of dependencies:
# If you are a JLL package, you are only allowed to have the following dependencies:
# 1. Pkg
# 2. Libdl
# 3. Artifacts
# 4. JLLWrappers
# 4. JLLWrappers (or LazyJLLWrappers)
# 5. LazyArtifacts
# 6. TOML
# 8. MPIPreferences
# 7. other JLL packages
# 7. MPIPreferences
# 8. other JLL packages
all_dependencies = _get_all_dependencies_nonrecursive(working_directory, pkg, version)
allowed_dependencies = ("Pkg", "Libdl", "Artifacts", "JLLWrappers", "LazyArtifacts", "TOML", "MPIPreferences")
allowed_dependencies = ("Pkg", "Libdl", "Artifacts", "JLLWrappers", "LazyJLLWrappers", "LazyArtifacts", "TOML", "MPIPreferences")
for dep in all_dependencies
if dep allowed_dependencies && !is_jll_name(dep)
return false,
Expand Down

0 comments on commit b48630b

Please sign in to comment.