<botandrose>
how long should it take to build a fresh crystal from source? make has been sitting there with no output for ~20 min. i think something aint right...
<jhass>
20min is a bit long yeah
<jhass>
attach an strace?
<jhass>
or just ctrl+c and retry I guess
<botandrose>
did the latter, trying to figure out how to do the former :) strace -p PID_OF_MAKE?
<botandrose>
wait4(-1,
<jhass>
hrm
<jhass>
what's the resource stats on the process
<botandrose>
wait nvm that was strace hitting the make process. all sorts of stuff is going down in the main build process. so i guess its working
<jhass>
?
<jhass>
mh, what are you system specs?
<jhass>
also release mode or not?
<botandrose>
its using about 30% of my cpu
<botandrose>
core i7, 8 cores, 16GB RAM, should be good enough
<botandrose>
i dunno about release mode? just cloned and ran make
<jhass>
granted I have some stuff cached, but make is done in < 90 secs here :/
<botandrose>
might be caught in a loop, seeing a fair amount of ENOENTs in the strace
<botandrose>
execve("./bin/bash", ["bash", "/home/micah/work/crystal/bin/cry"..., "build", "-o", ".build/crystal", "src/compiler/crystal.cr"], [/* 78 vars */]) = -1 ENOENT (No such file or directory)
<botandrose>
for example
<jhass>
weird
<jhass>
mh, you do have a released crystal installed, right?
<botandrose>
yes
<jhass>
at the prompt / pwd where you ran make, what does which crystal return?
<jhass>
I thought I managed to hack loop detection into bin/crystal but who knows ...
<botandrose>
okay, i figured it out
<botandrose>
i had ./bin appended to my PATH
<botandrose>
removed that, and it built very quickly
<jhass>
meh, so much for my loop detection
<botandrose>
well, there's an easy way to reproduce, at least. ;)
<botandrose>
thanks for your help!
<botandrose>
look for a PR from me shortly...
<jhass>
cool!
botandrose has quit [Quit: Page closed]
jwaldrip___ has quit [Quit: Be back later ...]
blue_deref has quit [Quit: bbn]
<crystal-gh>
[crystal] botandrose opened pull request #1894: Ensure `crystal deps` fails with a non-zero exit code if `shards` does (master...propagate_crystal_deps_exit_status) http://git.io/v4B9b
xd1le has joined #crystal-lang
<crystal-gh>
[crystal] jhass pushed 2 new commits to master: http://git.io/v4B5D
<crystal-gh>
crystal/master 52e2f35 Jonne Haß: Merge pull request #1894 from botandrose/propagate_crystal_deps_exit_status...
<crystal-gh>
crystal/master 0a8ee09 Micah Geisel: ensure crystal deps fails with a nonzero exit code if shards does.
<ytti>
commit messages prefer imperative present, i've personally used it in documents too
leafybasil has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
leafybasil has quit [Read error: Connection reset by peer]
leafybas_ has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
Kendos-Kenlen has joined #crystal-lang
<BlaXpirit>
ye that's stupid
ssvb has quit [Ping timeout: 240 seconds]
olek_poz has quit [Ping timeout: 260 seconds]
ssvb has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
ssvb has quit [Quit: Leaving]
olek_poz has joined #crystal-lang
xd1le has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
olek_poz has quit [Ping timeout: 260 seconds]
pawnbox_ has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
A124 has quit [Quit: '']
olek_poz has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
trapped has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
Kendos-Kenlen has quit [Quit: Konversation terminated!]
Guest67018 has quit [Remote host closed the connection]
toydestroyer has joined #crystal-lang
fschuindt has joined #crystal-lang
<fschuindt>
Hello everyone, I'm so excited about this language haha. Let me see if I got it, it compiles into a binary, right? It's a real binary or it's bytecode? I'm looking for a good compiled language to learn... I'm studyng Go already, but I found Crystal very attractive once I'm a Ruby developer. Is it possible to distribute an comercial closed-source software with it? (Protected source-code) It compiles for
<fschuindt>
Windows too or Unix only?
<fschuindt>
Sorry to ask here, I can't find those exactly informations in the web
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
leafybasil has joined #crystal-lang
leafybas_ has quit [Read error: Connection reset by peer]
<jhass>
fschuindt: it's a "real" binary, yes. Crystal generates LLVM IR and then calls out to LLVM to compile it
<jhass>
fschuindt: crystal and its standard library is licensed under Apache-2.0, so that gives you full redistribution rights in any form
<jhass>
fschuindt: due to being a LLVM frontend, we get Windows support for free, in theory. However the standard library is as incompatible as it gets and non of the core developers is actively working with windows or towards support, so it's gonna take some time for some fork to be usable to the point that we can merge it into the main repository
<fschuindt>
jhass: Thank you very much. I'm willing to help. I'm watching some videos about it in the YouTube to get a better taste of it.
<jhass>
yeah, they're defined on Buffered and Unbuffered only
leafybas_ has joined #crystal-lang
leafybasil has quit [Ping timeout: 240 seconds]
olek_poz has quit [Ping timeout: 260 seconds]
leafybas_ has quit [Remote host closed the connection]
Bofu2U has quit [Ping timeout: 260 seconds]
Bofu2U has joined #crystal-lang
Sadin has joined #crystal-lang
bjmllr has quit [Read error: Connection reset by peer]
Bofu2U has quit [Ping timeout: 244 seconds]
leafybasil has joined #crystal-lang
bjmllr has joined #crystal-lang
olek_poz has joined #crystal-lang
leafybasil has quit [Ping timeout: 260 seconds]
blue_deref has joined #crystal-lang
blue_deref has quit [Remote host closed the connection]
bjmllr has quit [Remote host closed the connection]
Bofu2U has joined #crystal-lang
ponga has quit [Quit: Connection closed for inactivity]
Sadin has quit [Ping timeout: 255 seconds]
bjmllr has joined #crystal-lang
slash_nick is now known as slash_quit
Cidan is now known as zz_Cidan
Bofu2U has quit [Read error: Connection reset by peer]
zz_Cidan is now known as Cidan
Bofu2U has joined #crystal-lang
Bofu2U has quit [Ping timeout: 240 seconds]
Bofu2U has joined #crystal-lang
<Papierkorb>
jhass: do you have a really rough eta about the release of crystal 1.0? Less than a year? More?
<jhass>
I don't
<jhass>
but I don't expect next year
<Papierkorb>
k, thanks
<RX14>
jhass, about the stdlib and windows, what about cygwin?
<RX14>
i wonder if some of the libraries would be available there
<jhass>
RX14: I know shit about windows
<RX14>
haha same
<jhass>
RX14: but I vaguely remember the pain of installing .net and updating it all the time, the fewer dependencies we have on windows the better, dependency management is a royal pain there and cygwin would be a huge one
<RX14>
well, it would be a nice workaround
Bofu2U has quit [Max SendQ exceeded]
<RX14>
the good thing is we could use it as a base to then gradually port the stdlib
<jhass>
there's no real reason for not doing it properly
<RX14>
laziness
<RX14>
:3
<jhass>
anyway, the people actually working on a port should decide that stuff
Bofu2U has joined #crystal-lang
<RX14>
well there doesn't seem to be much progrwess
pawnbox has quit [Ping timeout: 276 seconds]
Bofu2U has quit [Ping timeout: 276 seconds]
slash_quit is now known as slash_nick
Sadin has joined #crystal-lang
pawnbox has joined #crystal-lang
yawniek has joined #crystal-lang
Bofu2U has joined #crystal-lang
fowlduck has joined #crystal-lang
Cidan is now known as zz_Cidan
zz_Cidan is now known as Cidan
Bofu2U has quit [Read error: Connection reset by peer]
<omninonsense>
is there a way to raise at compile time?