-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add native targets #14
Conversation
requires pr: komputing/KHex#14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks and sorry for the very late review. But the build fails for me with:
Some Kotlin/Native targets cannot be built on this linux_x64 machine and are disabled:
* In project ':core':
* targets 'macosX64', 'macosArm64', 'iosArm32', 'iosArm64', 'iosX64', 'iosSimulatorArm64', 'tvosArm64', 'tvosX64', 'tvosSimulatorArm64', 'watchosArm32', 'watchosArm64', 'watchosX86', 'watchosX64', 'watchosSimulatorArm64' (can be built with one of the hosts: macos_x64, macos_arm64)
* In project ':extensions':
* targets 'macosX64', 'macosArm64', 'iosArm32', 'iosArm64', 'iosX64', 'iosSimulatorArm64', 'tvosArm64', 'tvosX64', 'tvosSimulatorArm64', 'watchosArm32', 'watchosArm64', 'watchosX86', 'watchosX64', 'watchosSimulatorArm64' (can be built with one of the hosts: macos_x64, macos_arm64)
To hide this message, add 'kotlin.native.ignoreDisabledTargets=true' to the Gradle properties.
could it be this only works on a mac?
You can't build mac binaries without a mac. But that shouldn't cause an error, are you sure that's not a warning? |
you are correct - was just a warning - thanks! |
The current release But this is required for komputing/KHash#23 |
guess this needs some work on workflows so these targets are build on mac workers - unfortuntately I do not really have time to work on this - but would merge PRs in this direction |
👍 would you please give me a clue how to get the gradle publish to work in my fork? https://github.com/BierDav/KHex |
* update .gitignore with gradle template * update to kotlin 1.6.21, bignum 0.3.4 and gradle 7.4.2 * use new memory model * add native targets requires pr: komputing/KHex#14 * kotlin 1.8.21 update dependencies * remove depreciated native targets, add linuxArm64 * fix depreciated warnings * gradle 8.1.1
* update .gitignore with gradle template * update to kotlin 1.6.21, bignum 0.3.4 and gradle 7.4.2 * use new memory model * add native targets requires pr: komputing/KHex#14 * Update KHex version Fix broken gradle.properties import Fix broken KHex import in build-src * Bump KHex version to 1.1.4 Bump KGP version to 1.8.21 Remove deprecated native targets Remove previously accidentally added line of code in build.gradle.kts Use macos as run target for all automations * Double workflow timout * Bump KHex version to expected version 1.1.5 * According to @Deprecation Annotation for legacy and IR compiler support (BOTH), switching to IR only Probably safe, because the user base for legacy is very limited Remove deprecated code, that shouldn't be necessary anymore due to the removal in the official JetBrains documentation * Update README.md * Remove --info attribute for less verbose CI outputs * Double workflow timeouts --------- Co-authored-by: Luca Spinazzola <[email protected]> Co-authored-by: David Bieregger <[email protected]>
I added all native targets that kassert supports which are: