virtuslab / coursier-m1 Goto Github PK
View Code? Open in Web Editor NEWA small repo to release coursier using self-hosted Mac M1 runner
License: Apache License 2.0
A small repo to release coursier using self-hosted Mac M1 runner
License: Apache License 2.0
Would be a great addition if both aarch64 and x86_64 versions would be available for Homebrew via courier hosted formula or core formula (which is JVM only right now).
Running on an M2 Pro with Mac OS 13.0 I am unable to install jvms with the aarch64 coursier at least for 2.1.6.
Steps to reproduce:
$ curl -L -o cs-aarch64-apple-darwin-2.1.6-Virtus.gz https://github.com/VirtusLab/coursier-m1/releases/download/v2.1.6/cs-aarch64-apple-darwin.gz
$ chmod a+x cs-aarch64-apple-darwin-2.1.6-Virtus
$ ./cs-aarch64-apple-darwin-2.1.6-Virtus version
2.1.6
$ ./cs-aarch64-apple-darwin-2.1.6-Virtus java --jvm 8 -version
JVM 8 not found in index: No adoptium version matching '1.8+' found
But the same setup works using the x86 binary (I have Rosetta2 emulation going):
$ curl -L -o cs-x86_64-apple-darwin-2.1.6-Virtus.gz https://github.com/VirtusLab/coursier-m1/releases/download/v2.1.6/cs-x86_64-apple-darwin.gz
$ gunzip cs-x86_64-apple-darwin-2.1.6-Virtus.gz
$ chmod a+x cs-x86_64-apple-darwin-2.1.6-Virtus
$ ./cs-x86_64-apple-darwin-2.1.6-Virtus java --jvm 8 -version
... installs the first time ...
openjdk version "1.8.0_392"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_392-b08)
OpenJDK 64-Bit Server VM (Temurin)(build 25.392-b08, mixed mode)
We ran into this issue when trying to use the VirtusLab coursier for more recent M1 architecture binaries. pantsbuild/pants#20174
The aarch64 binary is able to perform other coursier functions without trouble like resolve
or fetch
org.scalameta::scalafmt-cli:2.4.2
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.