[all-commits] [llvm/llvm-project] fae57a: [Clang] [Fix] Clang build fails when build directo...

Shivam Gupta via All-commits all-commits at lists.llvm.org
Mon Sep 20 05:49:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fae57a6a9795eccfa349270b110c09524e341abd
      https://github.com/llvm/llvm-project/commit/fae57a6a9795eccfa349270b110c09524e341abd
  Author: Brain Swift <bsp2bsp-llvm at yahoo.com>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

  Changed paths:
    M clang/tools/driver/CMakeLists.txt

  Log Message:
  -----------
  [Clang] [Fix] Clang build fails when build directory contains space character

Clang build fails when build directory contains space character.

Error messages:

[ 95%] Linking CXX executable ../../../../bin/clang
clang: error: no such file or directory: 'Space/Net/llvm/Build/tools/clang/tools/driver/Info.plist'
make[2]: *** [bin/clang-14] Error 1
make[1]: *** [tools/clang/tools/driver/CMakeFiles/clang.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

The path name is actually:
  'Dev Space/Net/llvm/Build/tools/clang/tools/driver/Info.plist'

Bugzilla issue - https://bugs.llvm.org/show_bug.cgi?id=51884
Reporter and patch author - Brain Swift <bsp2bsp-llvm at yahoo.com>

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D109979




More information about the All-commits mailing list