-
Notifications
You must be signed in to change notification settings - Fork 206
Update LLVM to 11.1 #6691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update LLVM to 11.1 #6691
Conversation
|
A new Pull Request was created by @mrodozov (Mircho Rodozov) for branch IB/CMSSW_11_3_X/master. @cmsbuild, @smuzaffar, @mrodozov can you please review it and eventually sign? Thanks. |
|
please test |
|
-1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c0a525/13182/summary.html External BuildI found compilation error when building: call_subprocess(
File "/build/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc900/external/py3-pip/20.3.3/lib/python3.8/site-packages/pip/_internal/utils/subprocess.py", line 240, in call_subprocess
raise InstallationError(exc_msg)
pip._internal.exceptions.InstallationError: Command errored out with exit status 1: /build/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc900/external/python3/3.8.2-bcolbf/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/build/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_amd64_gcc900/external/py2-llvmlite/0.33.0-00294e2e5be24bf0759475cbe506703a/cmsdist-tmp/pip-req-build-92zvxjsw/setup.py'"'"'; __file__='"'"'/build/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_amd64_gcc900/external/py2-llvmlite/0.33.0-00294e2e5be24bf0759475cbe506703a/cmsdist-tmp/pip-req-build-92zvxjsw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /build/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_amd64_gcc900/external/py2-llvmlite/0.33.0-00294e2e5be24bf0759475cbe506703a/cmsdist-tmp/pip-record-n8fwnlri/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /build/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/00294e2e5be24bf0759475cbe506703a/opt/cmssw/slc7_amd64_gcc900/external/py2-llvmlite/0.33.0-00294e2e5be24bf0759475cbe506703a/include/python3.8/llvmlite Check the logs for full command output.
Removed build tracker: '/build/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_amd64_gcc900/external/py2-llvmlite/0.33.0-00294e2e5be24bf0759475cbe506703a/cmsdist-tmp/pip-req-tracker-1xsgj6tj'
error: Bad exit status from /build/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.kYud8a (%build)
RPM build errors:
Macro %rpmbuild_libdir defined but not used within scope
Bad exit status from /build/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.kYud8a (%build)
|
|
Pull request #6691 was updated. |
|
please test |
|
please test for slc7_aarch64_gcc9 |
|
please test for slc7_ppc64le_gcc9 |
|
@mrodozov , you need to issue please test for slc7_aarch64_gcc9 again. In one iteration bot only recognize the last command. Normally you have to wait for the bot to ack your last command before issuing the next one :-) |
|
please test for slc7_aarch64_gcc9 |
|
-1 Failed Tests: UnitTests Unit TestsI found errors in the following unit tests: ---> test test-clang-tidy had ERRORS ---> test testLLVMLite had ERRORS Comparison Summary@slava77 comparisons for the following workflows were not done due to missing matrix map:
Summary:
|
|
-1 Failed Tests: UnitTests RelVals Unit TestsI found errors in the following unit tests: ---> test testLLVMLite had ERRORS ---> test test-clang-tidy had ERRORS RelVals
|
|
-1 Failed Tests: UnitTests Unit TestsI found errors in the following unit tests: ---> test test-clang-tidy had ERRORS ---> test testLLVMLite had ERRORS |
|
please test with cms-sw/cmssw#33110 |
|
please test |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c0a525/13481/summary.html Comparison SummarySummary:
|
|
@cms-sw/externals-l2 can we merge this PR with cms-sw/cmssw#33110? Do we need cms-sw/cmssw#33136 too? |
|
cms-sw/cmssw#33110 and cms-sw/cmssw#33136 can and should be merged on their own . 33110 was updated to work with both llvm10 and 11 . I'll quote this (from above comments)
for which we have #6720 |
|
please test for CMSSW_11_3_CLANG_X |
|
@mrodozov , @silviodonato , once we have cms-sw/cmssw#33171 merged then all the new build warnings should go away and we can merge it directly in the master IB. |
|
-1 Failed Tests: HeaderConsistency Comparison SummarySummary:
|
|
+externals |
|
This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_11_3_X/master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
|
Hi @smuzaffar @mrodozov - did you look at clang-tidy changes due to this upgrade? I've noticed a few unexpected changes in the last day (eg, here was a change needed after an unrelated commit was pushed yesterday cms-sw/cmssw#33189 |
|
yes I did run clang-tidy and format for this, see the following comments Most of these are already reported by llvm 10 too. |
|
Hum, then I don’t understand the need for
cms-sw/cmssw@04a1e0b
That came one the second code-checks run of the PR on a file that wasn’t touched during the PR review..
Hopefully isolated:)
… On Mar 17, 2021, at 2:16 PM, Malik Shahzad Muzaffar ***@***.***> wrote:
yes I did run clang-tidy and format for this, see the following comments
#6691 (comment)
#6691 (comment)
Most of these are already reported by llvm 10 too.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
cms-sw/cmssw@04a1e0b is code format change. Looks like llvm 11 has improved on few formats . See the below links for code format changes for full cmssw LLVM 10: https://cmssdt.cern.ch/SDT/jenkins-artifacts/jenkins-test-code-format/CMSSW_11_3_X_2021-03-08-2300/59/code-format.patch (61 changes) |
|
it could be if google code style has updated few defaults. Let me see the differences |
|
Would it make sense to have an automated reformatting campaign? (after double-checking the style definition itself) |
|
here is the code format changes which is reasonable. I would not recommend to change the google default. After all it is not a big bang changes. Only 50 new changes. |
Yes, it is about time to do one. Although for default clang-tidy and format , we have 120 packages (194 files) which needs format/tidy updates but we can enable cms-hanlde check too (needs 6.5K changes) |
|
I would do the |
Resolves: #6666
This builds the LLVM external