-
Notifications
You must be signed in to change notification settings - Fork 2
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
Try build ic again after update crystal to 1.12.1, but get ic 1.11.2 #22
Comments
This is expected. The crystal version shown is the one included in the share directory, the place where the interpreter used by IC lives. The version of which crystal it have been compiled doesn't matter, the version of interpreter will stay the same. I done this like that to avoid instability because I have several patches (monkey patching) of the compiler, and sometime the new version of crystal would break theses patches. That said, the
instead of
|
Thanks, so, my understanding is that But, it seem like not true.
So, they just use different version standard library? is there any reason to not update to 1.12.1? |
No, It's the same that the version on The version never change unless I update myself the version on master. (I just updated the master to 1.12.1 yesterday) However if you want to update the crystal version without waiting the update, you could simply fetch the crystal master into using a script like that: #!/bin/sh
# version=1.11.2
version=1.12.1
rm -Rf share/crystal-ic
# Fetch the crystal-i interpreter from the official crystal repo:
curl -L https://github.com/crystal-lang/crystal/archive/refs/tags/$version.zip > crystal.zip
unzip crystal
mkdir -p share/crystal-ic
mv crystal-$version/src share/crystal-ic/src
mv crystal-$version/lib share/crystal-ic/lib
mv crystal-$version/Makefile share/crystal-ic/
mv crystal-$version/LICENSE share/crystal-ic/
rm -Rf crystal.zip crystal-$version But keep in mind that doing this could break IC if the compiler internal have changed. |
My current crystal was compiled by myself, and update into 1.12.1
But when i try to rebuilt ic use
make release
, l always get the ic of verison 1.11.2What is expected is, 1.12.1.
Thanks.
The text was updated successfully, but these errors were encountered: