🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:06 reportable6 left 00:08 reportable6 joined 00:11 masukomi left 00:17 kueppo left
Oshawott So! Does anyone here know how to cross-compile rakudo? 00:18
I can compile moar-vm with --gen-moar's --moar-options to set the right host and build 00:19
But rakudo itself seems to pretty stubbornly want to compile for my current architecture 00:20
(I'm trying to package rakudo for Termux, and their builder cross-compiles)
-rwxrwxrwx 1 archenoth archenoth 4.3M Oct 13 18:16 rakudo_2022.07_aarch64.deb 00:21
archenoth@Jirachi ~/Desktop/a $ find -name 'rakudo' -exec file {} \;
./data/data/com.termux/files/usr/bin/rakudo: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped
(So, the aarch deb contains x86_64 binaries) 00:22
This is what my Configure.pl invocation is looking like: 00:23
ARCH="${TERMUX_ARCH}" CC=clang AR=llvm-ar ./Configure.pl --gen-moar --moar-option="--build=${TERMUX_BUILD_TUPLE}" --moar-option="--host=${TERMUX_HOST_PLATFORM}" --moar-option="--ar=llvm-ar" --moar-option="--cc=clang" --gen-nqp --backends=moar --prefix=$TERMUX_PREFIX
The env variables were mostly me grasping at straws because I can't find anything in Configure.pl to set the desired host
(This is the rakudo Configure.pl) 00:24
I stole the moar cross-compilation options from Debian's moarvm package here: packages.debian.org/stretch/moarvm (The source) 00:26
But rakudo only has one arch: packages.debian.org/stretch/rakudo
It's labelled as "all", but is actually just x86_64 as well
Ubuntu just kinda delegated to Debian 00:27
So I don't really have any references for working cross-compiles
Does anyone have any hints where I could look to figure this out..? 00:28
tl;dr - no idea how to cross-compile rakudo because I'm unfamiliar with how ./Configure.pl could set that up
00:29 derpydoo joined 00:33 epony left 00:48 epony joined, masukomi joined 01:28 jjido left 01:45 masukomi left 01:51 masukomi joined 01:57 masukomi left 01:58 HvszrStykp left
MasterDuke Oshawott: do you see any difference if you use the MoarVM option `--compiler=clang` instead of `--cc=clang`? MoarVM's Configure.pl --help suggests that's a more complete way to use llvm 02:05
02:09 masukomi joined 02:10 masukomi left
Oshawott Oh, --compiler=clang makes the script ignore the --host and --build options, so it doesn't try to cross-compile MoarVM 02:15
github.com/MoarVM/MoarVM/blob/mast...e.pl#L1099
The version of the arguments where you give the host triple and tuple doesn't have a --compiler option in it 02:16
(It actually complains that I didn't pass --host if I supply both --host and --compiler, and it can't run the probe binaries it compiles) 02:17
Wild huh? 02:19
02:20 frost joined
MasterDuke ah. unfortunately i don't know much about cross-compiling, but [Coke] pinged nwc10 over in #moarvm. he's likely to know a lot more, but this is pretty late in his timezone so probably won't be able to respond for a while 02:21
Oshawott Oh! That's okay! And ooh, thank you..! I super-appreciate it hahah 02:26
I'm not really in a hurry or anything, but I figured after just kinda stumbling on the Reddit post about running it on Termux, what it would take to make a proper package for it, since I've done that before for a few games~ ^^ 02:28
I'm not really good at Perl, so the build system has been a bit of a trick to figure out, but Raku has always seemed like a really interesting language to me! So I wanted to do my best to bring it to a platform I care a lot about 02:31
MasterDuke always happy to have people helping out
Oshawott (Hm! Maybe I'll hop over to that other channel too!) 02:32
02:59 labster joined 03:08 derpydoo left 03:28 ProperNoun left, ProperNoun joined 03:29 labster left 03:59 labster joined, spacekookie left, spacekookie joined 04:34 bigdata joined 04:42 labster left 04:48 Guest68 joined 04:54 Guest68 left 04:56 Guest68 joined 05:00 Guest68 left 05:03 Guest68 joined, bigdata left 05:05 Guest68 left 05:15 kueppo joined
Xliff Why doesn't this regular expression work? 06:03
replit.com/@Xliff/RoyalblueDependa...#main.raku
06:04 abraxxa joined 06:07 reportable6 left, reportable6 joined
Xliff Oh, fahrfignugen.... I need the recursive rule. 06:08
Fixed, now.
06:08 abraxxa left 06:09 abraxxa joined 06:16 razetime joined 06:30 Sgeo left 07:19 lichtkind joined 07:36 Tirifto left 07:37 Tirifto joined 08:00 sena_kun joined 08:02 razetime left 08:18 discord-raku-bot left, discord-raku-bot joined
lizmat Fahrvergnugen :-) 08:19
08:19 razetime joined 08:26 kueppo left 08:33 discord-raku-bot left, linkable6 left, discord-raku-bot joined 08:34 linkable6 joined 09:29 sena_kun left
Kernspin Guten Morgen / Bonjour / Доброе утро / Good morning. 09:29
09:32 Kaiepi left
El_Che jnthn is playing with was, I read. Raku is now hip :) 09:32
09:32 razetime left 09:35 Kaiepi joined
Xliff lizmat: Ah! Thanks! ;) 09:42
lizmat Actually: Fahrvergnügen :-) en.wikipedia.org/wiki/Volkswagen_advertising 09:43
10:09 Kaiepi left, razetime joined 10:10 sena_kun joined 10:24 Kaiepi joined 11:24 evalable6 left, linkable6 left, linkable6 joined 11:25 evalable6 joined 11:27 jjido joined 11:54 jjido left 12:06 Kaiepi left, Kaiepi joined 12:07 reportable6 left 12:09 reportable6 joined 12:11 Kaiepi left 12:19 rypervenche left 12:31 Kaiepi joined 12:50 jetchisel left 12:53 jetchisel joined 12:56 jjido joined, abraxxa left, derpydoo joined 13:06 jgaz joined 13:07 frost left 13:08 jgaz left 13:13 Kaipei joined 13:14 Kaipii joined 13:16 Kaiepi left 13:17 Kaipei left 13:27 jgaz joined 13:34 vrurg left 13:36 vrurg joined 13:40 kueppo joined 13:46 razetime left 13:57 kueppo left 14:10 masukomi joined 14:18 Sgeo joined 14:19 kueppo joined
[Coke] can someone verify my take here: github.com/rakudo/rakudo/issues/4546 and maybe we can close it as not a bug. 14:22
14:27 derpydoo left 14:31 razetime joined 14:36 xinming left 14:37 Nemokosch joined
Nemokosch you know what is really interesting 14:37
14:38 xinming joined
Nemokosch nevermind, figured it out lol 14:38
still gonna show it
[Coke] I cannot understand the ask here, can someone translate? github.com/rakudo/rakudo/issues/4515
Nemokosch m: say 12.500000000000002.round((1e-5).Rat) 14:39
camelia 12.500005
Nemokosch hehehe
14:40 kueppo left
Nemokosch [Coke]: I'm afraid someone would need a 2019.03.1 version to even figure it out 14:44
tonyo [Coke]: your response to 4546 looks sane
rational, maybe
Nemokosch building 2019.03.1 in the meantime... 14:49
[Coke] bisectable6: help 14:52
bisectable6 [Coke], Like this: bisectable6: old=2015.12 new=HEAD exit 1 if (^∞).grep({ last })[5] // 0 == 4 # See wiki for more examples: github.com/Raku/whateverable/wiki/Bisectable
[Coke] bisectable6: old=2019.01 new=HEAD Date.today.yyyy-mm-dd("/")
bisectable6 [Coke], Cannot find revision “2019.01” (did you mean “2020.01”?)
[Coke] bisectable6: old=2019.03.01 new=HEAD Date.today.yyyy-mm-dd("/") 14:53
bisectable6 [Coke], Cannot find revision “2019.03.01” (did you mean “2019.03.1”?)
[Coke] bisectable6: old=2019.03.1 new=HEAD Date.today.yyyy-mm-dd("/")
bisectable6 [Coke], Bisecting by exit code (old=2019.03.1 new=4cdb558). Old exit code: 1
[Coke], bisect log: gist.github.com/19651d1bd757920c16...15a45f79d9 14:54
[Coke], (2020-03-14) github.com/rakudo/rakudo/commit/30...059a8507e3
[Coke] ah. so it was an intentional change. closing ticket.
we have 92 tickets in rakudo on GH that are tagged "tests needed" 14:58
These are often adding a raku-level test, with code already available in the ticket if people are looking for some LHF. 14:59
m: say 92/1268
camelia 0.072555
tonyo Nemokosch: ^ 15:05
15:10 jjido left
Nemokosch hm? 15:11
15:15 HvszrStykp joined 15:31 derpydoo joined
[Coke] .seen melezhik 15:37
tellable6 [Coke], I saw melezhik 2022-10-12T15:07:30Z in #raku: <melezhik> tbrowder , sure, thanks again!
[Coke] .ask melezhik - github.com/rakudo/rakudo/issues/4685 - shouldn't this be a Curlie bug, not a rakudo bug? 15:38
tellable6 [Coke], I'll pass your message to melezhik
15:52 euandreh left 16:12 squashable6 left, Kaipii left, squashable6 joined, Kaipii joined 16:17 Kaipii left 16:40 euandreh joined 16:43 Kaipii joined 16:45 sena_kun left 17:32 sena_kun joined, razetime left 17:54 jgaz left 18:07 reportable6 left 18:09 reportable6 joined
tonyo anyone using fez that is willing to provide some feedback/help testing a new bundler that should make bundling a little easier/predictable/reliable? 18:32
18:32 justHaunted is now known as ffffffradiofree, ffffffradiofree is now known as jusFffffffradiof
tonyo please pm if so, going to be afk for a few days. 18:38
18:39 jetchisel left
Nemokosch what do I need to have in order to help? 18:42
18:51 jetchisel joined
tonyo a module to publish and a fez log in 19:03
Nemokosch moment 19:13
19:17 jusFffffffradiof is now known as justThumbs 19:20 justThumbs is now known as justVain 19:38 masukomi left 19:47 jgaz joined 20:36 kueppo joined
lizmat weekly: dev.to/lizmat/its-time-to-rak-part-2-18ha 20:43
notable6 lizmat, Noted! (weekly)
20:45 derpydoo left
Nemokosch > The order in which options (anything that starts with a dash (-) 20:47
20:47 haxxelotto joined
Nemokosch lizmat: this sentence seems to lack an end 20:47
lizmat arg, last minute change... :-) 20:56
fixed
Nemokosch++
21:02 kueppo left
lizmat afk& 21:09
[Coke] want to create a dashboard for issues across various products; any suggestions on how? 21:24
(all on github) 21:25
21:29 haxxelotto left
[Coke] to start, guessing gh API to markdown update a wiki page occasionally 21:30
21:31 haxxelotto joined 21:33 Nemokosch left 21:40 haxxelotto left 21:42 haxxelotto joined 21:48 haxxelotto left 21:50 haxxelotto joined 22:02 vrurg left, haxxelotto left 22:03 vrurg joined 22:07 haxxelotto joined 22:12 haxxelotto left 22:13 haxxelotto joined 22:18 haxxelotto left 22:23 haxxelotto joined 22:24 haxxelotto left 22:25 haxxelotto joined 22:28 haxxelotto left, haxxelotto joined 22:30 haxxelotto left 22:49 jgaz left 22:55 lichtkind left 23:32 epony left 23:42 Sgeo left 23:50 epony joined 23:56 Sgeo joined