Ericsson / clang

Cross Translation Unit analysis capability for Clang Static Analyzer. (Fork of official clang at http://llvm.org/git/clang)
http://clang.llvm.org/
Other
15 stars 10 forks source link

create buildbot for CTU analysis #558

Closed dkrupp closed 4 years ago

dkrupp commented 5 years ago

we have a VM already in azure. take it over from Lorinc

dkrupp commented 5 years ago

depends on #509

dkrupp commented 5 years ago

For TMUX we need teh followign patches https://reviews.llvm.org/D53818 Balazs will commit this.

Endre to try master version on curl or any other project that may work.

dkrupp commented 5 years ago

-we tried to analyze curl with scan-build -scan-build needs to be patched to remove -Werror-incompatible... from the build commands -> TODO: patch to be created -When the above was done, there were assertions -> TODO: which patches are needed to get rid off these asserts?

-scan-build logging is outdated: There are problems with " and whitespaces -> We will patch this??

-git was investigated, but scan-build cannot log it.

try CODECHECKER for the buildbot (tmux/curl/... analyis) we dont' want to patch scan-build.

dkrupp commented 5 years ago

-ODR errors to warnings patch to be created in phabricator -now curl has 3 remaining crashes investigate why. -create patch for CodeChecker to recognize clang8 clangExtDefMapping binary name

gamesh411 commented 5 years ago

OS patch in 2 parts: https://reviews.llvm.org/D58897 https://reviews.llvm.org/D59761

dkrupp commented 5 years ago

-vm is started -rewriting to codechecker anlayze is ongoing

dkrupp commented 5 years ago

-there is some issue with the git cloning. once it is resovled we can connect this to central buildbot network.

gamesh411 commented 5 years ago

Current prototype is running at: http://13.90.81.45:8010/ the sources are located in a git repo: https://github.com/gamesh411/llvm-ctu-ci-prototype Also I have sent a mail to the maintainer of the buildbot network.

gamesh411 commented 5 years ago

Phabricator patch for first part: https://reviews.llvm.org/D61848