Skip to content

[android] Fix path to ICU libraries and target name in Android docs #35949

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 2 commits into from
Jun 13, 2021

Conversation

fwcd
Copy link
Member

@fwcd fwcd commented Feb 12, 2021

Point ARM_DIR to the correct output directory containing the built libraries (libicuucswift.so, libicui18nswift.so, etc).

Also use armv7-unknown-linux-androideabi21 instead of armv7a-unknown-linux-androideabi21 as a target, since the compiler will otherwise throw an error:

<unknown>:0: error: could not find module 'Swift' for target 'armv7a-unknown-linux-android'; found: armv7-unknown-linux-android

Point `ARM_DIR` to the output directory containing the libraries.
@finagolfin
Copy link
Member

Thanks, I have never used that repo, as I always just use the prebuilt Termux packages for Android.

@lanza, can you confirm?

@ephemer, that repo hasn't been updated in three years, still worth using?

The target arch name used here is `armv7` rather than `armv7a`.
@fwcd fwcd changed the title [android] Fix path to ICU libraries in Android docs [android] Fix path to ICU libraries and target name in Android docs Feb 13, 2021
@finagolfin
Copy link
Member

@CodaFi, mind getting this small doc pull in?

@CodaFi
Copy link
Contributor

CodaFi commented Jun 13, 2021

Yeah, LGTM

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit 9258080 into swiftlang:main Jun 13, 2021
@fwcd fwcd deleted the android-lib-path branch June 21, 2021 18:46
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.

4 participants