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

Compile wendy binaries on CI #13

Open
lispyclouds opened this issue Apr 8, 2020 · 2 comments
Open

Compile wendy binaries on CI #13

lispyclouds opened this issue Apr 8, 2020 · 2 comments

Comments

@lispyclouds
Copy link
Member

Currently the only way to build Wendy is manual compilation which is flawed for the reasons:

  • GraalVM setup ceremony is long and complex
  • Causes a loss of motivation in users to get started quickly
  • Really long build times

Possible solutions:

  • Make the CI build all binaries
  • Make a single latest download link possible, then later go for releases following Bob's release cycle
lispyclouds added a commit that referenced this issue Apr 8, 2020
@TimoKramer
Copy link
Member

TimoKramer commented Dec 27, 2020

Using clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.10.2-rc1"}}}' -M:native-image
still emits

    at clojure.tools.analyzer.jvm$analyze_ns$fn__8256.invoke(jvm.clj:553)
	at clojure.lang.AFn.run(AFn.java:22)
	at java.lang.Thread.run(Thread.java:834)
	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:519)
	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
	at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: clojure.tools.reader.reader_types$indexing_push_back_reader. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace: 
	at parsing clojure.tools.analyzer.jvm$analyze_ns$fn__8258.invoke(jvm.clj:555)
Call path from entry point to clojure.tools.analyzer.jvm$analyze_ns$fn__8258.invoke(): 
	at clojure.tools.analyzer.jvm$analyze_ns$fn__8258.invoke(jvm.clj:553)
	at clojure.lang.AFn.run(AFn.java:22)
	at java.lang.Thread.run(Thread.java:834)
	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:519)
	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
	at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)

Warning: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception
Warning: Image 'wendy' is a fallback image that requires a JDK for execution (use --no-fallback to suppress fallback image generation and to print more detailed information why a fallback image was necessary).

@TimoKramer
Copy link
Member

native-image compilation is fixed now

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