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 Jul  1 14:46:37 UTC 2020

Modified Files:
        pkgsrc/lang: Makefile
        pkgsrc/lang/clang: Makefile Makefile.common PLIST
        pkgsrc/lang/llvm: Makefile version.mk
Added Files:
        pkgsrc/lang/clang: PLIST.Darwin
Removed Files:
        pkgsrc/lang/clang-static-analyzer: DESCR Makefile PLIST PLIST.Darwin

Log Message:
clang: build with static analizer (default and needed for clang-tools-extra); remove clang-static-analyzer


To generate a diff of this commit:
cvs rdiff -u -r1.568 -r1.569 pkgsrc/lang/Makefile
cvs rdiff -u -r1.56 -r1.57 pkgsrc/lang/clang/Makefile
cvs rdiff -u -r1.44 -r1.45 pkgsrc/lang/clang/Makefile.common
cvs rdiff -u -r1.29 -r1.30 pkgsrc/lang/clang/PLIST
cvs rdiff -u -r0 -r1.5 pkgsrc/lang/clang/PLIST.Darwin
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/clang-static-analyzer/DESCR
cvs rdiff -u -r1.18 -r0 pkgsrc/lang/clang-static-analyzer/Makefile
cvs rdiff -u -r1.2 -r0 pkgsrc/lang/clang-static-analyzer/PLIST \
    pkgsrc/lang/clang-static-analyzer/PLIST.Darwin
cvs rdiff -u -r1.55 -r1.56 pkgsrc/lang/llvm/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/llvm/version.mk

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.568 pkgsrc/lang/Makefile:1.569
--- pkgsrc/lang/Makefile:1.568  Tue Jun 30 13:16:14 2020
+++ pkgsrc/lang/Makefile        Wed Jul  1 14:46:36 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.568 2020/06/30 13:16:14 nia Exp $
+# $NetBSD: Makefile,v 1.569 2020/07/01 14:46:36 adam Exp $
 #
 
 COMMENT=       Programming languages
@@ -30,7 +30,6 @@ SUBDIR+=      chicken5
 SUBDIR+=       cim
 SUBDIR+=       cint
 SUBDIR+=       clang
-SUBDIR+=       clang-static-analyzer
 SUBDIR+=       clang-tools-extra
 SUBDIR+=       classpath
 SUBDIR+=       classpath-gui

Index: pkgsrc/lang/clang/Makefile
diff -u pkgsrc/lang/clang/Makefile:1.56 pkgsrc/lang/clang/Makefile:1.57
--- pkgsrc/lang/clang/Makefile:1.56     Tue Jun  2 08:22:45 2020
+++ pkgsrc/lang/clang/Makefile  Wed Jul  1 14:46:37 2020
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.56 2020/06/02 08:22:45 adam Exp $
+# $NetBSD: Makefile,v 1.57 2020/07/01 14:46:37 adam Exp $
 
 .include "Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/.src//}
-PKGREVISION=   2
-
-CMAKE_ARGS+=   -DCLANG_ENABLE_STATIC_ANALYZER=OFF
+PKGREVISION=   3
 
 PYTHON_FOR_BUILD_ONLY= yes
 

Index: pkgsrc/lang/clang/Makefile.common
diff -u pkgsrc/lang/clang/Makefile.common:1.44 pkgsrc/lang/clang/Makefile.common:1.45
--- pkgsrc/lang/clang/Makefile.common:1.44      Thu May  7 20:21:41 2020
+++ pkgsrc/lang/clang/Makefile.common   Wed Jul  1 14:46:37 2020
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile.common,v 1.44 2020/05/07 20:21:41 rillig Exp $
+# $NetBSD: Makefile.common,v 1.45 2020/07/01 14:46:37 adam Exp $
 # used by lang/clang/Makefile
-# used by lang/clang-static-analyzer/Makefile
 # used by lang/clang-tools-extra/Makefile
 
 .include "../../lang/llvm/version.mk"
@@ -24,8 +23,6 @@ CMAKE_ARGS+=  -DLLVM_CONFIG=${LLVM_CONFIG
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
 CMAKE_ARGS+=   -DCMAKE_C_COMPILER=${CC:Q}
 CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=${CXX:Q}
-# XXX can't disable static-analyzer without also disabling ARCMT
-CMAKE_ARGS+=   -DCLANG_ENABLE_ARCMT=OFF
 
 .include "../../mk/compiler.mk"
 

Index: pkgsrc/lang/clang/PLIST
diff -u pkgsrc/lang/clang/PLIST:1.29 pkgsrc/lang/clang/PLIST:1.30
--- pkgsrc/lang/clang/PLIST:1.29        Sat Apr 18 10:49:57 2020
+++ pkgsrc/lang/clang/PLIST     Wed Jul  1 14:46:37 2020
@@ -1,10 +1,12 @@
-@comment $NetBSD: PLIST,v 1.29 2020/04/18 10:49:57 adam Exp $
+@comment $NetBSD: PLIST,v 1.30 2020/07/01 14:46:37 adam Exp $
 bin/c-index-test
 bin/clang
 bin/clang++
 bin/clang-10
+bin/clang-check
 bin/clang-cl
 bin/clang-cpp
+bin/clang-extdef-mapping
 bin/clang-format
 bin/clang-import-test
 bin/clang-offload-bundler
@@ -15,6 +17,8 @@ bin/clang-scan-deps
 bin/diagtool
 bin/git-clang-format
 bin/hmaptool
+bin/scan-build
+bin/scan-view
 include/clang-c/BuildSystem.h
 include/clang-c/CXCompilationDatabase.h
 include/clang-c/CXErrorCode.h
@@ -773,6 +777,7 @@ lib/libclang-cpp.${SOEXT}
 ${PLIST.notdylib}lib/libclang-cpp.${SOEXT}.10
 lib/libclang.${SOEXT}
 ${PLIST.notdylib}lib/libclang.${SOEXT}.10
+lib/libclangARCMigrate.a
 lib/libclangAST.a
 lib/libclangASTMatchers.a
 lib/libclangAnalysis.a
@@ -796,6 +801,9 @@ lib/libclangRewrite.a
 lib/libclangRewriteFrontend.a
 lib/libclangSema.a
 lib/libclangSerialization.a
+lib/libclangStaticAnalyzerCheckers.a
+lib/libclangStaticAnalyzerCore.a
+lib/libclangStaticAnalyzerFrontend.a
 lib/libclangTooling.a
 lib/libclangToolingASTDiff.a
 lib/libclangToolingCore.a
@@ -803,6 +811,9 @@ lib/libclangToolingInclusions.a
 lib/libclangToolingRefactoring.a
 lib/libclangToolingSyntax.a
 lib/libclangTransformer.a
+libexec/c++-analyzer
+libexec/ccc-analyzer
+man/man1/scan-build.1
 share/clang/bash-autocomplete.sh
 share/clang/clang-format-bbedit.applescript
 share/clang/clang-format-diff.py
@@ -811,3 +822,11 @@ share/clang/clang-format.el
 share/clang/clang-format.py
 share/clang/clang-rename.el
 share/clang/clang-rename.py
+share/scan-build/scanview.css
+share/scan-build/sorttable.js
+share/scan-view/FileRadar.scpt
+share/scan-view/GetRadarVersion.scpt
+share/scan-view/Reporter.py
+share/scan-view/ScanView.py
+share/scan-view/bugcatcher.ico
+share/scan-view/startfile.py

Index: pkgsrc/lang/llvm/Makefile
diff -u pkgsrc/lang/llvm/Makefile:1.55 pkgsrc/lang/llvm/Makefile:1.56
--- pkgsrc/lang/llvm/Makefile:1.55      Tue Jun  2 08:24:12 2020
+++ pkgsrc/lang/llvm/Makefile   Wed Jul  1 14:46:36 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2020/06/02 08:24:12 adam Exp $
+# $NetBSD: Makefile,v 1.56 2020/07/01 14:46:36 adam Exp $
 #
 # when updating this, please also update:
 # devel/include-what-you-use
@@ -6,7 +6,6 @@
 # devel/lldb
 # devel/polly
 # lang/clang
-# lang/clang-static-analyzer
 # lang/clang-tools-extra
 # lang/compiler-rt
 # lang/libcxx

Index: pkgsrc/lang/llvm/version.mk
diff -u pkgsrc/lang/llvm/version.mk:1.2 pkgsrc/lang/llvm/version.mk:1.3
--- pkgsrc/lang/llvm/version.mk:1.2     Sat Apr 18 07:50:18 2020
+++ pkgsrc/lang/llvm/version.mk Wed Jul  1 14:46:36 2020
@@ -1,9 +1,8 @@
-# $NetBSD: version.mk,v 1.2 2020/04/18 07:50:18 adam Exp $
+# $NetBSD: version.mk,v 1.3 2020/07/01 14:46:36 adam Exp $
 # used by devel/lld
 # used by devel/lldb
 # used by devel/polly
 # used by lang/clang
-# used by lang/clang-static-analyzer
 # used by lang/clang-tools-extra
 # used by lang/compiler-rt
 # used by lang/libcxx

Added files:

Index: pkgsrc/lang/clang/PLIST.Darwin
diff -u /dev/null pkgsrc/lang/clang/PLIST.Darwin:1.5
--- /dev/null   Wed Jul  1 14:46:37 2020
+++ pkgsrc/lang/clang/PLIST.Darwin      Wed Jul  1 14:46:37 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.Darwin,v 1.5 2020/07/01 14:46:37 adam Exp $
+bin/set-xcode-analyzer



Home | Main Index | Thread Index | Old Index