pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang
Module Name: pkgsrc
Committed By: adam
Date: Wed Mar 27 06:24:22 UTC 2019
Modified Files:
pkgsrc/lang: Makefile
pkgsrc/lang/clang: Makefile Makefile.common
pkgsrc/lang/clang-static-analyzer: Makefile
Added Files:
pkgsrc/lang/clang-tools-extra: DESCR Makefile PLIST distinfo
pkgsrc/lang/clang-tools-extra/patches:
patch-tools_extra_clangd_CMakeLists.txt
Log Message:
clang-tools-extra: added version 7.0.1
Extra tools built using Clang's tooling APIs.
To generate a diff of this commit:
cvs rdiff -u -r1.511 -r1.512 pkgsrc/lang/Makefile
cvs rdiff -u -r1.47 -r1.48 pkgsrc/lang/clang/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/lang/clang/Makefile.common
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/clang-static-analyzer/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/clang-tools-extra/DESCR \
pkgsrc/lang/clang-tools-extra/Makefile \
pkgsrc/lang/clang-tools-extra/PLIST \
pkgsrc/lang/clang-tools-extra/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/clang-tools-extra/patches/patch-tools_extra_clangd_CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/Makefile
diff -u pkgsrc/lang/Makefile:1.511 pkgsrc/lang/Makefile:1.512
--- pkgsrc/lang/Makefile:1.511 Tue Mar 26 20:50:01 2019
+++ pkgsrc/lang/Makefile Wed Mar 27 06:24:22 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.511 2019/03/26 20:50:01 ryoon Exp $
+# $NetBSD: Makefile,v 1.512 2019/03/27 06:24:22 adam Exp $
#
COMMENT= Programming languages
@@ -30,6 +30,7 @@ SUBDIR+= cim
SUBDIR+= cint
SUBDIR+= clang
SUBDIR+= clang-static-analyzer
+SUBDIR+= clang-tools-extra
SUBDIR+= classpath
SUBDIR+= classpath-gui
SUBDIR+= clisp
Index: pkgsrc/lang/clang/Makefile
diff -u pkgsrc/lang/clang/Makefile:1.47 pkgsrc/lang/clang/Makefile:1.48
--- pkgsrc/lang/clang/Makefile:1.47 Wed Jan 23 15:44:34 2019
+++ pkgsrc/lang/clang/Makefile Wed Mar 27 06:24:22 2019
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.47 2019/01/23 15:44:34 jperkin Exp $
+# $NetBSD: Makefile,v 1.48 2019/03/27 06:24:22 adam Exp $
+
+.include "../../lang/clang/Makefile.common"
PKGNAME= ${DISTNAME:S/.src//:S/cfe/clang/}
PKGREVISION= 1
@@ -10,4 +12,4 @@ CMAKE_ARGS+= -DCLANG_ENABLE_STATIC_ANALY
# We don't want to add a python runtime dependency for that.
CHECK_INTERPRETER_SKIP+= share/clang/*
-.include "../../lang/clang/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/clang/Makefile.common
diff -u pkgsrc/lang/clang/Makefile.common:1.30 pkgsrc/lang/clang/Makefile.common:1.31
--- pkgsrc/lang/clang/Makefile.common:1.30 Sun Dec 23 00:11:39 2018
+++ pkgsrc/lang/clang/Makefile.common Wed Mar 27 06:24:22 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile.common,v 1.30 2018/12/23 00:11:39 adam Exp $
+# $NetBSD: Makefile.common,v 1.31 2019/03/27 06:24:22 adam Exp $
# used by lang/clang/Makefile
# used by lang/clang-static-analyzer/Makefile
+# used by lang/clang-tools-extra/Makefile
DISTNAME= cfe-7.0.1.src
CATEGORIES= lang devel
@@ -12,8 +13,6 @@ HOMEPAGE= http://clang.llvm.org/
COMMENT= C language family frontend for LLVM
LICENSE= modified-bsd
-DISTINFO_FILE= ${.CURDIR}/../../lang/clang/distinfo
-PATCHDIR= ${.CURDIR}/../../lang/clang/patches
CONFIGURE_DIRS= ${WRKDIR}/build
CMAKE_ARG_PATH= ${WRKSRC}
@@ -138,4 +137,3 @@ post-extract:
.include "../../lang/python/tool.mk"
DEPENDS+= llvm-${PKGVERSION_NOREV}{,nb*}:../../lang/llvm
.include "../../lang/llvm/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/clang-static-analyzer/Makefile
diff -u pkgsrc/lang/clang-static-analyzer/Makefile:1.10 pkgsrc/lang/clang-static-analyzer/Makefile:1.11
--- pkgsrc/lang/clang-static-analyzer/Makefile:1.10 Sun Dec 9 20:04:38 2018
+++ pkgsrc/lang/clang-static-analyzer/Makefile Wed Mar 27 06:24:22 2019
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2018/12/09 20:04:38 adam Exp $
+# $NetBSD: Makefile,v 1.11 2019/03/27 06:24:22 adam Exp $
+
+.include "../../lang/clang/Makefile.common"
PKGNAME= ${DISTNAME:S/cfe/clang-static-analyzer/:S/.src//}
@@ -6,6 +8,9 @@ DEPENDS+= clang-${PKGVERSION_NOREV}{,nb*
USE_TOOLS+= perl:run
+DISTINFO_FILE?= ${.CURDIR}/../../lang/clang/distinfo
+PATCHDIR?= ${.CURDIR}/../../lang/clang/patches
+
BUILD_TARGET= clang-check scan-build scan-view
INSTALL_DIRS= ../build/tools/clang-check ../build/tools/scan-build ../build/tools/scan-view
@@ -14,4 +19,4 @@ CMAKE_ARGS+= -DCLANG_ENABLE_STATIC_ANALY
PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 5.0.1
.include "../../lang/python/pyversion.mk"
-.include "../../lang/clang/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
Added files:
Index: pkgsrc/lang/clang-tools-extra/DESCR
diff -u /dev/null pkgsrc/lang/clang-tools-extra/DESCR:1.1
--- /dev/null Wed Mar 27 06:24:22 2019
+++ pkgsrc/lang/clang-tools-extra/DESCR Wed Mar 27 06:24:22 2019
@@ -0,0 +1 @@
+Extra tools built using Clang's tooling APIs.
Index: pkgsrc/lang/clang-tools-extra/Makefile
diff -u /dev/null pkgsrc/lang/clang-tools-extra/Makefile:1.1
--- /dev/null Wed Mar 27 06:24:22 2019
+++ pkgsrc/lang/clang-tools-extra/Makefile Wed Mar 27 06:24:22 2019
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2019/03/27 06:24:22 adam Exp $
+
+.include "../../lang/clang/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/cfe/clang-tools-extra/:S/.src//}
+
+COMMENT= Extra Clang tools
+
+DISTFILES+= ${DEFAULT_DISTFILES}
+DISTFILES+= ${DISTNAME:S/cfe/clang-tools-extra/}${EXTRACT_SUFX}
+
+DISTINFO_FILE= ${.CURDIR}/distinfo
+
+BUILD_TARGET= clang-change-namespace clang-apply-replacements clang-doc
+BUILD_TARGET+= clang-include-fixer clang-move clang-query clang-reorder-fields
+BUILD_TARGET+= clang-tidy clangd modularize pp-trace tool-template
+INSTALL_DIRS= ../build/tools/extra
+
+CMAKE_ARGS+= -DCLANG_ENABLE_STATIC_ANALYZER=ON
+
+REPLACE_PYTHON+= tools/extra/clang-tidy/tool/clang-tidy-diff.py
+REPLACE_PYTHON+= tools/extra/clang-tidy/tool/run-clang-tidy.py
+REPLACE_PYTHON+= tools/extra/include-fixer/find-all-symbols/tool/run-find-all-symbols.py
+
+.PHONY: inject-clang-tools
+post-extract: inject-clang-tools
+inject-clang-tools:
+ mv ${WRKDIR}/${DISTNAME:S/cfe/clang-tools-extra/} ${WRKSRC}/tools/extra
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/clang-tools-extra/PLIST
diff -u /dev/null pkgsrc/lang/clang-tools-extra/PLIST:1.1
--- /dev/null Wed Mar 27 06:24:22 2019
+++ pkgsrc/lang/clang-tools-extra/PLIST Wed Mar 27 06:24:22 2019
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/27 06:24:22 adam Exp $
+bin/clang-apply-replacements
+bin/clang-change-namespace
+bin/clang-include-fixer
+bin/clang-query
+bin/clang-reorder-fields
+bin/clang-tidy
+bin/clangd
+bin/find-all-symbols
+bin/modularize
+lib/libclangApplyReplacements.a
+lib/libclangChangeNamespace.a
+lib/libclangDaemon.a
+lib/libclangDoc.a
+lib/libclangIncludeFixer.a
+lib/libclangIncludeFixerPlugin.a
+lib/libclangMove.a
+lib/libclangQuery.a
+lib/libclangReorderFields.a
+lib/libclangTidy.a
+lib/libclangTidyAbseilModule.a
+lib/libclangTidyAndroidModule.a
+lib/libclangTidyBoostModule.a
+lib/libclangTidyBugproneModule.a
+lib/libclangTidyCERTModule.a
+lib/libclangTidyCppCoreGuidelinesModule.a
+lib/libclangTidyFuchsiaModule.a
+lib/libclangTidyGoogleModule.a
+lib/libclangTidyHICPPModule.a
+lib/libclangTidyLLVMModule.a
+lib/libclangTidyMPIModule.a
+lib/libclangTidyMiscModule.a
+lib/libclangTidyModernizeModule.a
+lib/libclangTidyObjCModule.a
+lib/libclangTidyPerformanceModule.a
+lib/libclangTidyPlugin.a
+lib/libclangTidyPortabilityModule.a
+lib/libclangTidyReadabilityModule.a
+lib/libclangTidyUtils.a
+lib/libclangTidyZirconModule.a
+lib/libfindAllSymbols.a
+share/clang/clang-include-fixer.el
+share/clang/clang-include-fixer.py
+share/clang/clang-tidy-diff.py
+share/clang/run-clang-tidy.py
+share/clang/run-find-all-symbols.py
Index: pkgsrc/lang/clang-tools-extra/distinfo
diff -u /dev/null pkgsrc/lang/clang-tools-extra/distinfo:1.1
--- /dev/null Wed Mar 27 06:24:22 2019
+++ pkgsrc/lang/clang-tools-extra/distinfo Wed Mar 27 06:24:22 2019
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1 2019/03/27 06:24:22 adam Exp $
+
+SHA1 (cfe-7.0.1.src.tar.xz) = 427e12762836d808583fb4149c033d02de0a8db2
+RMD160 (cfe-7.0.1.src.tar.xz) = 914adafed7c97e5ebab15a437670906c404cb8bd
+SHA512 (cfe-7.0.1.src.tar.xz) = df2f38153ebdc261bcfa6a569567f759bbb1a803192882a9d4eca55a47878166ac9057151a94ad341dc1281136547e4faa783a68070dfde2307b48cacd4b9194
+Size (cfe-7.0.1.src.tar.xz) = 12488668 bytes
+SHA1 (clang-tools-extra-7.0.1.src.tar.xz) = 6f4048482c4cf1818133120565c2dcd1d3a62747
+RMD160 (clang-tools-extra-7.0.1.src.tar.xz) = d0ec60e76157a99e7d6d5f04f7b7eda56ba450da
+SHA512 (clang-tools-extra-7.0.1.src.tar.xz) = f0aa73217560f952261201e9049310e4a038bc5d4b4120a4c5d13a42aacfbbfe702f1891745755e1702269751d3df19237271caecba43c810a6f50d35494c798
+Size (clang-tools-extra-7.0.1.src.tar.xz) = 901368 bytes
+SHA1 (patch-tools_extra_clangd_CMakeLists.txt) = f075acff791edd9b05e98c5297c1f8fde06ae9fe
Index: pkgsrc/lang/clang-tools-extra/patches/patch-tools_extra_clangd_CMakeLists.txt
diff -u /dev/null pkgsrc/lang/clang-tools-extra/patches/patch-tools_extra_clangd_CMakeLists.txt:1.1
--- /dev/null Wed Mar 27 06:24:23 2019
+++ pkgsrc/lang/clang-tools-extra/patches/patch-tools_extra_clangd_CMakeLists.txt Wed Mar 27 06:24:22 2019
@@ -0,0 +1,16 @@
+$NetBSD: patch-tools_extra_clangd_CMakeLists.txt,v 1.1 2019/03/27 06:24:22 adam Exp $
+
+Do not look for libatomic.
+
+--- tools/extra/clangd/CMakeLists.txt.orig 2019-03-25 08:39:03.000000000 +0000
++++ tools/extra/clangd/CMakeLists.txt
+@@ -3,9 +3,6 @@ set(LLVM_LINK_COMPONENTS
+ )
+
+ set(CLANGD_ATOMIC_LIB "")
+-if(NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)
+- list(APPEND CLANGD_ATOMIC_LIB "atomic")
+-endif()
+
+ add_clang_library(clangDaemon
+ AST.cpp
Home |
Main Index |
Thread Index |
Old Index