Skip to content

CMake/CPack 'distrib' target isn't correct for Windows #3971

@steven-johnson

Description

@steven-johnson

A while back, someone thoughtfully contributed CPack support to our CMake files, so that make distrib worked correctly for CMake as well as make; unfortunately, it needs some extra love for Windows builds in order to match the status quo for Windows:

  • Windows requires separate Debug and Release builds; the CMake rules only provide a single build (presumably Release)
  • The CMake rules only provide shared-library outputs (bin/Halide.dll), whereas our existing Windows distribs provide Halide.lib as well

This would be really nice to fix, as currently, Windows distribs are produced by custom code in the buildbots, which can (and does) easily fall out of sync with the rest of Halide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues related to building Halide and with CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions