it tooks a long time to compile planck:joy:(install on archlinux)
still in the stage 2
@doglooksgood One thing you can do is script/build --fast
(That skips the step where it applies :simple
optimizations to the bundled code.)
emm, I'm installing using archlinux package manager. I can still wait
why there're stages
is some optimizations or something?
This describes why there are stages: https://blog.fikesfarm.com/posts/2016-02-03-planck-macros-aot.html
clearly
@mfikes is there a prebuild release to download?
Not for Arch, as far as I know. There are binaries for Ubuntu available as PPA.
okay, I was thinking the binaries for different linux distro should be the same.
Sometimes it is possible to pull that off, but they tend to link to different things. For example on Ubuntu 14 Planck links to the JavaScriptCore available on that OS (JavaScriptCore 3), but on Ubuntu 16 it links to JavaScriptCore 4. And with NixOS, things are crazier. Anyway, I saw a recent talk where Linus harps on the binary compatibility problem as being the primary reason Linux is failing to gain traction as a mainstream desktop OS, with him blaming the distro folk, FWIW.
ok, I decide to build from source. since the one on AUR is not the lastest version. thanks for the help!
Ahh, cool, is there a version of Planck on AUR?
Ahh, I see it there. Maybe whoever maintains it could rev the version.
Oh, it got orphaned... hrm.
yes, there's one on AUR but it still 2.19
I don't know how AUR works. With Homebrew, for example, anyone can update the formula to the latest.
@doglooksgood There is a Debian build I make, maybe its binary would work for you.
I'm on the way building on my machine.
See https://github.com/borkdude/speculative/commit/4e773794a4065a84bdadd997516e52c76ab51b1f
one more thing I want to know about compatibility.
is the kernel version matter?
It could. That's why I just throw in the towel and build for the target box. ๐
Lumo, on the other hand, makes a cross-distro binary.
that's a big problem, archlinux user may use different kernels
There isn't really anything kernel-specific in Planck... it is fairly portable code FWIW.
I was wondering if I can upload binary to AUR, current orphans repo is building from source.
I know that PPA's insist on being built from source on the Ubuntu build boxes. That way things are a bit more secure / inspectable / reproducible, etc. Taking a binary from someone brings in lots of issues ๐
For example, with that Debian binary above, you essentially have to trust me.
With the PPA, you can see all the source, etc.
There is a "Flag package out-of-date" link on the AUR page. Maybe you can poke the maintainer that way. ๐
but a lot things on AUR usually have two version.
~ ยป yaourt planck
1 aur/planck 2.19.0-1 (3) (0.07)
A stand-alone ClojureScript REPL
2 aur/planck-git r1579.47b9eec-1 (2) (0.00)
A stand-alone ClojureScript REPL
@doglooksgood FWIW, I just built Planck on ArchLinux 2019.04.05
and it passes all tests. โ
Since these take so long to build, maybe I'll put binaries for a few popular OSs up on the Planck REPL website.
@mfikes that will be really nice.
there's a growth popularity on archlinux, manjaro linux is really popular.
Cool. @doglooksgood I think I'll put together a "binary downloads" page with prebuilt binaries. That might be usefult.
@doglooksgood Hopefully this helps: https://planck-repl.org/binaries/
great, downloading
@mfikes It works
Cool!
wondering if rebel-readline-cljs
will be used in the next release of planck. see the issue on github:star-struck:
Well, it can't directly. (It is written in Clojure.)