Remove the TableGen library from libLLVM. It's only needed for the tblgen
authorpatrick <patrick@openbsd.org>
Thu, 5 Aug 2021 22:32:45 +0000 (22:32 +0000)
committerpatrick <patrick@openbsd.org>
Thu, 5 Aug 2021 22:32:45 +0000 (22:32 +0000)
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@

gnu/usr.bin/clang/libLLVM/Makefile
gnu/usr.bin/clang/libLLVM/shlib_version
gnu/usr.bin/clang/libLLVMTableGen/Makefile.shared [deleted file]

index fee57ee..8de3140 100644 (file)
@@ -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/libLLVMTableGen/Makefile.shared b/gnu/usr.bin/clang/libLLVMTableGen/Makefile.shared
deleted file mode 100644 (file)
index bba9dc7..0000000
+++ /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