Skip to content
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

Older V does not compile #5

Open
ndac-todoroki opened this issue Jun 28, 2019 · 4 comments
Open

Older V does not compile #5

ndac-todoroki opened this issue Jun 28, 2019 · 4 comments

Comments

@ndac-todoroki
Copy link
Owner

ndac-todoroki commented Jun 28, 2019

asdf install v 0.1.7 works while 0.1.6 0.1.5 does not. (0.1.7 is the latest now)
This may be happening because asdf-v uses the newest v.c in git, but V is currently drastically changing and could be introducing breaking changes to the compiler.

Although, vlang/vc doesn't keep v.cs in releases, so it is a bit hard to get the latest v.c of the given version. (It could be done from the commits https://github.com/vlang/vc/commits/master, but you need to parse all the commit messages.)
There are limits to the github api too.

@ndac-todoroki
Copy link
Owner Author

It may be better to first clone the whole repo, and find for the commit locally?

@ndac-todoroki
Copy link
Owner Author

ndac-todoroki commented Jun 28, 2019

Maybe the whole install process could use git clone, although that requires git. (clone itself could be performed without git, but parsing commits should be done via git rather than including some executable created by me.)

After the 0.2.0 release (or 1.0.0?) when V became stable and the compiler is released within the same tag of the V itself, hopefully we could introduce the tar.gz installation again.

@ndac-todoroki
Copy link
Owner Author

Now asdf-v fetches v.c from the vc repo.
Only versions which have the same tag for v and v.c could compile for now.

@ndac-todoroki
Copy link
Owner Author

Also, dropped support for versions which require ~/code or VROOT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant