Skip to content

Cannot upgrade CMake within wizard #1424

@tanderson92

Description

@tanderson92

This issue is very similar to #1317, except this is about using the wizard (I do not yet have a working recipe).

In short I do not find it possible to obtain a recent CMake for the build environment. (The same CMake version is still shipped with BinaryBuilder on my julia v1.12 as was present 2 years ago in #1317). This is problematic for me as I need a CMake >= 3.25 in order to set BLA_PKGCONFIG_BLAS. However, the following does not result in a wizard environment with the desired CMake:

julia> using Pkg
julia> using BinaryBuilder
julia> BinaryBuilder.HostBuildDependency(PackageSpec(; name="CMake_jll", version = v"3.31.9"))

as when I get dumped to a shell I see:

sandbox:${WORKSPACE}/srcdir # cmake --version
cmake version 3.21.7

Nor do I see any other cmake available anywhere in the resulting environment. Using the suggestion of using apk to upgrade cmake doesn't work for the same error mentioned in #1317. (I can provide a full wizard log if desired.)

How does one obtain a recent CMake?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions