Closed
Description
@mprobst the v1.7.0 mac executables are arm64:
mike@osxvm:~/work/Invertase/react-native-google-mobile-ads (@mikehardy/dependency-updates *) % cat node_modules/clang-format/package.json |grep version
"version": "1.7.0",
mike@osxvm:~/work/Invertase/react-native-google-mobile-ads (@mikehardy/dependency-updates *) % file node_modules/clang-format/bin/darwin_x64/clang-format
node_modules/clang-format/bin/darwin_x64/clang-format: Mach-O 64-bit executable arm64
If I yarn add clang-format@1.6.0
things work for me on a non-M1 mac:
mike@osxvm:~/work/Invertase/react-native-google-mobile-ads (@mikehardy/dependency-updates *) % cat node_modules/clang-format/package.json |grep version
"version": "1.6.0",
mike@osxvm:~/work/Invertase/react-native-google-mobile-ads (@mikehardy/dependency-updates *) % file node_modules/clang-format/bin/darwin_x64/clang-format
node_modules/clang-format/bin/darwin_x64/clang-format: Mach-O 64-bit executable x86_64
I'm jealous of your M1 machine but do not have plans to purchase one myself for a little while. Is there a way to publish x86_64 builds for maximum compatibility until M1 compatibility has handle more thoroughly?
Activity
mikehardy commentedon Apr 27, 2022
Thank you for the library by the way, I use it a lot and even patterned a java format off it in homage: https://github.com/invertase/nodejs-google-java-format/#inspiration 😄 ❤️
build(deps): use clang-format v1.6.0 until upstream releases non-arm6…
build(deps): use clang-format v1.6.0 until upstream releases non-arm6…
mprobst commentedon Apr 29, 2022
@mikehardy I pushed 1.8.0 which should be back to
x86_64
(see 140dcf5).build(deps): `yarn package:update` to ingest clang-format@current
yarn package:update
to ingest clang-format@current invertase/react-native-google-mobile-ads#125mikehardy commentedon Apr 29, 2022
Perfect! Confirmed working and I'm back to current for this dependency :-). Cheers
build(deps): `yarn package:update` to ingest clang-format@current
chore: bump clang-format to 1.8.0
chore: bump clang-format to 1.8.0
Make clang-format work in M1 (Apple Silicon)
Make clang-format work in M1 (Apple Silicon)
Make clang-format work in M1 (Apple Silicon)
build(deps): use clang-format v1.6.0 until upstream releases non-arm6…
build(deps): `yarn package:update` to ingest clang-format@current