No spaces allowed during building?

Part of a line in the build script output while trying to build Swift from my fork:

/Volumes/Extreme SSD/Swift fork/build/Ninja-RelWithDebInfoAssert+stdlib-DebugAssert/llvm-macosx-x86_64/lib/Transforms/Hello/LLVMHello.exports

And a line later:

clang: error: no such file or directory: 'SSD/Swift'
clang: error: no such file or directory: 'fork/build/Ninja-RelWithDebInfoAssert+stdlib-DebugAssert/llvm-macosx-x86_64/lib/Transforms/Hello/LLVMHello.exports'

The build script isn't space-safe for file/directory names?!

Sadly, no:

Patches always welcome, but in this case the patches have to go to llvm.org first. If we get to a point where everything's working, we'll set up a bot on ci.swift.org to keep from regressing it.

1 Like