Skip to content

Conversation

@dreiss
Copy link
Contributor

@dreiss dreiss commented Oct 24, 2019

Summary:
This symbol isn't availble in older Android configs, so import it
from the global namespace in the same file as the rest of our
Android string compatibility hacks.

Test Plan: Internal android build.

Reviewed By: jerryzh168

Differential Revision: D18099515

Test Plan: CI

Differential Revision: D18099518

fbshipit-source-id: e27611c9b52f20eff19ca50dba6a27d682d90e03
Summary:
This isn't used anywhere, and it doesn't work with older libstdc++
because std::ostringstream is not copyable or movable.

Test Plan: Internal android build.

Differential Revision: D18099511

fbshipit-source-id: ecf56351aebb6f9e29bd64f5d30b363d5db2a6db
Summary:
This was added because std::to_string isn't available in libstc++
on Android.  Use it in more places to get the PyTorch Android
build working with libstdc++.

Test Plan:
`buck build -c project.ignore= @//fbandroid/mode/server //xplat/experimental/pytorch/predictor:predictorAndroid#android-arm{v7,64}`

(After some more diffs in this stack.)

Differential Revision: D18099520

fbshipit-source-id: 550487d288d13dc3612f0b722cd37f96ea17a109
Summary:
This symbol isn't availble in older Android configs, so import it
from the global namespace in the same file as the rest of our
Android string compatibility hacks.

Test Plan: Internal android build.

Reviewed By: jerryzh168

Differential Revision: D18099515

fbshipit-source-id: 31dda4ce01f9186f192134de80d1798cb4364c26
@dreiss dreiss requested a review from apaszke as a code owner October 24, 2019 18:03
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D18099515

@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Oct 24, 2019
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 1dfb875.

thiagocrepaldi pushed a commit to thiagocrepaldi/pytorch that referenced this pull request Feb 4, 2020
Summary:
Pull Request resolved: pytorch#28603

This symbol isn't availble in older Android configs, so import it
from the global namespace in the same file as the rest of our
Android string compatibility hacks.

Test Plan: Internal android build.

Reviewed By: jerryzh168

Differential Revision: D18099515

fbshipit-source-id: f8b0c80ea7344e05975a695afb359b339b6d9404
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants