diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2021-08-05 22:32:46 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2021-08-05 22:32:46 +0000 |
commit | 77ecefe735b6fca21ecfc4ac6d56b808c20cd837 (patch) | |
tree | 9e7422bc85fb3c7a099d561df81dcc76852c88ef | |
parent | b3744ca7ef36cb96e1ee8a71877c00f0d7572ff6 (diff) |
Remove the TableGen library from libLLVM. It's only needed for the tblgen
tools, and it also provides command line options and thus pollutes the name
space. This fixes duplicate command line options in llvm-objdump.
Discussed with jsg@
-rw-r--r-- | gnu/usr.bin/clang/libLLVM/Makefile | 1 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libLLVM/shlib_version | 2 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libLLVMTableGen/Makefile.shared | 25 |
3 files changed, 1 insertions, 27 deletions
diff --git a/gnu/usr.bin/clang/libLLVM/Makefile b/gnu/usr.bin/clang/libLLVM/Makefile index fee57eeee25..8de3140e859 100644 --- a/gnu/usr.bin/clang/libLLVM/Makefile +++ b/gnu/usr.bin/clang/libLLVM/Makefile @@ -49,7 +49,6 @@ .include "../libLLVMSelectionDAG/Makefile" .include "../libLLVMSupport/Makefile.shared" .include "../libLLVMSymbolize/Makefile" -.include "../libLLVMTableGen/Makefile.shared" .include "../libLLVMTarget/Makefile" .include "../libLLVMTextAPI/Makefile" .include "../libLLVMTransformUtils/Makefile" diff --git a/gnu/usr.bin/clang/libLLVM/shlib_version b/gnu/usr.bin/clang/libLLVM/shlib_version index 3066b9771e7..9c1551636c5 100644 --- a/gnu/usr.bin/clang/libLLVM/shlib_version +++ b/gnu/usr.bin/clang/libLLVM/shlib_version @@ -1,2 +1,2 @@ -major=5 +major=6 minor=0 diff --git a/gnu/usr.bin/clang/libLLVMTableGen/Makefile.shared b/gnu/usr.bin/clang/libLLVMTableGen/Makefile.shared deleted file mode 100644 index bba9dc737a9..00000000000 --- a/gnu/usr.bin/clang/libLLVMTableGen/Makefile.shared +++ /dev/null @@ -1,25 +0,0 @@ -# $OpenBSD: Makefile.shared,v 1.3 2021/04/28 12:55:40 patrick Exp $ - -LIB= LLVMTableGen - -NOPROFILE= - -CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/TableGen - - -SRCS+= TableGenError.cpp \ - JSONBackend.cpp \ - Main.cpp \ - Record.cpp \ - SetTheory.cpp \ - StringMatcher.cpp \ - TableGenBackend.cpp \ - TGLexer.cpp \ - TGParser.cpp - -TableGenError.cpp: - ln -s ${LLVM_SRCS}/lib/TableGen/Error.cpp $@ - -.PATH: ${.CURDIR}/../../../llvm/llvm/lib/TableGen - -CLEANFILES+= TableGenError.cpp |