Closed AMaleh closed 2 years ago
Or welcome! :)
On Thursday, July 1, 2021, AMaleh @.***> wrote:
Is there any support for detecting AARCH64 on Mac & Linux yet? If not, would you have any tips on how to figure that out using this gem (or some other ways)?
Thanks for providing such a useful and API friendly gem. I have been using on and off for over a decade.
Best,
AMaleh
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.< https://ci6.googleusercontent.com/proxy/csz9jgUrAQTcN9Mg9B-AB1ayUpVe_ap8kSRMp1oOShpzCGweGekYkgvk1fNqY2dm-Ln7bg6d0aB2vqcG0kN0MPJI0WORqzsMTjgTfG2e-xwnpyhHAcTB0WnFI0EQIwPpPYVHrQlZFxLiHmFdMOC2weeVe7DavrYqJYVf5hE06TIGbMmUYFUotwDuumEKmnCtPzo13wWeZB6Z7VPMR8Zj2ELUT4k=s0-d-e1-ft#https://github.com/notifications/beacon/AAADBUDE27YYDHN7CGMDWEDTVTPAHA5CNFSM47VQXJQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4N56TRIA.gif>
*PR welcome :)
On Friday, August 27, 2021, Roger Pack @.***> wrote:
Or welcome! :)
On Thursday, July 1, 2021, AMaleh @.***> wrote:
Is there any support for detecting AARCH64 on Mac & Linux yet? If not, would you have any tips on how to figure that out using this gem (or some other ways)?
Thanks for providing such a useful and API friendly gem. I have been using on and off for over a decade.
Best,
AMaleh
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.< https://ci6.googleusercontent.com/proxy/csz9jgUrAQTcN9Mg9B-AB1ayUpVe_ap8kSRMp1oOShpzCGweGekYkgvk1fNqY2dm-Ln7bg6d0aB2vqcG0kN0MPJI0WORqzsMTjgTfG2e-xwnpyhHAcTB0WnFI0EQIwPpPYVHrQlZFxLiHmFdMOC2weeVe7DavrYqJYVf5hE06TIGbMmUYFUotwDuumEKmnCtPzo13wWeZB6Z7VPMR8Zj2ELUT4k=s0-d-e1-ft#https://github.com/notifications/beacon/AAADBUDE27YYDHN7CGMDWEDTVTPAHA5CNFSM47VQXJQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4N56TRIA.gif>
Hi,
I was able to use code like the following successfully on ARM64 Mac and AARCH64 Linux:
OS.host_cpu.include?('aarch64') || OS.host_cpu.include?('arm64')
This is resolved for me as such.
Thank you.
Is there any support for detecting AARCH64 on Mac & Linux yet (was hoping for a
OS.aarch64?
method)? If not, would you have any tips on how to figure that out using this gem or some other ways (I noticedOS.host_cpu
returns what I likely need, but I'm on a non-AARCH64 computer right now, so I'd have to test later on an AARCH64 machine)?Thanks for providing such a useful and API friendly gem. I have been using on and off for over a decade.
Best,
AMaleh