No spaces allowed during building?

build-script

(Daryle Walker) #1

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?!


(Dave DeLong) #2

Sadly, no:


(Jordan Rose) #3

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.