Skip to content

Add sdh_cmake helper #27484

@embray

Description

@embray

A few packages which are currently optional are configured using cmake.

We should add a sdh_cmake helper function to sage-dist-helpers analogous to sdh_configure for running cmake with the correct flags for building in Sage.

In particular we need to set CMAKE_INSTALL_PREFIX=$SAGE_LOCAL, and we also need to specify CMAKE_INSTALL_LIBDIR=lib, since otherwise CMake will default to installing libraries to $(prefix)/lib64 on some platforms.

Component: build

Author: Erik Bray

Branch: b0fa3a0

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/27484

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions