pkgsrc-WIP-changes archive

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

lldb-git: Strip down package for lldb exclusively



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Nov 27 02:46:40 2015 +0100
Changeset:	028c966fff2344ac240385e90de8835e1c511693

Modified Files:
	lldb-git/Makefile

Log Message:
lldb-git: Strip down package for lldb exclusively

This will brak this package again, as there is need to upstream building
against out-of-sources installed llvm and clang.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=028c966fff2344ac240385e90de8835e1c511693

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lldb-git/Makefile | 89 ++++---------------------------------------------------
 1 file changed, 6 insertions(+), 83 deletions(-)

diffs:
diff --git a/lldb-git/Makefile b/lldb-git/Makefile
index b2f0921..0093ff4 100644
--- a/lldb-git/Makefile
+++ b/lldb-git/Makefile
@@ -1,19 +1,14 @@
 # $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
-#
-# This is a dummy package - only for lldb/llvm porting efforts
-# It will conflict with clang and llvm packages
 
 PKGNAME=	lldb-3.7.0
 CATEGORIES=	lang devel
 
-GIT_REPOSITORIES=	llvm lldb clang
-GIT_REPO.llvm=		git://github.com/llvm-mirror/llvm.git
-GIT_REPO.clang=		git://github.com/llvm-mirror/clang.git
+GIT_REPOSITORIES=	lldb
 GIT_REPO.lldb=		git://github.com/llvm-mirror/lldb.git
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://lldb.org/
-COMMENT=	Low Level Virtual Machine compiler infrastructure
+COMMENT=	next generation, high-performance debugger
 LICENSE=	modified-bsd
 
 WRKSRC=			${WRKDIR}/build
@@ -26,59 +21,13 @@ CHECK_PORTABILITY_SKIP=	utils/buildit/build_llvm
 
 PY_PATCHPLIST=		yes
 
-REPLACE_PERL+=		${WRKDIR}/llvm/tools/clang/test/make_test_dirs.pl
-REPLACE_PERL+=		${WRKDIR}/llvm/tools/clang/tools/scan-build/bin/scan-build
-REPLACE_PERL+=		${WRKDIR}/llvm/tools/clang/tools/scan-build/libexec/c++-analyzer
-REPLACE_PERL+=		${WRKDIR}/llvm/tools/clang/tools/scan-build/libexec/ccc-analyzer
-REPLACE_PERL+=		${WRKDIR}/llvm/tools/clang/utils/TestUtils/pch-test.pl
-REPLACE_PERL+=		${WRKDIR}/llvm/tools/clang/utils/analyzer/reducer.pl
-REPLACE_PERL+=		${WRKDIR}/llvm/tools/clang/utils/analyzer/update_plist_test.pl
-REPLACE_PERL+=		${WRKDIR}/llvm/tools/clang/www/demo/index.cgi
 REPLACE_PERL+=		${WRKDIR}/llvm/tools/lldb/packages/Python/lldbsuite/test/attic/dotest.pl
 REPLACE_PERL+=		${WRKDIR}/llvm/tools/lldb/scripts/build-llvm.pl
 REPLACE_PERL+=		${WRKDIR}/llvm/tools/lldb/scripts/checkpoint-llvm.pl
 REPLACE_PERL+=		${WRKDIR}/llvm/tools/lldb/scripts/disasm-gdb-remote.pl
 REPLACE_PERL+=		${WRKDIR}/llvm/tools/lldb/scripts/generate-vers.pl
 REPLACE_PERL+=		${WRKDIR}/llvm/tools/lldb/scripts/sed-sources
-REPLACE_PERL+=		${WRKDIR}/llvm/utils/GenLibDeps.pl
-REPLACE_PERL+=		${WRKDIR}/llvm/utils/UpdateCMakeLists.pl
-REPLACE_PERL+=		${WRKDIR}/llvm/utils/codegen-diff
-REPLACE_PERL+=		${WRKDIR}/llvm/utils/findsym.pl
-REPLACE_PERL+=		${WRKDIR}/llvm/utils/llvm-native-gxx
-REPLACE_PERL+=		${WRKDIR}/llvm/utils/test_debuginfo.pl
-
-REPLACE_PYTHON+=	${WRKDIR}/llvm/examples/Kaleidoscope/MCJIT/cached/genk-timing.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/examples/Kaleidoscope/MCJIT/cached/split-lib.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/examples/Kaleidoscope/MCJIT/complete/genk-timing.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/examples/Kaleidoscope/MCJIT/complete/split-lib.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/examples/Kaleidoscope/MCJIT/lazy/genk-timing.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/test/BugPoint/compile-custom.ll.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/test/tools/llvm-readobj/Inputs/relocs.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/bindings/python/examples/cindex/cindex-dump.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/bindings/python/examples/cindex/cindex-includes.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/docs/tools/dump_ast_matchers.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/docs/tools/dump_format_style.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/tools/clang-format/clang-format-diff.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/tools/clang-format/git-clang-format
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/tools/scan-build/bin/set-xcode-analyzer
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/tools/scan-view/bin/scan-view
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/ABITest/ABITestGen.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/CIndex/completion_logger_server.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/CaptureCmd
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/CmpDriver
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/FindSpecRefs
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/FuzzTest
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/TestUtils/deep-stack.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/analyzer/CmpRuns.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/analyzer/SATestAdd.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/analyzer/SATestBuild.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/analyzer/SumTimerInfo.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/analyzer/ubiviz
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/check_cfc/check_cfc.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/check_cfc/obj_diff.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/check_cfc/test_check_cfc.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/utils/token-delta.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/clang/www/builtins.py
+
 REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/lldb/examples/darwin/heap_find/heap.py
 REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/lldb/examples/python/cmdtemplate.py
 REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/lldb/examples/python/crashlog.py
@@ -150,32 +99,6 @@ REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/lldb/utils/test/llvm-mc-shell.py
 REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/lldb/utils/test/ras.py
 REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/lldb/utils/test/run-dis.py
 REPLACE_PYTHON+=	${WRKDIR}/llvm/tools/lldb/utils/test/run-until-faulted.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/Misc/zkill
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/Target/ARM/analyze-match-table.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/bisect
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/clang-parse-diagnostics-file
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/create_ladder_graph.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/git/find-rev
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/lint/common_lint.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/lint/cpp_lint.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/lint/generic_lint.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/lit/lit.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/lit/lit/ProgressBar.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/lit/lit/main.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/llvm-build/llvm-build
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/llvm-compilers-check
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/llvm-lit/llvm-lit.in
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/release/findRegressions-nightly.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/release/findRegressions-simple.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/schedcover.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/shuffle_fuzz.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/sort_includes.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/testgen/mc-bundling-x86-gen.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/update_llc_test_checks.py
-REPLACE_PYTHON+=	${WRKDIR}/llvm/utils/wciia.py
-
-BUILD_TARGET=		lldb lldb-mi
 
 TEST_TARGET=		check-lldb
 TEST_ENV+=		LD_LIBRARY_PATH=${WRKSRC}/lib
@@ -193,14 +116,14 @@ CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=g++
 # Try to optimize building LLVM for now.
 CMAKE_ARGS+=	-DLLVM_TARGETS_TO_BUILD="X86"
 
-CMAKE_ARG_PATH=	${WRKDIR}/llvm
+CMAKE_ARG_PATH=	${WRKDIR}/lldb
 
 post-extract:
 	${RUN} mkdir -p ${WRKSRC}
-	${RUN} mv ${WRKDIR}/clang/ ${WRKDIR}/llvm/tools
-	${RUN} mv ${WRKDIR}/lldb/ ${WRKDIR}/llvm/tools
 
 .include "../../textproc/libxml2/buildlink3.mk"
+.include "../../wip/llvm-git/buildlink3.mk"
+.include "../../wip/clang-git/buildlink3.mk"
 .include "../../wip/mk/git-package.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../lang/python/extension.mk"


Home | Main Index | Thread Index | Old Index