Skip to content

Added print for version checks#40

Draft
francislaus wants to merge 2 commits intomasterfrom
version-check
Draft

Added print for version checks#40
francislaus wants to merge 2 commits intomasterfrom
version-check

Conversation

@francislaus
Copy link
Copy Markdown
Collaborator

While this can be greatly improved, it is at least a start to know where thing start going wrong.

@francislaus francislaus self-assigned this May 30, 2025
Copy link
Copy Markdown
Member

@marnovandermaas marnovandermaas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely worth having a print warning for this. Left a few comments from a first read through.


.PHONY: tool-version-check
tool-version-check:
echo "Expected version of cabal is 3.4.0.0 or higher; your version is `cabal --numeric-version`"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this actually check the cabal version?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not check the version, it only does printing.

Makefile Outdated
#

all: vengines riscv-implementations
all: tool-version-check vengines riscv-implementations tool-version-check
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need to add this at the end as well as the beginning?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I copied and forgot to delete one. Should not be fixed.

@francislaus francislaus marked this pull request as draft June 9, 2025 10:24
@francislaus
Copy link
Copy Markdown
Collaborator Author

I converted this to a draft PR as it is more a place holder for now

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

Successfully merging this pull request may close these issues.

2 participants