ronchaine / llvm-project

Guess I'll try to do something useful with llvm here
http://llvm.org
0 stars 0 forks source link

llvm-tblgen unknown command line arguments #4

Closed ronchaine closed 4 years ago

ronchaine commented 4 years ago
FAILED: tools/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.inc 
cd /hyena-builds/sources/llvm-project/llvm/build-all && /hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen -gen-clang-comment-html-named-character-references -I /hyena-builds/sources/llvm-project/clang/include -I /hyena-builds/sources/llvm-project/clang/include/clang/AST -I /hyena-builds/sources/llvm-project/llvm/include /hyena-builds/sources/llvm-project/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.td --write-if-changed -o tools/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.inc -d tools/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.inc.d
llvm-tblgen: Unknown command line argument '-gen-clang-comment-html-named-character-references'.  Try: '/hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen --help'
llvm-tblgen: Did you mean '--gen-opt-parser-defs'?
[2/3032] Building CommentCommandList.inc...
FAILED: tools/clang/include/clang/AST/CommentCommandList.inc 
cd /hyena-builds/sources/llvm-project/llvm/build-all && /hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen -gen-clang-comment-command-list -I /hyena-builds/sources/llvm-project/clang/include -I /hyena-builds/sources/llvm-project/clang/include/clang/AST -I /hyena-builds/sources/llvm-project/llvm/include /hyena-builds/sources/llvm-project/clang/include/clang/AST/CommentCommands.td --write-if-changed -o tools/clang/include/clang/AST/CommentCommandList.inc -d tools/clang/include/clang/AST/CommentCommandList.inc.d
llvm-tblgen: Unknown command line argument '-gen-clang-comment-command-list'.  Try: '/hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen --help'
llvm-tblgen: Did you mean '--gen-global-isel-combiner'?
[3/3032] Building AbstractTypeWriter.inc...
FAILED: tools/clang/include/clang/AST/AbstractTypeWriter.inc 
cd /hyena-builds/sources/llvm-project/llvm/build-all && /hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen -gen-clang-type-writer -I /hyena-builds/sources/llvm-project/clang/include -I /hyena-builds/sources/llvm-project/clang/include/clang/AST -I /hyena-builds/sources/llvm-project/llvm/include /hyena-builds/sources/llvm-project/clang/include/clang/AST/TypeProperties.td --write-if-changed -o tools/clang/include/clang/AST/AbstractTypeWriter.inc -d tools/clang/include/clang/AST/AbstractTypeWriter.inc.d
llvm-tblgen: Unknown command line argument '-gen-clang-type-writer'.  Try: '/hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen --help'
llvm-tblgen: Did you mean '--gen-asm-writer'?
[4/3032] Building AttrNodeTraverse.inc...
FAILED: tools/clang/include/clang/AST/AttrNodeTraverse.inc 
cd /hyena-builds/sources/llvm-project/llvm/build-all && /hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen -gen-clang-attr-node-traverse -I /hyena-builds/sources/llvm-project/clang/include -I /hyena-builds/sources/llvm-project/clang/include/clang/AST -I /hyena-builds/sources/llvm-project/llvm/include /hyena-builds/sources/llvm-project/clang/include/clang/AST/../Basic/Attr.td --write-if-changed -o tools/clang/include/clang/AST/AttrNodeTraverse.inc -d tools/clang/include/clang/AST/AttrNodeTraverse.inc.d
llvm-tblgen: Unknown command line argument '-gen-clang-attr-node-traverse'.  Try: '/hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen --help'
llvm-tblgen: Did you mean '--gen-searchable-tables'?
[5/3032] Building CommentHTMLTags.inc...
FAILED: tools/clang/include/clang/AST/CommentHTMLTags.inc 
cd /hyena-builds/sources/llvm-project/llvm/build-all && /hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen -gen-clang-comment-html-tags -I /hyena-builds/sources/llvm-project/clang/include -I /hyena-builds/sources/llvm-project/clang/include/clang/AST -I /hyena-builds/sources/llvm-project/llvm/include /hyena-builds/sources/llvm-project/clang/include/clang/AST/CommentHTMLTags.td --write-if-changed -o tools/clang/include/clang/AST/CommentHTMLTags.inc -d tools/clang/include/clang/AST/CommentHTMLTags.inc.d
llvm-tblgen: Unknown command line argument '-gen-clang-comment-html-tags'.  Try: '/hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen --help'
llvm-tblgen: Did you mean '--gen-callingconv'?
[6/3032] Building AbstractTypeReader.inc...
FAILED: tools/clang/include/clang/AST/AbstractTypeReader.inc 
cd /hyena-builds/sources/llvm-project/llvm/build-all && /hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen -gen-clang-type-reader -I /hyena-builds/sources/llvm-project/clang/include -I /hyena-builds/sources/llvm-project/clang/include/clang/AST -I /hyena-builds/sources/llvm-project/llvm/include /hyena-builds/sources/llvm-project/clang/include/clang/AST/TypeProperties.td --write-if-changed -o tools/clang/include/clang/AST/AbstractTypeReader.inc -d tools/clang/include/clang/AST/AbstractTypeReader.inc.d
llvm-tblgen: Unknown command line argument '-gen-clang-type-reader'.  Try: '/hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen --help'
llvm-tblgen: Did you mean '--gen-asm-writer'?
[7/3032] Building StmtDataCollectors.inc...
FAILED: tools/clang/include/clang/AST/StmtDataCollectors.inc 
cd /hyena-builds/sources/llvm-project/llvm/build-all && /hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen -gen-clang-data-collectors -I /hyena-builds/sources/llvm-project/clang/include -I /hyena-builds/sources/llvm-project/clang/include/clang/AST -I /hyena-builds/sources/llvm-project/llvm/include /hyena-builds/sources/llvm-project/clang/include/clang/AST/StmtDataCollectors.td --write-if-changed -o tools/clang/include/clang/AST/StmtDataCollectors.inc -d tools/clang/include/clang/AST/StmtDataCollectors.inc.d
llvm-tblgen: Unknown command line argument '-gen-clang-data-collectors'.  Try: '/hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen --help'
llvm-tblgen: Did you mean '--gen-asm-matcher'?
[8/3032] Building CommentCommandInfo.inc...
FAILED: tools/clang/include/clang/AST/CommentCommandInfo.inc 
cd /hyena-builds/sources/llvm-project/llvm/build-all && /hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen -gen-clang-comment-command-info -I /hyena-builds/sources/llvm-project/clang/include -I /hyena-builds/sources/llvm-project/clang/include/clang/AST -I /hyena-builds/sources/llvm-project/llvm/include /hyena-builds/sources/llvm-project/clang/include/clang/AST/CommentCommands.td --write-if-changed -o tools/clang/include/clang/AST/CommentCommandInfo.inc -d tools/clang/include/clang/AST/CommentCommandInfo.inc.d
llvm-tblgen: Unknown command line argument '-gen-clang-comment-command-info'.  Try: '/hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen --help'
llvm-tblgen: Did you mean '--gen-global-isel-combiner'?
[9/3032] Building AbstractBasicReader.inc...
FAILED: tools/clang/include/clang/AST/AbstractBasicReader.inc 
cd /hyena-builds/sources/llvm-project/llvm/build-all && /hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen -gen-clang-basic-reader -I /hyena-builds/sources/llvm-project/clang/include -I /hyena-builds/sources/llvm-project/clang/include/clang/AST -I /hyena-builds/sources/llvm-project/llvm/include /hyena-builds/sources/llvm-project/clang/include/clang/AST/PropertiesBase.td --write-if-changed -o tools/clang/include/clang/AST/AbstractBasicReader.inc -d tools/clang/include/clang/AST/AbstractBasicReader.inc.d
llvm-tblgen: Unknown command line argument '-gen-clang-basic-reader'.  Try: '/hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen --help'
llvm-tblgen: Did you mean '--gen-asm-matcher'?
[10/3032] Building CommentHTMLTagsProperties.inc...
FAILED: tools/clang/include/clang/AST/CommentHTMLTagsProperties.inc 
cd /hyena-builds/sources/llvm-project/llvm/build-all && /hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen -gen-clang-comment-html-tags-properties -I /hyena-builds/sources/llvm-project/clang/include -I /hyena-builds/sources/llvm-project/clang/include/clang/AST -I /hyena-builds/sources/llvm-project/llvm/include /hyena-builds/sources/llvm-project/clang/include/clang/AST/CommentHTMLTags.td --write-if-changed -o tools/clang/include/clang/AST/CommentHTMLTagsProperties.inc -d tools/clang/include/clang/AST/CommentHTMLTagsProperties.inc.d
llvm-tblgen: Unknown command line argument '-gen-clang-comment-html-tags-properties'.  Try: '/hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen --help'
llvm-tblgen: Did you mean '--gen-compress-inst-emitter'?
[11/3032] Building AttrImpl.inc...
FAILED: tools/clang/include/clang/AST/AttrImpl.inc 
cd /hyena-builds/sources/llvm-project/llvm/build-all && /hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen -gen-clang-attr-impl -I /hyena-builds/sources/llvm-project/clang/include -I /hyena-builds/sources/llvm-project/clang/include/clang/AST -I /hyena-builds/sources/llvm-project/llvm/include /hyena-builds/sources/llvm-project/clang/include/clang/AST/../Basic/Attr.td --write-if-changed -o tools/clang/include/clang/AST/AttrImpl.inc -d tools/clang/include/clang/AST/AttrImpl.inc.d
llvm-tblgen: Unknown command line argument '-gen-clang-attr-impl'.  Try: '/hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen --help'
llvm-tblgen: Did you mean '--gen-register-info'?
[12/3032] Building StmtNodes.inc...
FAILED: tools/clang/include/clang/AST/StmtNodes.inc 
cd /hyena-builds/sources/llvm-project/llvm/build-all && /hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen -gen-clang-stmt-nodes -I /hyena-builds/sources/llvm-project/clang/include -I /hyena-builds/sources/llvm-project/clang/include/clang/AST -I /hyena-builds/sources/llvm-project/llvm/include /hyena-builds/sources/llvm-project/clang/include/clang/AST/../Basic/StmtNodes.td --write-if-changed -o tools/clang/include/clang/AST/StmtNodes.inc -d tools/clang/include/clang/AST/StmtNodes.inc.d
llvm-tblgen: Unknown command line argument '-gen-clang-stmt-nodes'.  Try: '/hyena-builds/sources/llvm-project/llvm/build-llvm-only/bin/llvm-tblgen --help'
llvm-tblgen: Did you mean '--gen-instr-docs'?
[13/3032] Creating library symlink lib/libc++.so.1 lib/libc++.so
FAILED: projects/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64-stamps/libcxx_fuzzer_x86_64-build projects/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/lib/libc++.a projects/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/lib/libc++abi.a 
cd /hyena-builds/sources/llvm-project/llvm/build-all/projects/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64-bins && /usr/bin/cmake --build .
ninja: build stopped: subcommand failed.
ronchaine commented 4 years ago

Fixed with building llvm only first and using the built clang-tblgen executable.