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
crystal: 0.23.0 -> 0.23.1 #29966
crystal: 0.23.0 -> 0.23.1 #29966
Conversation
Does it build with |
@orivej No, still need twice on |
|
This version of crystal does not support llvm5. The next thing I wanted to check is if the previous release of crystal could compile this release. |
I think by applying the patch I mentioned above, this version of crystal can use |
This patch fixes adds support for LLVM 5 but does not fix the build:
|
It works, I pushed the result to this pull request. Could you test it on macOS? |
Oh, so I misunderstood the problem, what make archlinux successfully build 0.23.1 is I did a quick testing to build crystal using old version of crystal ( https://gist.github.com/sifmelcara/c5d5b0670bf82693a5bdc9468bb16fb9 ) |
Indeed. That's ridiculous! Can you distinguish 0.23.0 from 0.23.1 not looking at the version number? |
crystal-lang/crystal#4687 |
''; | ||
|
||
makeFlags = [ "release=1" "all" "doc" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add "CRYSTAL_CONFIG_VERSION=${version}" to makeFlags seems to fix the issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the investigation!
7540781
to
b866890
Compare
Due to crystal-lang/crystal#4719, when building Crystal with LLVM 4 with debug infos from prebuilt binary (w/ LLVM 3.8) will always be failed. The temporary solution is to build a LLVM 4 version without debug info, then use it to build Crystal with debug info on LLVM 4. This will cause building phrase going longer then normal. We can remove this hack after Crystal fix the issue.
Motivation for this change
Update the package to the latest version (0.23.1-3).
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)