Hi,
Sorry for the misunderstanding--
When I said "from build area root" I am talking about the directory where you are running "ninja", not the directory that contains the source code for gollvm. Within your gollvm git repo, you will definitely still need the "libgo" subdir.
So let's say that you have your LLVM repo checked out in
/tmp/llvm-project
meaning that within this directory you would have
/tmp/llvm-project/llvm/tools/gollvm
/tmp/llvm-project/llvm/tools/gollvm/libgo
/tmp/llvm-project/llvm/tools/gollvm/gofrontend
...
Then somewhere else you would have your build area, perhaps in /tmp/build. Within that build area you first run cmake, then run ninja e.g.
cd /tmp/build
cmake <various cmake options> -G Ninja ../llvm-project/llvm
ninja ...
What I am suggesting is that from your build area (/tmp/build, NOT /tmp/llvm-project) you issue the command
rm -rf tools/gollvm/libgo
Thanks, Than