Skip to content
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

grpcio: Changes backported from TF 2.15 branch #9015

Merged
merged 4 commits into from
Feb 15, 2024

Conversation

smuzaffar
Copy link
Contributor

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for branch IB/CMSSW_14_1_X/master.

@iarspider, @smuzaffar, @aandvalenzuela can you please review it and eventually sign? Thanks.
@antoniovilela, @sextonkennedy, @rappoccio you are the release manager for this.
cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 13, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

Pull request #9015 was updated.

@smuzaffar
Copy link
Contributor Author

@iarspider , can you please try building it locally. I think grpcio is not linking absl libs as it is looking for those libs under /usr/lib

@iarspider
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

Pull request #9015 was updated.

@smuzaffar
Copy link
Contributor Author

@iarspider , looks like you are not applying the newly added patch grpcio-absl-path.patch . log file https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c095c1/37454/externals/py3-grpcio/1.60.1-e281228763f985e50a5c701b73938cd9/ should that it is still not linking our absl libs

if BUILD_WITH_SYSTEM_ABSL:
EXTENSION_LIBRARIES += tuple(
- lib.stem[3:] for lib in pathlib.Path("/usr").glob("lib*/libabsl_*.so")
+ lib.stem[3:] for lib in pathlib.Path(os.getenv("ABSEIL_CPP_ROOT")).glob("lib*/libabsl_*.so")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iarspider , is lib.stem[3:] correct for our path?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes: stem is "the final path component, without its suffix". So this line strips "lib" prefix and last suffix (extension)

@cmsbuild
Copy link
Contributor

Pull request #9015 was updated.

@iarspider
Copy link
Contributor

please test

@smuzaffar
Copy link
Contributor Author

@iarspider , we also have https://github.com/cms-sw/cmsdist/blob/IB/CMSSW_14_1_X/master/c-ares.spec and I see grpcio is using the one from its thrid-party area. Can you configure it to use ours?

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c095c1/37460/summary.html
COMMIT: 483a1a8
CMSSW: CMSSW_14_1_X_2024-02-14-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/9015/37460/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@smuzaffar
Copy link
Contributor Author

+externals

@smuzaffar smuzaffar merged commit df92d10 into IB/CMSSW_14_1_X/master Feb 15, 2024
9 checks passed
@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_14_1_X/master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @antoniovilela, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants