Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
ghcup-hs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haskell
ghcup-hs
Merge requests
!169
Fix download for armv7 container on arm64 host
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix download for armv7 container on arm64 host
fix-boot
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Julian Ospald
requested to merge
fix-boot
into
master
3 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
68bbf31a
1 commit,
3 years ago
1 file
+
9
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
scripts/bootstrap/bootstrap-haskell
+
9
−
1
Options
@@ -176,7 +176,15 @@ download_ghcup() {
@@ -176,7 +176,15 @@ download_ghcup() {
_url
=
${
base_url
}
/
${
ghver
}
/armv7-linux-ghcup-
${
ghver
}
_url
=
${
base_url
}
/
${
ghver
}
/armv7-linux-ghcup-
${
ghver
}
;;
;;
aarch64|arm64|armv8l
)
aarch64|arm64|armv8l
)
_url
=
${
base_url
}
/
${
ghver
}
/aarch64-linux-ghcup-
${
ghver
}
# we could be in a 32bit docker container, in which
# case uname doesn't give us what we want
if
[
"
$(
getconf LONG_BIT
)
"
=
"32"
]
;
then
_url
=
${
base_url
}
/
${
ghver
}
/armv7-linux-ghcup-
${
ghver
}
elif
[
"
$(
getconf LONG_BIT
)
"
=
"64"
]
;
then
_url
=
${
base_url
}
/
${
ghver
}
/aarch64-linux-ghcup-
${
ghver
}
else
die
"Unknown long bit size:
$(
getconf LONG_BIT
)
"
fi
;;
;;
*
)
die
"Unknown architecture:
${
arch
}
"
*
)
die
"Unknown architecture:
${
arch
}
"
;;
;;
Loading