Skip to content
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

Please add linuxArm64 and Arm32 variants #1171

Closed
mvysny opened this issue Oct 13, 2022 · 7 comments · Fixed by #1301
Closed

Please add linuxArm64 and Arm32 variants #1171

mvysny opened this issue Oct 13, 2022 · 7 comments · Fixed by #1301

Comments

@mvysny
Copy link

mvysny commented Oct 13, 2022

At the moment okio does not offer a library variant for the ARM processor, which is a pity since kotlin.io is pretty much non-existent on native, and there is no other library offering any kind of io for kotlin native other than okio. In other words, at the moment there is no support for working with files and streams on native/arm. Would it be possible to build okio for arm as well please?

@mvysny
Copy link
Author

mvysny commented Oct 13, 2022

Unofficial okio port to arm: Kotlin/kotlinx.coroutines#855 (comment)

Unfortunately it's not clear how to use it.

@luca992
Copy link

luca992 commented Mar 10, 2023

linuxArm64 was added to kotlinx.coroutines

@danbrough
Copy link

danbrough commented Mar 16, 2023

Unofficial okio port to arm: Kotlin/kotlinx.coroutines#855 (comment)

Unfortunately it's not clear how to use it.

I've put together a demo for okio here:
https://github.com/danbrough/kotlinxtras/tree/main/demos/repos/okio
That's working on my linuxArm32Hfp RPI.
There is also a ktor client and server demo for linuxArm64, linuxArm32Hfp at:
https://github.com/danbrough/kotlinxtras/tree/main/demos/repos/ktor

@mvysny
Copy link
Author

mvysny commented Mar 21, 2023

Probably also blocked by Kotlin/kotlinx-datetime#165

@luca992
Copy link

luca992 commented Mar 22, 2023

Probably also blocked by Kotlin/kotlinx-datetime#165

Looks like there's a pr Kotlin/kotlinx-datetime#261

Not merged yet though.

@Siedlerchr
Copy link

The version from @danbrough works for me
https://github.com/danbrough/okio

@bcmedeiros
Copy link
Contributor

Kotlin/kotlinx-datetime#261 is now merged

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 a pull request may close this issue.

5 participants