Skip to content

./configure fails on windows when cmake is installed on a file path containing spaces #34490

Closed
@CensoredUsername

Description

@CensoredUsername

By default, cmake is installed in C:\Program Files\CMake, so this will fail on all default installations.

As far as I see, the culprit is in configure, line 1728:
(cd $LLVM_BUILD_DIR && eval "$CFG_CMAKE" $CMAKE_ARGS)

A fix for this would be changing this line to
(cd $LLVM_BUILD_DIR && eval "\"$CFG_CMAKE\"" $CMAKE_ARGS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions