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
!94
Update CI
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update CI
update-CI
into
master
Overview
0
Commits
12
Pipelines
16
Changes
8
Merged
Julian Ospald
requested to merge
update-CI
into
master
4 years ago
Overview
0
Commits
12
Pipelines
16
Changes
8
Expand
0
0
Merge request reports
Compare
master
version 14
e742be76
4 years ago
version 13
5214c35b
4 years ago
version 12
4fed09cc
4 years ago
version 11
485549ca
4 years ago
version 10
76c8fd46
4 years ago
version 9
700e0453
4 years ago
version 8
fedc0bbe
4 years ago
version 7
22b5b791
4 years ago
version 6
f77971e7
4 years ago
version 5
2c077db3
4 years ago
version 4
860aa0da
4 years ago
version 3
ecfed1a2
4 years ago
version 2
96bcbbee
4 years ago
version 1
9503e79e
4 years ago
master (base)
and
latest version
latest version
f7868dc6
12 commits,
4 years ago
version 14
e742be76
11 commits,
4 years ago
version 13
5214c35b
9 commits,
4 years ago
version 12
4fed09cc
9 commits,
4 years ago
version 11
485549ca
9 commits,
4 years ago
version 10
76c8fd46
9 commits,
4 years ago
version 9
700e0453
8 commits,
4 years ago
version 8
fedc0bbe
7 commits,
4 years ago
version 7
22b5b791
7 commits,
4 years ago
version 6
f77971e7
7 commits,
4 years ago
version 5
2c077db3
5 commits,
4 years ago
version 4
860aa0da
3 commits,
4 years ago
version 3
ecfed1a2
2 commits,
4 years ago
version 2
96bcbbee
1 commit,
4 years ago
version 1
9503e79e
1 commit,
4 years ago
8 files
+
343
−
154
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
.gitlab/before_script/darwin/install_deps.sh
+
28
−
6
Options
@@ -6,12 +6,34 @@ set -eux
mkdir
-p
"
${
TMPDIR
}
"
curl
-sSfL
https://downloads.haskell.org/~ghcup/x86_64-apple-darwin-ghcup
>
./ghcup-bin
chmod
+x ghcup-bin
if
[
$ARCH
=
'ARM64'
]
;
then
curl
-L
-O
https://downloads.haskell.org/~ghc/8.10.5/ghc-8.10.5-aarch64-apple-darwin.tar.xz
tar
-xf
ghc-
*
.tar.
*
cd
ghc-
*
./configure
--prefix
=
"
${
GHCUP_INSTALL_BASE_PREFIX
}
"
/.ghcup/ghc/8.10.5
make
install
for
i
in
"
${
GHCUP_INSTALL_BASE_PREFIX
}
"
/.ghcup/ghc/8.10.5/bin/
*
-8
.10.5
;
do
ln
-s
"
${
i
}
"
"
${
GHCUP_INSTALL_BASE_PREFIX
}
"
/.ghcup/bin/
${
i
##*/
}
done
for
x
in
"
${
GHCUP_INSTALL_BASE_PREFIX
}
"
/.ghcup/bin/
*
-8
.10.5
;
do
ln
-s
${
x
##*/
}
${
x
%-8.10.5
}
done
unset
x i
cd
..
rm
-rf
ghc-8.10.5 ghc-
*
.tar.
*
./ghcup-bin upgrade
-i
-f
./ghcup-bin
install
${
GHC_VERSION
}
./ghcup-bin
set
${
GHC_VERSION
}
./ghcup-bin install-cabal
${
CABAL_VERSION
}
curl
-L
-O
https://github.com/haskell/cabal/files/6617482/cabal-install-3.5-arm64-darwin-11.4-bootstrapped.tar.gz
tar
xf cabal-install-
*
mv
cabal
"
${
GHCUP_INSTALL_BASE_PREFIX
}
"
/.ghcup/bin/cabal
rm
-rf
cabal-install
else
curl
-sSfL
https://downloads.haskell.org/~ghcup/x86_64-apple-darwin-ghcup
>
./ghcup-bin
chmod
+x ghcup-bin
./ghcup-bin upgrade
-i
-f
./ghcup-bin
install
${
GHC_VERSION
}
./ghcup-bin
set
${
GHC_VERSION
}
./ghcup-bin install-cabal
${
CABAL_VERSION
}
fi
exit
0
Loading