Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/tools/llvm-lib/libLLVMHelloNew Update build system for...



details:   https://anonhg.NetBSD.org/src-all/rev/fa93d7e35a91
branches:  trunk
changeset: 983537:fa93d7e35a91
user:      Joerg Sonnenberger <joerg%bec.de@localhost>
date:      Thu May 27 03:10:01 2021 +0200

description:
Update build system for LLVM 249b40b558955afe5ac2b549edcf2d7f859c8cc9

diffstat:

 distrib/sets/lists/comp/mi                                                  |   36 ++-
 etc/mtree/NetBSD.dist.base                                                  |    3 +
 external/apache2/llvm/Makefile.inc                                          |    2 +-
 external/apache2/llvm/bin/Makefile                                          |    1 +
 external/apache2/llvm/bin/clang-repl/Makefile                               |  133 ++++++++++
 external/apache2/llvm/bin/clang-tblgen/Makefile                             |    1 +
 external/apache2/llvm/bin/clang/Makefile                                    |    1 -
 external/apache2/llvm/bin/lli/Makefile                                      |    3 +-
 external/apache2/llvm/bin/llvm-objcopy/Makefile                             |    8 +-
 external/apache2/llvm/bin/llvm-objdump/Makefile                             |   12 +
 external/apache2/llvm/bin/llvm-reduce/Makefile                              |   48 +++
 external/apache2/llvm/bin/opt/Makefile                                      |    1 -
 external/apache2/llvm/bin/tblgen/Makefile                                   |    1 +
 external/apache2/llvm/include/Makefile                                      |   22 +-
 external/apache2/llvm/lib/Makefile                                          |    2 +-
 external/apache2/llvm/lib/libLLVMAArch64CodeGen/Makefile                    |    4 +
 external/apache2/llvm/lib/libLLVMAMDGPUCodeGen/Makefile                     |    6 +-
 external/apache2/llvm/lib/libLLVMAMDGPUUtils/Makefile                       |    1 +
 external/apache2/llvm/lib/libLLVMARMCodeGen/Makefile                        |    3 +-
 external/apache2/llvm/lib/libLLVMAnalysis/Makefile                          |    1 +
 external/apache2/llvm/lib/libLLVMCodeGen/Makefile                           |    7 +-
 external/apache2/llvm/lib/libLLVMDemangle/Makefile                          |    3 +-
 external/apache2/llvm/lib/libLLVMExecutionEngineJITLink/Makefile            |    3 +-
 external/apache2/llvm/lib/libLLVMExecutionEngineOrcTargetProcess/Makefile   |    3 +-
 external/apache2/llvm/lib/libLLVMFrontendOpenACC/Makefile                   |   15 +
 external/apache2/llvm/lib/libLLVMFrontendOpenMP/Makefile                    |    8 -
 external/apache2/llvm/lib/libLLVMHelloNew/Makefile                          |   15 -
 external/apache2/llvm/lib/libLLVMIR/Makefile                                |    3 +-
 external/apache2/llvm/lib/libLLVMMCA/Makefile                               |    1 +
 external/apache2/llvm/lib/libLLVMOrc/Makefile                               |    2 +
 external/apache2/llvm/lib/libLLVMPasses/Makefile                            |    1 +
 external/apache2/llvm/lib/libLLVMPowerPCMCTargetDesc/Makefile               |    3 +-
 external/apache2/llvm/lib/libLLVMSupport/Makefile                           |    3 +
 external/apache2/llvm/lib/libLLVMTextAPI/Makefile                           |    2 +-
 external/apache2/llvm/lib/libLLVMTransformsUtils/Makefile                   |    6 +-
 external/apache2/llvm/lib/libLLVMX86CodeGen/Makefile                        |    4 +
 external/apache2/llvm/lib/libclangAnalysis/Makefile                         |    1 +
 external/apache2/llvm/lib/libclangBasic/Makefile                            |    3 +-
 external/apache2/llvm/lib/libclangDriver/Makefile                           |    2 +
 external/apache2/llvm/lib/libclangInterpreter/Makefile                      |   19 +
 external/apache2/llvm/lib/libclangStaticAnalyzerCore/Makefile               |    2 +-
 external/apache2/llvm/lib/libclangTooling/Makefile                          |    8 +
 external/apache2/llvm/lib/libclangToolingDumpTool/Makefile                  |   16 +
 external/apache2/llvm/librt/Makefile                                        |    4 +-
 external/apache2/llvm/librt/libLLVMExecutionEngineOrcShared/Makefile        |    3 +
 external/apache2/llvm/librt/libLLVMExecutionEngineOrcTargetProcess/Makefile |    3 +
 external/apache2/llvm/librt/libLLVMHelloNew/Makefile                        |    3 -
 external/apache2/llvm/librt/libLLVMOrc/Makefile                             |    3 +
 external/bsd/libc++/include/Makefile                                        |   36 ++-
 external/bsd/libc++/include/__config_site                                   |   40 +++
 external/bsd/libc++/lib/Makefile                                            |    3 +-
 external/mit/xorg/lib/gallium/Makefile                                      |    4 +-
 tools/llvm-lib/libLLVMHelloNew/Makefile                                     |    3 -
 53 files changed, 451 insertions(+), 70 deletions(-)

diffs (truncated from 1292 to 300 lines):

diff -r 327889680be3 -r fa93d7e35a91 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Thu May 27 03:08:53 2021 +0200
+++ b/distrib/sets/lists/comp/mi        Thu May 27 03:10:01 2021 +0200
@@ -243,6 +243,7 @@
 ./usr/include/c++/concepts                     comp-cxx-include        libcxx
 ./usr/include/c++/condition_variable           comp-cxx-include        libcxx
 ./usr/include/c++/__config                     comp-cxx-include        libcxx
+./usr/include/c++/__config_site                        comp-cxx-include        libcxx
 ./usr/include/c++/csetjmp                      comp-cxx-include        libcxx
 ./usr/include/c++/csignal                      comp-cxx-include        libcxx
 ./usr/include/c++/cstdarg                      comp-cxx-include        libcxx
@@ -316,7 +317,13 @@
 ./usr/include/c++/iosfwd                       comp-cxx-include        libcxx
 ./usr/include/c++/iostream                     comp-cxx-include        libcxx
 ./usr/include/c++/istream                      comp-cxx-include        libcxx
+./usr/include/c++/__iterator                   comp-cxx-include        libcxx
 ./usr/include/c++/iterator                     comp-cxx-include        libcxx
+./usr/include/c++/__iterator/concepts.h                comp-cxx-include        libcxx
+./usr/include/c++/__iterator/incrementable_traits.h    comp-cxx-include        libcxx
+./usr/include/c++/__iterator/iterator_traits.h comp-cxx-include        libcxx
+./usr/include/c++/__iterator/iter_move.h       comp-cxx-include        libcxx
+./usr/include/c++/__iterator/readable_traits.h comp-cxx-include        libcxx
 ./usr/include/c++/latch                                comp-cxx-include        libcxx
 ./usr/include/c++/__libcpp_version             comp-cxx-include        libcxx
 ./usr/include/c++/limits                       comp-cxx-include        libcxx
@@ -327,11 +334,23 @@
 ./usr/include/c++/locale.h                     comp-cxx-include        libcxx
 ./usr/include/c++/map                          comp-cxx-include        libcxx
 ./usr/include/c++/math.h                       comp-cxx-include        libcxx
+./usr/include/c++/__memory/addressof.h         comp-cxx-include        libcxx
+./usr/include/c++/__memory/allocation_guard.h  comp-cxx-include        libcxx
+./usr/include/c++/__memory/allocator.h         comp-cxx-include        libcxx
 ./usr/include/c++/__memory/allocator_traits.h  comp-cxx-include        libcxx
-./usr/include/c++/__memory/base.h              comp-cxx-include        libcxx
+./usr/include/c++/__memory/auto_ptr.h          comp-cxx-include        libcxx
+./usr/include/c++/__memory/base.h              comp-cxx-obsolete       obsolete
 ./usr/include/c++/memory                       comp-cxx-include        libcxx
+./usr/include/c++/__memory/compressed_pair.h   comp-cxx-include        libcxx
+./usr/include/c++/__memory/construct_at.h      comp-cxx-include        libcxx
+./usr/include/c++/__memory/pointer_safety.h    comp-cxx-include        libcxx
 ./usr/include/c++/__memory/pointer_traits.h    comp-cxx-include        libcxx
-./usr/include/c++/__memory/utilities.h         comp-cxx-include        libcxx
+./usr/include/c++/__memory/raw_storage_iterator.h      comp-cxx-include        libcxx
+./usr/include/c++/__memory/shared_ptr.h                comp-cxx-include        libcxx
+./usr/include/c++/__memory/temporary_buffer.h  comp-cxx-include        libcxx
+./usr/include/c++/__memory/uninitialized_algorithms.h  comp-cxx-include        libcxx
+./usr/include/c++/__memory/unique_ptr.h                comp-cxx-include        libcxx
+./usr/include/c++/__memory/utilities.h         comp-cxx-obsolete       obsolete
 ./usr/include/c++/module.modulemap             comp-cxx-include        libcxx
 ./usr/include/c++/__mutex_base                 comp-cxx-include        libcxx
 ./usr/include/c++/mutex                                comp-cxx-include        libcxx
@@ -344,6 +363,15 @@
 ./usr/include/c++/ostream                      comp-cxx-include        libcxx
 ./usr/include/c++/queue                                comp-cxx-include        libcxx
 ./usr/include/c++/random                       comp-cxx-include        libcxx
+./usr/include/c++/__ranges                     comp-cxx-include        libcxx
+./usr/include/c++/__ranges/access.h            comp-cxx-include        libcxx
+./usr/include/c++/ranges                       comp-cxx-include        libcxx
+./usr/include/c++/__ranges/concepts.h          comp-cxx-include        libcxx
+./usr/include/c++/__ranges/data.h              comp-cxx-include        libcxx
+./usr/include/c++/__ranges/empty.h             comp-cxx-include        libcxx
+./usr/include/c++/__ranges/enable_borrowed_range.h     comp-cxx-include        libcxx
+./usr/include/c++/__ranges/size.h              comp-cxx-include        libcxx
+./usr/include/c++/__ranges/view.h              comp-cxx-include        libcxx
 ./usr/include/c++/ratio                                comp-cxx-include        libcxx
 ./usr/include/c++/regex                                comp-cxx-include        libcxx
 ./usr/include/c++/scoped_allocator             comp-cxx-include        libcxx
@@ -353,7 +381,7 @@
 ./usr/include/c++/shared_mutex                 comp-cxx-include        libcxx
 ./usr/include/c++/span                         comp-cxx-include        libcxx
 ./usr/include/c++/__split_buffer               comp-cxx-include        libcxx
-./usr/include/c++/__sso_allocator              comp-cxx-include        libcxx
+./usr/include/c++/__sso_allocator              comp-cxx-obsolete       obsolete
 ./usr/include/c++/sstream                      comp-cxx-include        libcxx
 ./usr/include/c++/stack                                comp-cxx-include        libcxx
 ./usr/include/c++/stdbool.h                    comp-cxx-include        libcxx
@@ -385,7 +413,9 @@
 ./usr/include/c++/__undef_min_max              comp-obsolete           obsolete
 ./usr/include/c++/unordered_map                        comp-cxx-include        libcxx
 ./usr/include/c++/unordered_set                        comp-cxx-include        libcxx
+./usr/include/c++/__utility                    comp-cxx-include        libcxx
 ./usr/include/c++/utility                      comp-cxx-include        libcxx
+./usr/include/c++/__utility/to_underlying.h    comp-cxx-include        libcxx
 ./usr/include/c++/valarray                     comp-cxx-include        libcxx
 ./usr/include/c++/variant                      comp-cxx-include        libcxx
 ./usr/include/c++/vector                       comp-cxx-include        libcxx
diff -r 327889680be3 -r fa93d7e35a91 etc/mtree/NetBSD.dist.base
--- a/etc/mtree/NetBSD.dist.base        Thu May 27 03:08:53 2021 +0200
+++ b/etc/mtree/NetBSD.dist.base        Thu May 27 03:10:01 2021 +0200
@@ -113,7 +113,10 @@
 ./usr/include/c++
 ./usr/include/c++/experimental
 ./usr/include/c++/ext
+./usr/include/c++/__iterator
 ./usr/include/c++/__memory
+./usr/include/c++/__ranges
+./usr/include/c++/__utility
 ./usr/include/cbor
 ./usr/include/clang-13.0
 ./usr/include/crypto
diff -r 327889680be3 -r fa93d7e35a91 external/apache2/llvm/Makefile.inc
--- a/external/apache2/llvm/Makefile.inc        Thu May 27 03:08:53 2021 +0200
+++ b/external/apache2/llvm/Makefile.inc        Thu May 27 03:10:01 2021 +0200
@@ -5,7 +5,7 @@
 
 .include <bsd.own.mk>
 
-COMMON_REVISION=       83d705adb2e043e576c9cbaf9709795bc69fe5cf
+COMMON_REVISION=       249b40b558955afe5ac2b549edcf2d7f859c8cc9
 CLANG_REVISION=                ${COMMON_REVISION}
 LLVM_REVISION=         ${COMMON_REVISION}
 
diff -r 327889680be3 -r fa93d7e35a91 external/apache2/llvm/bin/Makefile
--- a/external/apache2/llvm/bin/Makefile        Thu May 27 03:08:53 2021 +0200
+++ b/external/apache2/llvm/bin/Makefile        Thu May 27 03:10:01 2021 +0200
@@ -11,6 +11,7 @@
 SUBDIR+= \
        bugpoint \
        clang-format \
+       clang-repl \
        clang-rename \
        llc \
        lli \
diff -r 327889680be3 -r fa93d7e35a91 external/apache2/llvm/bin/clang-repl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/apache2/llvm/bin/clang-repl/Makefile     Thu May 27 03:10:01 2021 +0200
@@ -0,0 +1,133 @@
+#      $NetBSD: Makefile,v 1.1 2019/11/11 22:44:58 joerg Exp $
+
+PROG_CXX=      clang-repl
+NOMAN=         yes
+
+.include <bsd.init.mk>
+
+.PATH: ${CLANG_SRCDIR}/tools/clang-repl
+
+SRCS=  ClangRepl.cpp
+
+.include "${.PARSEDIR}/../../link.mk"
+
+CLANG_LIBS+= \
+       clangInterpreter \
+       clangFrontendTool \
+       clangFrontend \
+       clangARCMigrate \
+       clangStaticAnalyzerFrontend \
+       clangStaticAnalyzerCheckers \
+       clangStaticAnalyzerCore \
+       clangToolingCore \
+       clangCrossTU \
+       clangIndex \
+       clangASTMatchers \
+       clangCodeGen \
+       clangFrontendRewrite \
+       clangFrontend \
+       clangSerialization \
+       clangParse \
+       clangSema \
+       clangAnalysis \
+       clangEdit \
+       clangDriver \
+       clangRewrite \
+       clangAST \
+       clangLex \
+       clangBasic
+
+LLVM_LIBS+= \
+       FrontendOpenMP \
+       TransformsCoroutines \
+       ProfileDataCoverage \
+       LTO \
+       ObjCARC \
+       Passes \
+       TransformsAggressiveInstCombine \
+       ipo \
+       IRReader \
+       AsmParser \
+       BitstreamReader \
+       BitReader \
+       BitWriter
+
+.if !defined(HOSTPROG)
+LLVM_LIBS+= \
+       AMDGPUCodeGen \
+       AMDGPUTargetInfo \
+       AMDGPUAsmParser \
+       AMDGPUMCTargetDesc \
+       AMDGPUUtils \
+       MIRParser
+.endif
+
+LLVM_LIBS+= \
+       Orc \
+       ExecutionEngineJITLink \
+       ExecutionEngineOrcTargetProcess \
+       ExecutionEngineOrcShared \
+       ExecutionEngine \
+       RuntimeDyld \
+       AArch64CodeGen \
+       AArch64TargetInfo \
+       AArch64AsmParser \
+       AArch64MCTargetDesc \
+       AArch64Utils \
+       ARMCodeGen \
+       ARMTargetInfo \
+       ARMMCTargetDesc \
+       ARMAsmParser \
+       ARMUtils \
+       MipsCodeGen \
+       MipsTargetInfo \
+       MipsAsmParser \
+       MipsMCTargetDesc \
+       PowerPCCodeGen \
+       PowerPCTargetInfo \
+       PowerPCMCTargetDesc \
+       PowerPCAsmParser \
+       SparcCodeGen \
+       SparcTargetInfo \
+       SparcMCTargetDesc \
+       SparcAsmParser \
+       X86CodeGen \
+       X86MCTargetDesc \
+       X86TargetInfo \
+       X86AsmParser \
+       GlobalISel \
+       SelectionDAG \
+       AsmPrinter \
+       DebugInfoDWARF \
+       DebugInfoCodeView \
+       DebugInfoMSF \
+       CodeGen \
+       Vectorize \
+       Target \
+       InstCombine \
+       Instrumentation \
+       ScalarOpts \
+       ProfileData \
+       MCDisassembler \
+       MCParser \
+       MC \
+       TransformsUtils \
+       Analysis \
+       Object \
+       TextAPI \
+       Linker \
+       TransformsCFGuard \
+       IR \
+       Remarks \
+       LineEditor \
+       Option \
+       BinaryFormat \
+       Support \
+       Demangle
+
+.include "${.PARSEDIR}/../../link.mk"
+
+LDADD+=        -lz -ledit
+DPADD+=        ${LIBZ} ${LIBEDIT}
+
+.include <bsd.prog.mk>
diff -r 327889680be3 -r fa93d7e35a91 external/apache2/llvm/bin/clang-tblgen/Makefile
--- a/external/apache2/llvm/bin/clang-tblgen/Makefile   Thu May 27 03:08:53 2021 +0200
+++ b/external/apache2/llvm/bin/clang-tblgen/Makefile   Thu May 27 03:10:01 2021 +0200
@@ -24,6 +24,7 @@
        ClangTypeNodesEmitter.cpp \
        MveEmitter.cpp \
        NeonEmitter.cpp \
+       RISCVVEmitter.cpp \
        SveEmitter.cpp \
        TableGen.cpp
 
diff -r 327889680be3 -r fa93d7e35a91 external/apache2/llvm/bin/clang/Makefile
--- a/external/apache2/llvm/bin/clang/Makefile  Thu May 27 03:08:53 2021 +0200
+++ b/external/apache2/llvm/bin/clang/Makefile  Thu May 27 03:10:01 2021 +0200
@@ -50,7 +50,6 @@
        LTO \
        ObjCARC \
        Passes \
-       HelloNew \
        ipo \
        IRReader \
        AsmParser \
diff -r 327889680be3 -r fa93d7e35a91 external/apache2/llvm/bin/lli/Makefile
--- a/external/apache2/llvm/bin/lli/Makefile    Thu May 27 03:08:53 2021 +0200
+++ b/external/apache2/llvm/bin/lli/Makefile    Thu May 27 03:10:01 2021 +0200
@@ -7,7 +7,8 @@
 
 .PATH: ${LLVM_SRCDIR}/tools/lli
 
-SRCS=  lli.cpp
+SRCS=  lli.cpp \
+       ExecutionUtils.cpp
 
 LLVM_LIBS+= \
        Orc \
diff -r 327889680be3 -r fa93d7e35a91 external/apache2/llvm/bin/llvm-objcopy/Makefile
--- a/external/apache2/llvm/bin/llvm-objcopy/Makefile   Thu May 27 03:08:53 2021 +0200
+++ b/external/apache2/llvm/bin/llvm-objcopy/Makefile   Thu May 27 03:10:01 2021 +0200
@@ -9,9 +9,8 @@
 



Home | Main Index | Thread Index | Old Index