Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Update build system glue for LLVM 3.6RC1. Notable changes:
details: https://anonhg.NetBSD.org/src/rev/173b7ee85ae3
branches: trunk
changeset: 335907:173b7ee85ae3
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Jan 29 20:41:33 2015 +0000
description:
Update build system glue for LLVM 3.6RC1. Notable changes:
- Old JIT is removed.
- Improvements to debug information handling.
- ARM: check for deprecated instructions and warn in the integrated
assembler
- PPC: VSX support, va_arg support for struct/union types, -fPIC vs
-fpic supported, faster atomics
- x86: improved vectorizer
diffstat:
external/bsd/llvm/Makefile.inc | 6 +-
external/bsd/llvm/bin/bugpoint/Makefile | 4 +-
external/bsd/llvm/bin/clang-format/Makefile | 3 +-
external/bsd/llvm/bin/clang/Makefile | 4 +-
external/bsd/llvm/bin/lld/Makefile | 4 +-
external/bsd/llvm/bin/lli/Makefile | 3 +-
external/bsd/llvm/bin/llvm-ar/Makefile | 4 +-
external/bsd/llvm/bin/llvm-cov/Makefile | 13 +++++-
external/bsd/llvm/bin/llvm-mc/Makefile | 4 +-
external/bsd/llvm/bin/llvm-nm/Makefile | 4 +-
external/bsd/llvm/bin/llvm-objdump/Makefile | 5 +-
external/bsd/llvm/bin/opt/Makefile | 3 +-
external/bsd/llvm/config/clang/Config/config.h | 9 +++-
external/bsd/llvm/config/llvm/Config/config.h.in | 6 +++
external/bsd/llvm/config/llvm/Config/llvm-config.h.in | 3 +
external/bsd/llvm/config/llvm/Support/DataTypes.h | 6 ---
external/bsd/llvm/include/Makefile | 22 ++++++++++-
external/bsd/llvm/lib/Makefile | 11 +++--
external/bsd/llvm/lib/libLLVMAArch64CodeGen/Makefile | 9 +++-
external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile | 6 +--
external/bsd/llvm/lib/libLLVMAnalysis/Makefile | 5 ++-
external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile | 4 +-
external/bsd/llvm/lib/libLLVMCodeGen/Makefile | 9 ++--
external/bsd/llvm/lib/libLLVMDebugInfo/Makefile | 6 ++-
external/bsd/llvm/lib/libLLVMExecutionEngine/Makefile | 5 +-
external/bsd/llvm/lib/libLLVMIR/Makefile | 5 +-
external/bsd/llvm/lib/libLLVMInstrumentation/Makefile | 5 +-
external/bsd/llvm/lib/libLLVMJIT/Makefile | 15 -------
external/bsd/llvm/lib/libLLVMMCAnalysis/Makefile | 20 ----------
external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile | 7 +--
external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMObjCARC/Makefile | 5 +-
external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile | 6 +--
external/bsd/llvm/lib/libLLVMProfileData/Makefile | 7 ++-
external/bsd/llvm/lib/libLLVMRuntimeDyld/Makefile | 5 +-
external/bsd/llvm/lib/libLLVMScalarOpts/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMSelectionDAG/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile | 6 +--
external/bsd/llvm/lib/libLLVMSupport/Makefile | 7 ++-
external/bsd/llvm/lib/libLLVMTarget/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile | 5 +--
external/bsd/llvm/lib/libLLVMipa/Makefile | 3 +-
external/bsd/llvm/lib/libclangAST/Makefile | 3 +-
external/bsd/llvm/lib/libclangAnalysis/Makefile | 4 +-
external/bsd/llvm/lib/libclangBasic/Makefile | 4 +-
external/bsd/llvm/lib/libclangCodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libclangDriver/Makefile | 7 ++-
external/bsd/llvm/lib/libclangFormat/Makefile | 3 +-
external/bsd/llvm/lib/libclangFrontend/Makefile | 4 +-
external/bsd/llvm/lib/libclangSema/Makefile | 3 +-
external/bsd/llvm/lib/libclangStaticAnalyzerFrontend/Makefile | 6 ++-
external/bsd/llvm/lib/libclangToolingCore/Makefile | 15 +++++++
external/bsd/llvm/lib/liblldConfig/Makefile | 15 +++++++
external/bsd/llvm/lib/liblldDriver/Makefile | 3 +-
external/bsd/llvm/lib/liblldReaderWriterELFAArch64/Makefile | 20 ++++++++++
external/bsd/llvm/lib/liblldReaderWriterELFMips/Makefile | 3 +-
external/bsd/llvm/lib/liblldReaderWriterELFX86/Makefile | 3 +-
external/bsd/llvm/lib/liblldReaderWriterMachO/Makefile | 7 ++-
external/bsd/llvm/lib/liblldReaderWriterPECOFF/Makefile | 3 +-
external/bsd/llvm/lib/liblldbAPI/Makefile | 4 +-
external/bsd/llvm/lib/liblldbCore/Makefile | 3 +-
external/bsd/llvm/lib/liblldbDataFormatters/Makefile | 6 ++-
external/bsd/llvm/lib/liblldbExpression/Makefile | 3 +-
external/bsd/llvm/lib/liblldbHostCommon/Makefile | 5 +-
external/bsd/llvm/lib/liblldbInterpreter/Makefile | 3 +-
external/bsd/llvm/lib/liblldbPluginABISysV_ppc/Makefile | 15 +++++++
external/bsd/llvm/lib/liblldbPluginABISysV_ppc64/Makefile | 15 +++++++
external/bsd/llvm/lib/liblldbPluginAppleObjCRuntime/Makefile | 6 +-
external/bsd/llvm/lib/liblldbPluginProcessElfCore/Makefile | 4 +-
external/bsd/llvm/lib/liblldbPluginProcessPOSIX/Makefile | 6 ++-
external/bsd/llvm/lib/liblldbPluginProcessUtility/Makefile | 4 +-
external/bsd/llvm/lib/liblldbSymbol/Makefile | 3 +-
external/bsd/llvm/lib/liblldbTarget/Makefile | 5 ++-
external/bsd/llvm/lib/liblldbUtility/Makefile | 6 ++-
tools/llvm-lib/liblldConfig/Makefile | 3 +
tools/llvm-lib/liblldReaderWriterELFAArch64/Makefile | 3 +
77 files changed, 305 insertions(+), 164 deletions(-)
diffs (truncated from 1768 to 300 lines):
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/Makefile.inc Thu Jan 29 20:41:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.75 2014/11/14 15:56:12 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.76 2015/01/29 20:41:33 joerg Exp $
.if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK=
@@ -6,9 +6,9 @@
.include <bsd.own.mk>
SVN_ROOT= http://llvm.org/svn/llvm-project
-SVN_BRANCH= trunk
+SVN_BRANCH= branches/release_36
-COMMON_REVISION= 215315
+COMMON_REVISION= 227398
CLANG_REVISION= ${COMMON_REVISION}
LLD_REVISION= ${COMMON_REVISION}
LLDB_REVISION= ${COMMON_REVISION}
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/bin/bugpoint/Makefile
--- a/external/bsd/llvm/bin/bugpoint/Makefile Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/bin/bugpoint/Makefile Thu Jan 29 20:41:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2014/08/10 17:34:19 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2015/01/29 20:41:33 joerg Exp $
PROG_CXX= bugpoint
NOMAN= yes
@@ -26,8 +26,10 @@
BitWriter \
InstCombine \
Instrumentation \
+ MC \
Linker \
ScalarOpts \
+ ProfileData \
Target \
ipo \
Vectorize \
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/bin/clang-format/Makefile
--- a/external/bsd/llvm/bin/clang-format/Makefile Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/bin/clang-format/Makefile Thu Jan 29 20:41:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2014/08/10 17:34:19 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2015/01/29 20:41:33 joerg Exp $
PROG_CXX= clang-format
NOMAN= yes
@@ -11,6 +11,7 @@
CLANG_LIBS+= \
clangFormat \
+ clangToolingCore \
clangTooling \
clangFrontend \
clangSerialization \
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/bin/clang/Makefile
--- a/external/bsd/llvm/bin/clang/Makefile Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/bin/clang/Makefile Thu Jan 29 20:41:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2014/08/10 17:34:19 joerg Exp $
+# $NetBSD: Makefile,v 1.33 2015/01/29 20:41:33 joerg Exp $
PROG_CXX= clang
NOMAN= yes
@@ -78,12 +78,12 @@
SelectionDAG \
AsmPrinter \
CodeGen \
- ProfileData \
Vectorize \
Target \
InstCombine \
Instrumentation \
ScalarOpts \
+ ProfileData \
Analysis \
MCDisassembler \
MCParser \
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/bin/lld/Makefile
--- a/external/bsd/llvm/bin/lld/Makefile Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/bin/lld/Makefile Thu Jan 29 20:41:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2014/08/10 17:34:20 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2015/01/29 20:41:33 joerg Exp $
PROG_CXX= lld
NOMAN= yes
@@ -12,6 +12,7 @@
LLD_LIBS+= \
lldDriver \
lldReaderWriterELF \
+ lldReaderWriterELFAArch64 \
lldReaderWriterELFHexagon \
lldReaderWriterELFMips \
lldReaderWriterELFPPC \
@@ -24,6 +25,7 @@
lldPasses \
lldCore \
lldReaderWriterNative \
+ lldConfig
LLVM_LIBS+= \
Object \
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/bin/lli/Makefile
--- a/external/bsd/llvm/bin/lli/Makefile Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/bin/lli/Makefile Thu Jan 29 20:41:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2014/08/10 17:34:20 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2015/01/29 20:41:34 joerg Exp $
PROG_CXX= lli
NOMAN= yes
@@ -24,7 +24,6 @@
Object \
MCParser \
BitReader \
- JIT \
MCJIT \
RuntimeDyld \
Instrumentation \
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/bin/llvm-ar/Makefile
--- a/external/bsd/llvm/bin/llvm-ar/Makefile Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/bin/llvm-ar/Makefile Thu Jan 29 20:41:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2014/08/10 17:34:20 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2015/01/29 20:41:34 joerg Exp $
PROG_CXX= llvm-ar
NOMAN= yes
@@ -32,10 +32,12 @@
SparcAsmParser \
SparcAsmPrinter \
X86AsmParser \
+ X86CodeGen \
X86MCTargetDesc \
X86AsmPrinter \
X86Utils \
X86TargetInfo \
+ CodeGen \
MCDisassembler \
Object \
MCParser \
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/bin/llvm-cov/Makefile
--- a/external/bsd/llvm/bin/llvm-cov/Makefile Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/bin/llvm-cov/Makefile Thu Jan 29 20:41:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2014/08/10 17:34:20 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2015/01/29 20:41:34 joerg Exp $
PROG_CXX= llvm-cov
NOMAN= yes
@@ -8,9 +8,18 @@
.PATH: ${LLVM_SRCDIR}/tools/llvm-cov
SRCS= gcov.cpp \
- llvm-cov.cpp
+ llvm-cov.cpp \
+ CodeCoverage.cpp \
+ CoverageFilters.cpp \
+ CoverageReport.cpp \
+ CoverageSummary.cpp \
+ CoverageSummaryInfo.cpp \
+ SourceCoverageView.cpp \
+ TestingSupport.cpp
LLVM_LIBS+= \
+ ProfileData \
+ Object \
IR \
Support
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/bin/llvm-mc/Makefile
--- a/external/bsd/llvm/bin/llvm-mc/Makefile Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/bin/llvm-mc/Makefile Thu Jan 29 20:41:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2014/08/10 17:34:20 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2015/01/29 20:41:34 joerg Exp $
PROG_CXX= llvm-mc
NOMAN= yes
@@ -43,10 +43,10 @@
SparcMCTargetDesc \
SparcDisassembler \
SparcAsmPrinter \
+ X86AsmParser \
X86CodeGen \
X86TargetInfo \
X86MCTargetDesc \
- X86AsmParser \
X86Disassembler \
X86AsmPrinter \
X86Utils \
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/bin/llvm-nm/Makefile
--- a/external/bsd/llvm/bin/llvm-nm/Makefile Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/bin/llvm-nm/Makefile Thu Jan 29 20:41:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2014/08/10 17:34:20 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2015/01/29 20:41:34 joerg Exp $
PROG_CXX= llvm-nm
NOMAN= yes
@@ -32,10 +32,12 @@
SparcAsmParser \
SparcAsmPrinter \
X86AsmParser \
+ X86CodeGen \
X86MCTargetDesc \
X86AsmPrinter \
X86Utils \
X86TargetInfo \
+ CodeGen \
MCDisassembler \
Object \
MCParser \
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/bin/llvm-objdump/Makefile
--- a/external/bsd/llvm/bin/llvm-objdump/Makefile Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/bin/llvm-objdump/Makefile Thu Jan 29 20:41:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2014/08/10 17:34:20 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2015/01/29 20:41:34 joerg Exp $
PROG_CXX= llvm-objdump
NOMAN= yes
@@ -41,16 +41,17 @@
SparcTargetInfo \
X86Disassembler \
X86AsmParser \
+ X86CodeGen \
X86MCTargetDesc \
X86AsmPrinter \
X86TargetInfo \
X86Utils \
+ CodeGen \
MCDisassembler \
DebugInfo \
Object \
BitReader \
MCParser \
- MCAnalysis \
MC \
IR \
Support
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/bin/opt/Makefile
--- a/external/bsd/llvm/bin/opt/Makefile Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/bin/opt/Makefile Thu Jan 29 20:41:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2014/08/10 17:34:20 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2015/01/29 20:41:34 joerg Exp $
PROG_CXX= opt
NOMAN= yes
@@ -60,6 +60,7 @@
InstCombine \
Instrumentation \
ScalarOpts \
+ ProfileData \
Analysis \
MC \
TransformsUtils \
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/config/clang/Config/config.h
--- a/external/bsd/llvm/config/clang/Config/config.h Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/config/clang/Config/config.h Thu Jan 29 20:41:33 2015 +0000
@@ -9,15 +9,15 @@
/* Bug report URL. */
#define BUG_REPORT_URL "http://llvm.org/bugs/"
+/* Multilib suffix for libdir. */
+#define CLANG_LIBDIR_SUFFIX ""
+
/* Relative directory for resource files */
#define CLANG_RESOURCE_DIR ""
/* Directories clang will search for headers */
#define C_INCLUDE_DIRS "/usr/include/clang-3.6:/usr/include"
-/* Linker version detected at compile time. */
-#define HOST_LINK_VERSION "1"
-
/* Default <path> to all compiler invocations for --sysroot=<path>. */
#define DEFAULT_SYSROOT ""
@@ -32,4 +32,7 @@
/* The LLVM product name and version */
#define BACKEND_PACKAGE_STRING PACKAGE_STRING
+/* Linker version detected at compile time. */
+#define HOST_LINK_VERSION "1"
+
#endif
diff -r 0f80b349a787 -r 173b7ee85ae3 external/bsd/llvm/config/llvm/Config/config.h.in
--- a/external/bsd/llvm/config/llvm/Config/config.h.in Thu Jan 29 20:30:02 2015 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h.in Thu Jan 29 20:41:33 2015 +0000
@@ -10,6 +10,9 @@
/* Define if we have libxml2 */
/* #undef CLANG_HAVE_LIBXML */
+/* Multilib suffix for libdir. */
Home |
Main Index |
Thread Index |
Old Index