-
Notifications
You must be signed in to change notification settings - Fork 0
chore: [sc-129896] Upgrade Smurf to GHC 9.2 #14
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
Closed
Closed
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
ab45190
[sc-129896] compile hls from source
codygman 25632d5
[sc-129896] default to ghc 9.2.5
codygman 2faed2b
[sc-129896] update other 9.2.4 instances to 9.2.5
codygman 837dad8
[sc-129896] remove -j for now
codygman ae91a92
[sc-129896] fix syntax
codygman 726a7bb
[sc-129896] only install hls for ghc 9.2.5
codygman dd2f657
[sc-129896] add git hash to hls exe name
codygman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I can come back and make a conditional here to install 1.8 for 9.0.2 if we really want, but I'd prefer to get things working end to end in smurf first.
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.
Here is what I'd like:
I feel like the easiest way to support that would be to have two environment variables:
HLS_GIT_REF
andHLS_VERSION
. IfHLS_GIT_REF
is set, HLS will be compiled from source usingghcup compile hls -g $HLS_GIT_REF
. Otherwise, ifHLS_VERSION
is set, HLS will be installed usingghcup install hls $HLS_VERSION
. If neither are set, HLS is not installed.Or perhaps we could try to be fancy by keeping the single
HLS_VERSION
variable and checking to see if it looks like a commit. If it does, compile; otherwise install.For example:
That way we can use
HLS_VERSION=1.8.0.0
forGHC_VERSION=9.0.2
(as we currently do), but also supportHLS_VERSION=5d56aa70a84807d7659e72eacd4d91fee08dbdbb
forGHC_VERSION=9.2.5
andGHC_VERSION=9.4.3
.What do you think?