On M1 calling `shadow-cljs` fails with: ``` Execution error (UnsatisfiedLinkError) at java.lang.ClassLoader$NativeLibrary/load (ClassLoader.java:-2). /private/var/folders/__/x311ykg17rqgq2wyl4kn1pdr0001yh/T/jna8753030888504535661.tmp: dlopen(/private/var/folders/__/x311ykg17rqgq2wyl4kn1pdr0001yh/T/jna8753030888504535661.tmp, 0x0001): tried: '/private/var/folders/__/x311ykg17rqgq2wyl4kn1pdr0001yh/T/jna8753030888504535661.tmp' (fat file, but missing compatible architecture (have (unknown,i386,x86_64), need (arm64e))) ``` This is due to an outdeted dependency on JNA 3.2.2, which is pulled in by `hawk` package which up until release `2.11.16` was a `shadow-clj` dependency which was removed because it was: >Only used to be used on macOS since it was slightly faster than the default >JVM implementation. However in Big Sur it seems to cause issues and break >completely or just be a lot slower. https://github.com/thheller/shadow-cljs/commit/f3b89b5a Dropped the explicit dependency on `org.clojure/core.async` to avoid: ``` WARNING: The org.clojure/core.async dependency in shadow-cljs.edn was ignored. Default version is used and override is not allowed to ensure compatibility. ``` Resolves: https://github.com/status-im/status-mobile/issues/14196 Signed-off-by: Jakub Sokołowski <jakub@status.im> |
||
---|---|---|
.. | ||
clojure | ||
gradle | ||
nodejs | ||
nodejs-patched | ||
react-native |