Install libcpp from release package other than apt-get#11832
Conversation
Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11832
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 1 New FailureAs of commit e88d5f1 with merge base 413dee4 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/) ghstack-source-id: 291737317 Pull Request resolved: #11832
|
This pull request was exported from Phabricator. Differential Revision: D77048745 |
This PR needs a
|
A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/) Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745) [ghstack-poisoned]
Pull Request resolved: #11832 A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/) ghstack-source-id: 291962443
|
This pull request was exported from Phabricator. Differential Revision: D77048745 |
A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/) Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745) [ghstack-poisoned]
Pull Request resolved: #11832 A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future ghstack-source-id: 291963669 Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
|
This pull request was exported from Phabricator. Differential Revision: D77048745 |
A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/) Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745) [ghstack-poisoned]
Pull Request resolved: #11832 A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future ghstack-source-id: 291965571 Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
|
This pull request was exported from Phabricator. Differential Revision: D77048745 |
|
@haowhsu-quic what do you think about this change? I was thinking provide an easier way (like run |
A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/) Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745) [ghstack-poisoned]
Pull Request resolved: #11832 A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future ghstack-source-id: 294656897 Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
|
This pull request was exported from Phabricator. Differential Revision: D77048745 |
A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/) Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745) [ghstack-poisoned]
Pull Request resolved: #11832 A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future ghstack-source-id: 294996148 Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
|
This pull request was exported from Phabricator. Differential Revision: D77048745 |
|
@shewu-quic does it look good now? |
shewu-quic
left a comment
There was a problem hiding this comment.
Thanks your effort.
LGTM.
| @@ -0,0 +1,145 @@ | |||
| #!/bin/bash | |||
There was a problem hiding this comment.
Would you like to change the script permission such as 755?
There was a problem hiding this comment.
Can you share what I need to change? This line means it's bash script, should I do something different?
There was a problem hiding this comment.
Woops, Sorry for the confusion—I meant this script, not this line.
There was a problem hiding this comment.
I see, does it mean I need to add instructions in readme to change the permission for this script? Just trying to understand your intention better
There was a problem hiding this comment.
Yes, I think it would be better for general user :)
There was a problem hiding this comment.
Or I think you can change this file permission and push again.
https://stackoverflow.com/questions/10516201/updating-and-committing-only-a-files-permissions-using-git-version-control
https://stackoverflow.com/questions/59160266/git-and-permissions/59163100#59163100
There was a problem hiding this comment.
Actually maybe let me try not requiring the permission
There was a problem hiding this comment.
Updated the PR without requiring permission
A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/) Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745) [ghstack-poisoned]
Pull Request resolved: #11832 A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future ghstack-source-id: 295571010 Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
|
@shewu-quic thanks for reviewing! Addressed the comments. |
A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/) Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745) [ghstack-poisoned]
Pull Request resolved: #11832 A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future ghstack-source-id: 295685450 Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
|
This pull request was exported from Phabricator. Differential Revision: D77048745 |
a5ba119
into
gh/cccclai/30/base
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: #11832 by @cccclai ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/cccclai/30/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/cccclai/30/head Merge bot PR base: https://github.com/pytorch/executorch/tree/main Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/cccclai/30/orig @diff-train-skip-merge Co-authored-by: Chen Lai <chenlai@fb.com>
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: pytorch#11832 by @cccclai ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/cccclai/30/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/cccclai/30/head Merge bot PR base: https://github.com/pytorch/executorch/tree/main Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/cccclai/30/orig @diff-train-skip-merge Co-authored-by: Chen Lai <chenlai@fb.com>
Pull Request resolved: #11832 A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future ghstack-source-id: 295685450 Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
Stack from ghstack (oldest at bottom):
A few changes
Differential Revision: D77048745
Differential Revision: D77048745