[PATCH] D57406: build: remove use of llvm-config

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 7 12:49:13 PST 2019


mgorny requested changes to this revision.
mgorny added a comment.
This revision now requires changes to proceed.

I'm sorry, I must've tested wrong before. It actually breaks the build for me:

  [29/143] cd /var/tmp/portage/sys-devel/lld-9999/work/lld-9999_build && /usr/lib/llvm/9/bin/llvm-tblgen -gen-opt-parser-defs -I /var/tmp/portage/sys
  -devel/lld-9999/work/lld-9999/lib/Driver /var/tmp/portage/sys-devel/lld-9999/work/lld-9999/lib/Driver/DarwinLdOptions.td -o lib/Driver/DarwinLdOpti
  ons.inc -d lib/Driver/DarwinLdOptions.inc.d
  FAILED: lib/Driver/DarwinLdOptions.inc
  cd /var/tmp/portage/sys-devel/lld-9999/work/lld-9999_build && /usr/lib/llvm/9/bin/llvm-tblgen -gen-opt-parser-defs -I /var/tmp/portage/sys-devel/ll
  d-9999/work/lld-9999/lib/Driver /var/tmp/portage/sys-devel/lld-9999/work/lld-9999/lib/Driver/DarwinLdOptions.td -o lib/Driver/DarwinLdOptions.inc -
  d lib/Driver/DarwinLdOptions.inc.d
  /var/tmp/portage/sys-devel/lld-9999/work/lld-9999/lib/Driver/DarwinLdOptions.td:1:9: error: Could not find include file 'llvm/Option/OptParser.td'
  include "llvm/Option/OptParser.td"
          ^
  /var/tmp/portage/sys-devel/lld-9999/work/lld-9999/lib/Driver/DarwinLdOptions.td:1:9: error: Unexpected input at top level
  include "llvm/Option/OptParser.td"
          ^
  ninja: build stopped: subcommand failed.


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D57406





More information about the llvm-commits mailing list