Skip to content

Support install prefixes with spaces#41

Open
johnwparent wants to merge 4 commits into
spack:mainfrom
johnwparent:make-install-work-with-path-spaces
Open

Support install prefixes with spaces#41
johnwparent wants to merge 4 commits into
spack:mainfrom
johnwparent:make-install-work-with-path-spaces

Conversation

@johnwparent
Copy link
Copy Markdown
Collaborator

@johnwparent johnwparent commented May 26, 2026

Evidently we missed a few places that choke if there's a space in the install prefix

  • Allows for the installation prefix to have spaces by quoting PREFIX usages in the makefile
  • Ensures the rename link invocation coff and name references are qouted
  • Ensure the dumbin invocation's coff file reference is quoted

Note: MAKEDIR usage in the makefile is not quoted like PREFIX is as it is only used with SET thus far and SET does not care about whitespace (in that it allows it and does not break on whitespace), if MAKEDIR is needed with a non SET command later, it should be quoted at that time

@johnwparent johnwparent force-pushed the make-install-work-with-path-spaces branch from 2c61854 to 37b799f Compare May 26, 2026 19:10
Allows installation into paths with spaces

Signed-off-by: John Parent <john.parent@kitware.com>
@johnwparent johnwparent force-pushed the make-install-work-with-path-spaces branch from 37b799f to f5a25f8 Compare May 26, 2026 19:31
Signed-off-by: John Parent <john.parent@kitware.com>
Signed-off-by: John Parent <john.parent@kitware.com>
Signed-off-by: John Parent <john.parent@kitware.com>
@johnwparent johnwparent changed the title Makefile: support paths with spaces Support install prefixes with spaces May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant