Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
ci
Commits
639dde2c
Commit
639dde2c
authored
Feb 19, 2020
by
Ralf Jung
Browse files
more work arounds for more opam quirks
parent
d27b6051
Changes
1
Hide whitespace changes
Inline
Side-by-side
prepare-opam.sh
View file @
639dde2c
## This script installs the build dependencies for CI builds.
# Prepare OPAM configuration
# Prepare OPAM configuration
.
export
OPAMROOT
=
"
$(
pwd
)
/opamroot"
export
OPAMJOBS
=
"
$((
2
*
$CPU_CORES
))
"
export
OPAM_EDITOR
=
"
$(
which
false
)
"
export
OPAMEDITOR
=
"
$(
which
false
)
"
export
OPAMRETRIES
=
3
# Work around some OPAM bugs/quirks.
export
OPAMDROPWORKINGDIR
=
1
export
OPAMRE
TRES
=
3
export
OPAM
P
RE
CISETRACKING
=
1
# Delete OPAM 1.2 root, if that's what we got
if
test
-d
"
$OPAMROOT
"
&&
fgrep
'opam-version: "1.2"'
"
$OPAMROOT
/config"
-q
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment