[PATCH] D62040: [docs] Add new document on building distributions

Wink Saville via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 18 12:50:25 PDT 2019


winksaville added a comment.

I'm trying to test the distribution commands from lines 65-67, I first do the cmake:

  $ cd ~/prgs/llvm/llvm-project
  $ mkdir build
  $ cd build
  $ cmake -G Ninja -C ../clang/cmake/caches/DistributionExample.cmake ../llvm
  loading initial cache file ../clang/cmake/caches/DistributionExample.cmake
  -- The C compiler identification is GNU 8.3.0
  -- The CXX compiler identification is GNU 8.3.0
  -- The ASM compiler identification is GNU
  -- Found assembler: /usr/bin/cc
  ...
  -- Performing Test HAVE_STEADY_CLOCK
  -- Performing Test HAVE_STEADY_CLOCK -- success
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /home/wink/prgs/llvm/llvm-project/build

That succeeded, then I try the nina command but that fails:

  $ ninja stage2-distribution
  ninja: error: unknown target 'stage2-distribution'

I then check the ninja targets but there are no stage or distribution targets:

  $ ninja -t targets | grep stage
  $ ninja -t targets | grep distribution
  $ 

What have I done wrong?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62040/new/

https://reviews.llvm.org/D62040





More information about the llvm-commits mailing list