Fork me on GitHub
#planck
<
2019-05-11
>
tianshu13:05:17

it tooks a long time to compile planck:joy:(install on archlinux)

tianshu13:05:21

still in the stage 2

mfikes13:05:46

@doglooksgood One thing you can do is script/build --fast

mfikes13:05:10

(That skips the step where it applies :simple optimizations to the bundled code.)

tianshu13:05:12

emm, I'm installing using archlinux package manager. I can still wait

tianshu13:05:23

why there're stages

tianshu13:05:36

is some optimizations or something?

tianshu13:05:03

@mfikes is there a prebuild release to download?

mfikes13:05:42

Not for Arch, as far as I know. There are binaries for Ubuntu available as PPA.

tianshu13:05:05

okay, I was thinking the binaries for different linux distro should be the same.

mfikes13:05:52

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.

tianshu13:05:56

ok, I decide to build from source. since the one on AUR is not the lastest version. thanks for the help!

mfikes13:05:15

Ahh, cool, is there a version of Planck on AUR?

mfikes13:05:44

Ahh, I see it there. Maybe whoever maintains it could rev the version.

mfikes13:05:15

Oh, it got orphaned... hrm.

tianshu13:05:06

yes, there's one on AUR but it still 2.19

mfikes13:05:57

I don't know how AUR works. With Homebrew, for example, anyone can update the formula to the latest.

mfikes13:05:55

@doglooksgood There is a Debian build I make, maybe its binary would work for you.

tianshu13:05:37

I'm on the way building on my machine.

tianshu13:05:33

one more thing I want to know about compatibility.

tianshu13:05:49

is the kernel version matter?

mfikes14:05:00

It could. That's why I just throw in the towel and build for the target box. ๐Ÿ™‚

mfikes14:05:28

Lumo, on the other hand, makes a cross-distro binary.

tianshu14:05:40

that's a big problem, archlinux user may use different kernels

mfikes14:05:04

There isn't really anything kernel-specific in Planck... it is fairly portable code FWIW.

tianshu14:05:36

I was wondering if I can upload binary to AUR, current orphans repo is building from source.

mfikes14:05:22

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 ๐Ÿ™‚

mfikes14:05:39

For example, with that Debian binary above, you essentially have to trust me.

mfikes14:05:15

With the PPA, you can see all the source, etc.

mfikes14:05:25

There is a "Flag package out-of-date" link on the AUR page. Maybe you can poke the maintainer that way. ๐Ÿ™‚

tianshu14:05:03

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

mfikes14:05:03

@doglooksgood FWIW, I just built Planck on ArchLinux 2019.04.05 and it passes all tests. โœ…

mfikes14:05:49

Since these take so long to build, maybe I'll put binaries for a few popular OSs up on the Planck REPL website.

tianshu15:05:38

@mfikes that will be really nice.

tianshu15:05:27

there's a growth popularity on archlinux, manjaro linux is really popular.

mfikes15:05:52

Cool. @doglooksgood I think I'll put together a "binary downloads" page with prebuilt binaries. That might be usefult.

๐Ÿ‘ 8
cljs 4
tianshu17:05:54

great, downloading

tianshu17:05:04

wondering if rebel-readline-cljs will be used in the next release of planck. see the issue on github:star-struck:

mfikes17:05:54

Well, it can't directly. (It is written in Clojure.)