Skip to content

PR: Remove linux distribution detection, search first on local paths for libraries #2457

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

Merged
merged 3 commits into from
Jul 13, 2020

Conversation

andfoy
Copy link
Contributor

@andfoy andfoy commented Jul 10, 2020

See #2398 (comment)

This PR removes the need for checking which Linux distribution is being used, additionally it modifies the discovery order of the external libraries, so that TORCHVISION_INCLUDE come first, then conda and finally the standard paths

@codecov
Copy link

codecov bot commented Jul 10, 2020

Codecov Report

Merging #2457 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2457   +/-   ##
=======================================
  Coverage   70.69%   70.69%           
=======================================
  Files          94       94           
  Lines        7920     7920           
  Branches     1249     1249           
=======================================
  Hits         5599     5599           
  Misses       1934     1934           
  Partials      387      387           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cf534fd...9939c71. Read the comment docs.

Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

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

Thanks!

@fmassa fmassa merged commit 0344603 into pytorch:master Jul 13, 2020
@fmassa
Copy link
Member

fmassa commented Jul 13, 2020

@t-vi please let us know if you still have issues compiling torchvision even after this PR has been merged

@andfoy andfoy deleted the improve_external_build branch July 13, 2020 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants