Skip to content
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

Remove test dependency on native scala #167

Open
emmanaakai opened this issue Sep 5, 2024 · 2 comments
Open

Remove test dependency on native scala #167

emmanaakai opened this issue Sep 5, 2024 · 2 comments
Assignees

Comments

@emmanaakai
Copy link

When running tests using mill without scala native set up, an error with the following stack trace occurs:

1 targets failed
morphir[2.12.18].ir.native.test.nativeClang scala.scalanative.build.BuildException: 'clang' not found in PATHor via 'LLVM_BIN' environment variable.
Please refer to (http://www.scala-native.org/en/latest/user/setup.html)
scala.scalanative.build.Discover$.$anonfun$discover$7(Discover.scala:202)
scala.Option.getOrElse(Option.scala:201)
scala.scalanative.build.Discover$.discover(Discover.scala:196)
scala.scalanative.build.Discover$.discover(Discover.scala:209)
scala.scalanative.build.Discover$.clang(Discover.scala:33)
mill.scalanativelib.worker.ScalaNativeWorkerImpl.discoverClang(ScalaNativeWorkerImpl.scala:43)
mill.scalanativelib.ScalaNativeModule.$anonfun$nativeClang$3(ScalaNativeModule.scala:150)
To Reproduce

Safe removal of scala native from the morphir-jvm project may resolve this issue

@DamianReeves DamianReeves self-assigned this Sep 5, 2024
@DamianReeves
Copy link
Member

Curious @emmanaakai (@stephengoldbaum , @AttilaMihaly ), is there still a need in your environment for Scala 2.12? Are we able to make Scala 2.13 the minimum?

@DamianReeves
Copy link
Member

Is this issue only happening locally for you? I am not able to reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants