Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport for Android armv7 and aarch64 target triples #118
Conversation
|
|
||
| CONFIGURE_FLAGS += --target=$(TARGET) --disable-gold | ||
| ifeq (armv7-linux-androideabi,$(TARGET)) | ||
| # Fix: armv7 TARGET used by rust is not the same as the TARGET needed for CXX toolchain. |
This comment has been minimized.
This comment has been minimized.
jdm
May 8, 2017
Member
What does the Fix: prefix here mean? I first interpreted it as FIXME, but I don't think that's correct.
This comment has been minimized.
This comment has been minimized.
| @@ -92,6 +92,8 @@ def rust_target(rust_compiler, rustc, target, cross_compiling): | |||
| # Android | |||
| ('x86', 'Android'): 'i686-linux-android', | |||
| ('arm', 'Android'): 'arm-linux-androideabi', | |||
| ('aarch64', 'Android'): 'aarch64-linux-android', | |||
| ('armv7', 'Android'): 'arm-linux-androideabi', | |||
This comment has been minimized.
This comment has been minimized.
jdm
May 8, 2017
Member
The other changes in this PR will need to be submitted upstream if they're not already present.
This comment has been minimized.
This comment has been minimized.
MortimerGoro
May 8, 2017
•
Author
Contributor
So the way to get these changes in this repo is first waiting for a merge in upstream and then running this? https://github.com/servo/mozjs#upgrading
This comment has been minimized.
This comment has been minimized.
jdm
May 8, 2017
Member
No, it's fine to merge them in here. I just want to make sure that they don't get lost as part of the next upgrade we do (which has no definite timeline, unfortunately).
|
Fixed the typo. I'll submit the required changes upstream. |
|
Looks good. |
|
|
Support for Android armv7 and aarch64 target triples See servo/servo#11921 and servo/servo#16769 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/mozjs/118) <!-- Reviewable:end -->
|
|
|
@MortimerGoro If you need a point of contact on the Firefox/Gecko side for help with Android Rust-related build changes, @froydnj may be able to help :-) |
Update mozjs_sys <!-- Please describe your changes on the following line: --> See servo/mozjs#118 Required for #11921 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16866) <!-- Reviewable:end -->
…s); r=nox <!-- Please describe your changes on the following line: --> See servo/mozjs#118 Required for servo/servo#11921 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 9bc565362b8787768db77ac458c9fb8005e14023 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 051657136a772c64ba7b67a8b418ac7bebcbec5e
…s); r=nox <!-- Please describe your changes on the following line: --> See servo/mozjs#118 Required for servo/servo#11921 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 9bc565362b8787768db77ac458c9fb8005e14023
…s); r=nox <!-- Please describe your changes on the following line: --> See servo/mozjs#118 Required for servo/servo#11921 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 9bc565362b8787768db77ac458c9fb8005e14023
…s); r=nox <!-- Please describe your changes on the following line: --> See servo/mozjs#118 Required for servo/servo#11921 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 9bc565362b8787768db77ac458c9fb8005e14023 UltraBlame original commit: 9d7ab545518c46e61ee6317d3bb363f62588038a
…s); r=nox <!-- Please describe your changes on the following line: --> See servo/mozjs#118 Required for servo/servo#11921 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 9bc565362b8787768db77ac458c9fb8005e14023 UltraBlame original commit: 9d7ab545518c46e61ee6317d3bb363f62588038a
…s); r=nox <!-- Please describe your changes on the following line: --> See servo/mozjs#118 Required for servo/servo#11921 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 9bc565362b8787768db77ac458c9fb8005e14023 UltraBlame original commit: 9d7ab545518c46e61ee6317d3bb363f62588038a
MortimerGoro commentedMay 8, 2017
•
edited by larsbergstrom
See servo/servo#11921 and servo/servo#16769
This change is