-
Notifications
You must be signed in to change notification settings - Fork 0
chore: [sc-126569] Upgrade to GHC 9.2 #7
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
de6e4a4
[sc-126569] compile hls with ghcup for 9.2.4
codygman 1d1bf0b
[sc-126569] only compile ghc for 9.2.4
codygman ec0b121
[sc-126569] use external file for install hls
codygman b75511e
[sc-126569] remove line continuations in script
codygman b5c2aaa
try -j1 to compile hls with actions
codygman 487d9a3
fix
codygman 29b317f
Try to fix HLS install
tfausak 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -o errexit -o xtrace; | ||
|
||
# shouldn't this get picked up from the docker environment? maybe not... | ||
export HLS_VERSION="1.7.0.0" | ||
|
||
if [[ "$GHC_VERSION" == "9.2.4" ]]; then | ||
if test -n "$HLS_VERSION"; then | ||
ghcup compile hls -j1 -g 26a6ca607930b85bb1a2491b8deaf1a363c2e3df --ghc "$GHC_VERSION" --cabal-update | ||
else | ||
ghcup install hls "$HLS_VERSION" --set | ||
fi | ||
ghcup gc --hls-no-ghc; | ||
haskell-language-server-wrapper --version | ||
fi |
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.
Are we not changing the default yet? I changed this because I assumed we were.
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 hadn't changed the default yet because I wanted the default no-arg Docker build to work: #5 (comment)