Skip to content

Source distribution should bootstrap CMake #33

Closed
@ghost

Description

CMake allows bootstrapping from source (with just autotools/GNU Make). Because this package is often the only method to get a new CMake with just pip available, I think it would be too difficult to add logic that would bootstrap a release CMake before calling scikit-build if CMake wasn't found on the path.

This would essentially be:

if is_unix and not which('cmake'):
    download_extract('cmake.tar.gz')
    run('./bootstrap --prefix={prefix} && make && make install')
    os.environ['PATH'] += '{prefix}'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions