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
dc9ddbbc
Commit
dc9ddbbc
authored
Jun 04, 2021
by
Ralf Jung
Browse files
temporary dev-repo-cleanup
parent
1db2924c
Changes
1
Hide whitespace changes
Inline
Side-by-side
prepare-opam.sh
View file @
dc9ddbbc
...
...
@@ -36,13 +36,16 @@ eval `opam conf env`
# By default, they are added with rank 1, i.e. at the top of the list. So we add them with increasing priority.
test
-d
"
$OPAMROOT
/repo/coq-released"
||
opam repo add coq-released https://coq.inria.fr/opam/released
if
echo
"
$@
"
| egrep
"(dev|beta)"
>
/dev/null
;
then
# Temporary: clean up some mess
test
-d
"
$OPAMROOT
/repo/coq-extra-dev"
&&
opam repo
-a
remove coq-extra-dev
test
-d
"
$OPAMROOT
/repo/coq-core-dev"
&&
opam repo
-a
remove coq-core-dev
# We are compiling against a dev version of something. Get ourselves the dev repositories.
test
-d
"
$OPAMROOT
/repo/coq-extra-dev"
||
opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev
test
-d
"
$OPAMROOT
/repo/coq-core-dev"
||
opam repo add coq-core-dev https://coq.inria.fr/opam/core-dev
test
-d
"
$OPAMROOT
/repo/coq-extra-dev"
||
opam repo
-a
add coq-extra-dev https://coq.inria.fr/opam/extra-dev
test
-d
"
$OPAMROOT
/repo/coq-core-dev"
||
opam repo
-a
add coq-core-dev https://coq.inria.fr/opam/core-dev
else
# No dev version, make sure we do not have the dev repositories.
test
-d
"
$OPAMROOT
/repo/coq-extra-dev"
&&
opam repo remove coq-extra-dev
test
-d
"
$OPAMROOT
/repo/coq-core-dev"
&&
opam repo remove coq-core-dev
test
-d
"
$OPAMROOT
/repo/coq-extra-dev"
&&
opam repo
-a
remove coq-extra-dev
test
-d
"
$OPAMROOT
/repo/coq-core-dev"
&&
opam repo
-a
remove coq-core-dev
fi
test
-d
"
$OPAMROOT
/repo/iris-dev"
||
opam repo add iris-dev git+https://gitlab.mpi-sws.org/iris/opam.git
opam repo prio iris-dev 1
# make sure this stays at the top
...
...
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