Multilib and provides llvm - Initially made for chaotic-aur.
Allows to disable checks with a toggle inside the PKGBUILD.
git clone https://github.com/Frogging-Family/llvm-git.git
cd llvm-git
makepkg -si
Hey, so while trying to build llvm-git the new way through the submodule frogging-family deal, and in a clean git clone, building llvm-git fails. Here's the log starting at the FAIL
message:
[7950/8058] Linking CXX executable tools/clang/unittests/AST/ASTTests
FAILED: tools/clang/unittests/AST/ASTTests
: && /usr/lib/ccache/bin/c++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-allow-shlib-undefined -Wl,-O3 -Wl,--gc-sections tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTContextParentMapTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterFixtures.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterGenericRedeclTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterODRStrategiesTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterVisibilityTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTTraverserTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTTypeTraitsTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTVectorTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/CommentLexer.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/CommentParser.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/CommentTextTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/DataCollectionTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/DeclPrinterTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/DeclTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/EvaluateAsRValueTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ExternalASTSourceTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/Language.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/NamedDeclPrinterTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/RecursiveASTVisitorTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/SizelessTypesTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/SourceLocationTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/StmtPrinterTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/StructuralEquivalenceTest.cpp.o -o tools/clang/unittests/AST/ASTTests -Wl,-rpath,/tmp/makepkg/llvm-git/src/_build64/lib -lpthread lib/libgtest_main.a lib/libgtest.a -lpthread lib/libclang-cpp.so.11 -lpthread lib/libLLVM-11.so && :
/usr/bin/ld: tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/SourceLocationTest.cpp.o: in function `(anonymous namespace)::Decl_MemberPointerStarLoc_Test::TestBody()':
SourceLocationTest.cpp:(.text._ZN12_GLOBAL__N_130Decl_MemberPointerStarLoc_Test8TestBodyEv+0x47): undefined reference to `llvm::Annotations::Annotations(llvm::StringRef)'
/usr/bin/ld: SourceLocationTest.cpp:(.text._ZN12_GLOBAL__N_130Decl_MemberPointerStarLoc_Test8TestBodyEv+0x554): undefined reference to `llvm::Annotations::point(llvm::StringRef) const'
collect2: error: ld returned 1 exit status
[7961/8058] Generating man Sphinx documentation for llvm into "/tmp/makepkg/llvm-git/src/_build64/docs/man"
/usr/lib/python3.8/site-packages/sphinx/util/compat.py:30: RemovedInSphinx30Warning: The config variable "source_parsers" is deprecated. Please update your extension for the parser and remove the setting.
warnings.warn('The config variable "source_parsers" is deprecated. '
/usr/lib/python3.8/site-packages/sphinx/util/compat.py:36: RemovedInSphinx30Warning: app.add_source_parser() does not support suffix argument. Use app.add_source_suffix() instead.
app.add_source_parser(suffix, parser)
/usr/lib/python3.8/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/tmp/makepkg/llvm-git/src/llvm-project/llvm/docs/CommandGuide/llvm-symbolizer.rst:157: WARNING: Error in "code-block" directive:
maximum 1 argument(s) allowed, 30 supplied.
.. code-block:: console
$ pwd
/tmp
$ clang -g foo/test.cpp -o test.elf
$ llvm-symbolizer --obj=test.elf 0x4004a0
main
/tmp/foo/test.cpp:15:0
$ llvm-symbolizer --obj=test.elf 0x4004a0 --basenames
main
test.cpp:15:0
$ llvm-symbolizer --obj=test.elf 0x4004a0 --relativenames
main
foo/test.cpp:15:0
[7962/8058] Generating man Sphinx documentation for dsymutil into "/tmp/makepkg/llvm-git/src/_build64/docs/man"
/usr/lib/python3.8/site-packages/sphinx/util/compat.py:30: RemovedInSphinx30Warning: The config variable "source_parsers" is deprecated. Please update your extension for the parser and remove the setting.
warnings.warn('The config variable "source_parsers" is deprecated. '
/usr/lib/python3.8/site-packages/sphinx/util/compat.py:36: RemovedInSphinx30Warning: app.add_source_parser() does not support suffix argument. Use app.add_source_suffix() instead.
app.add_source_parser(suffix, parser)
/usr/lib/python3.8/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/tmp/makepkg/llvm-git/src/llvm-project/llvm/docs/CommandGuide/llvm-symbolizer.rst:157: WARNING: Error in "code-block" directive:
maximum 1 argument(s) allowed, 30 supplied.
.. code-block:: console
$ pwd
/tmp
$ clang -g foo/test.cpp -o test.elf
$ llvm-symbolizer --obj=test.elf 0x4004a0
main
/tmp/foo/test.cpp:15:0
$ llvm-symbolizer --obj=test.elf 0x4004a0 --basenames
main
test.cpp:15:0
$ llvm-symbolizer --obj=test.elf 0x4004a0 --relativenames
main
foo/test.cpp:15:0
[7963/8058] Generating man Sphinx documentation for llvm-dwarfdump into "/tmp/makepkg/llvm-git/src/_build64/docs/man"
/usr/lib/python3.8/site-packages/sphinx/util/compat.py:30: RemovedInSphinx30Warning: The config variable "source_parsers" is deprecated. Please update your extension for the parser and remove the setting.
warnings.warn('The config variable "source_parsers" is deprecated. '
/usr/lib/python3.8/site-packages/sphinx/util/compat.py:36: RemovedInSphinx30Warning: app.add_source_parser() does not support suffix argument. Use app.add_source_suffix() instead.
app.add_source_parser(suffix, parser)
/usr/lib/python3.8/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/tmp/makepkg/llvm-git/src/llvm-project/llvm/docs/CommandGuide/llvm-symbolizer.rst:157: WARNING: Error in "code-block" directive:
maximum 1 argument(s) allowed, 30 supplied.
.. code-block:: console
$ pwd
/tmp
$ clang -g foo/test.cpp -o test.elf
$ llvm-symbolizer --obj=test.elf 0x4004a0
main
/tmp/foo/test.cpp:15:0
$ llvm-symbolizer --obj=test.elf 0x4004a0 --basenames
main
test.cpp:15:0
$ llvm-symbolizer --obj=test.elf 0x4004a0 --relativenames
main
foo/test.cpp:15:0
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.