-
Notifications
You must be signed in to change notification settings - Fork 662
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
[Cherry-picked 0.11.1] Use sourceforge url to fetch zlib #2297
Conversation
third_party/zlib/CMakeLists.txt
Outdated
URL https://zlib.net/zlib-1.2.11.tar.gz | ||
URL_HASH SHA256=c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 | ||
URL https://zlib.net/zlib-1.2.12.tar.gz | ||
URL_HASH SHA256=91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although this is correct. Can we actually keep 1.2.11 and instead update the URL to one on sourceforge? i.e. URL https://sourceforge.net/projects/libpng/files/zlib/1.2.11/zlib-1.2.11.tar.gz
Here are the reasons.
- We learned that zlib.net would delete previous releases when there is a new release. This gives concerns because when there is a new release of zlib, then the source build would break again. Due to this, the latest versioned release (0.11) cannot be built from source. If we rely on sourceforge.net, then we can expect that old releases are preserved.
- Currently there is no 1.2.12 on sourceforge. https://sourceforge.net/projects/libpng/files/zlib/ We need to wait for them to upload 1.2.12 to source forge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Once landed, can you cherry-pick this to release/0.11
branch?
@nateanl has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: This PR addresses #2295 by updating `zlib`'s url to the one on sourceforge.net. `zlib` 1.2.11 source code is removed from the official site. According to https://zlib.net, ```Due to the bug fixes, any installations of 1.2.11 should be replaced with 1.2.12.``` sourceforge preserves the older versions thus is more stable. The PR keep 1.2.11 as currently there is no 1.2.12 on sourceforge. Pull Request resolved: #2297 Reviewed By: mthrok Differential Revision: D35251361 Pulled By: nateanl fbshipit-source-id: 174c2c2e1c34bef9799bbacfd1e12c8ff13ff15d
Summary: This PR addresses pytorch#2295 by updating `zlib`'s url to the one on sourceforge.net. `zlib` 1.2.11 source code is removed from the official site. According to https://zlib.net, ```Due to the bug fixes, any installations of 1.2.11 should be replaced with 1.2.12.``` sourceforge preserves the older versions thus is more stable. The PR keep 1.2.11 as currently there is no 1.2.12 on sourceforge. Pull Request resolved: pytorch#2297 Reviewed By: mthrok Differential Revision: D35251361 Pulled By: nateanl fbshipit-source-id: 174c2c2e1c34bef9799bbacfd1e12c8ff13ff15d
This PR addresses #2295 by updating
zlib
's url to the one on sourceforge.net.zlib
1.2.11 source code is removed from the official site. According to https://zlib.net,Due to the bug fixes, any installations of 1.2.11 should be replaced with 1.2.12.
sourceforge preserves the older versions thus is more stable. The PR keep 1.2.11 as currently there is no 1.2.12 on sourceforge.