Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Abel Nieto
Iris
Commits
1f868c7b
Commit
1f868c7b
authored
5 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
fix _CoqProject; disable tests (they are broken); reduce CI
parent
af5b3ffc
Branches
ci/ralf/transfinite
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitlab-ci.yml
+3
-35
3 additions, 35 deletions
.gitlab-ci.yml
Makefile
+3
-9
3 additions, 9 deletions
Makefile
Makefile.coq.local
+0
-43
0 additions, 43 deletions
Makefile.coq.local
README.md
+1
-6
1 addition, 6 deletions
README.md
_CoqProject
+1
-3
1 addition, 3 deletions
_CoqProject
with
8 additions
and
96 deletions
.gitlab-ci.yml
+
3
−
35
View file @
1f868c7b
...
...
@@ -14,12 +14,12 @@ variables:
-
git clone https://gitlab.mpi-sws.org/iris/ci.git ci -b opam2
-
ci/buildjob
cache
:
key
:
"
$CI_JOB_NAME"
key
:
"
$CI_JOB_NAME
-transfinite
"
paths
:
-
opamroot/
only
:
-
master
-
/^ci/
-
/^
master
/@iris/iris
-
/^ci/
@iris/iris
except
:
-
triggers
-
schedules
...
...
@@ -27,41 +27,9 @@ variables:
## Build jobs
build-coq.dev
:
<<
:
*template
variables
:
OCAML
:
"
ocaml-base-compiler.4.07.0"
OPAM_PINS
:
"
coq
version
dev"
CI_COQCHK
:
"
1"
build-coq.8.10.dev
:
<<
:
*template
variables
:
OCAML
:
"
ocaml-base-compiler.4.07.0"
OPAM_PINS
:
"
coq
version
8.10.dev"
build-coq.8.9.1
:
<<
:
*template
variables
:
OPAM_PINS
:
"
coq
version
8.9.1"
build-coq.8.9.0
:
<<
:
*template
variables
:
OPAM_PINS
:
"
coq
version
8.9.0"
OPAM_PKG
:
"
coq-iris"
DOC_DIR
:
"
coqdoc@center.mpi-sws.org:iris"
DOC_OPTS
:
"
--external
https://plv.mpi-sws.org/coqdoc/stdpp/
stdpp"
TIMING_CONF
:
"
coq-8.9.0"
tags
:
-
fp-timing
build-coq.8.8.2
:
<<
:
*template
variables
:
OPAM_PINS
:
"
coq
version
8.8.2"
build-coq.8.7.2
:
<<
:
*template
variables
:
OPAM_PINS
:
"
coq
version
8.7.2"
This diff is collapsed.
Click to expand it.
Makefile
+
3
−
9
View file @
1f868c7b
...
...
@@ -9,7 +9,7 @@ all: Makefile.coq
clean
:
Makefile.coq
+@make
-f
Makefile.coq clean
find theories tests
\(
-name
"*.d"
-o
-name
"*.vo"
-o
-name
"*.aux"
-o
-name
"*.cache"
-o
-name
"*.glob"
-o
-name
"*.vio"
\)
-print
-delete
||
true
rm
-f
Makefile.coq
rm
-f
Makefile.coq
.lia.cache
.PHONY
:
clean
# Create Coq Makefile.
...
...
@@ -29,14 +29,8 @@ build-dep: build-dep/opam phony
@
# that are incompatible with our build requirements.
@
# To achieve this, we create a fake opam package that has our build-dependencies as
@
# dependencies, but does not actually install anything itself.
@
echo
"# Pinning build-dep package."
&&
\
if
opam
--version
|
grep
"^1
\.
"
-q
;
then
\
BUILD_DEP_PACKAGE
=
"
$$(
egrep "
^name:
" build-dep/opam | sed 's/^name: *"
\(
.
*
\)
" */
\1
/'
)
"
&&
\
opam pin add
-k
path
$(
OPAMFLAGS
)
"
$$
BUILD_DEP_PACKAGE"
.dev build-dep
&&
\
opam reinstall
$(
OPAMFLAGS
)
"
$$
BUILD_DEP_PACKAGE"
;
\
else
\
opam
install
$(
OPAMFLAGS
)
build-dep/
;
\
fi
@
echo
"# Installing build-dep package."
@
opam
install
$(
OPAMFLAGS
)
build-dep/
# Some files that do *not* need to be forwarded to Makefile.coq
Makefile
:
;
...
...
This diff is collapsed.
Click to expand it.
Makefile.coq.local
deleted
100644 → 0
+
0
−
43
View file @
af5b3ffc
# Run tests interleaved with main build. They have to be in the same target for this.
real-all
:
$(if $(NO_TEST)
,,
test)
# the test suite
TESTFILES
=
$(
wildcard tests/
*
.v
)
NORMALIZER
=
test-normalizer.sed
test
:
$(TESTFILES:.v=.vo)
.PHONY
:
test
COQ_TEST
=
$(
COQTOP
)
$(
COQDEBUG
)
-batch
-test-mode
COQ_OLD
=
$(
shell
echo
"
$(
COQ_VERSION
)
"
| egrep
"^8
\.
7
\b
"
-q
&&
echo
1
)
COQ_MINOR_VERSION
=
$(
shell
echo
"
$(
COQ_VERSION
)
"
| egrep
'^[0-9]+\.[0-9]+\b'
-o
)
tests/.coqdeps.d
:
$(TESTFILES)
$(
SHOW
)
'COQDEP TESTFILES'
$(
HIDE
)$(
COQDEP
)
-dyndep
var
$(
COQMF_COQLIBS_NOML
)
$^
$(
redir_if_ok
)
-include
tests/.coqdeps.d
# Main test script (comments out-of-line because macOS otherwise barfs?!?)
# - Determine reference file (`REF`).
# - Print user-visible status line.
# - Dump Coq output into a temporary file.
# - Run `sed -i` on that file in a way that works on macOS.
# - Either compare the result with the reference file, or move it over the reference file.
# - Cleanup, and mark as done for make.
$(TESTFILES
:
.v=.vo): %.vo: %.v $(if $(MAKE_REF)
,,
%.ref) $(NORMALIZER)
$(
HIDE
)
TEST
=
"
$$(
basename -s .v
$<
)
"
&&
\
if
test
-f
"tests/
$$
TEST.
$(
COQ_MINOR_VERSION
)
.ref"
;
then
\
REF
=
"tests/
$$
TEST.
$(
COQ_MINOR_VERSION
)
.ref"
;
\
else
\
REF
=
"tests/
$$
TEST.ref"
;
\
fi
&&
\
echo
"COQTEST
$(
if
$(
COQ_OLD
)
, [no ref],
$(
if
$(
MAKE_REF
)
, [make ref],
))
$<
$(
if
$(
COQ_OLD
)
,, (ref:
$$
REF
)
)"
&&
\
TMPFILE
=
"
$$(
mktemp
)
"
&&
\
$(
TIMER
)
$(
COQ_TEST
)
$(
COQFLAGS
)
$(
COQLIBS
)
-load-vernac-source
$<
>
"
$$
TMPFILE"
&&
\
sed
-f
$(
NORMALIZER
)
"
$$
TMPFILE"
>
"
$$
TMPFILE"
.new
&&
\
mv
"
$$
TMPFILE"
.new
"
$$
TMPFILE"
&&
\
$(
if
$(
COQ_OLD
)
,true,
\
$(
if
$(
MAKE_REF
)
,mv
"
$$
TMPFILE"
"
$$
REF"
,diff
-u
"
$$
REF"
"
$$
TMPFILE"
)
\
)
&&
\
rm
-f
"
$$
TMPFILE"
&&
\
touch
$@
This diff is collapsed.
Click to expand it.
README.md
+
1
−
6
View file @
1f868c7b
...
...
@@ -18,14 +18,9 @@ definitions and some derived forms is available in
This version is known to compile with:
-
Coq
8.7.2 / 8.8.2 / 8.9.0 /
8.9.1
-
Coq 8.9.1
-
A development version of
[
std++
](
https://gitlab.mpi-sws.org/iris/stdpp
)
For a version compatible with Coq 8.6, have a look at the
[
iris-3.1 branch
](
https://gitlab.mpi-sws.org/iris/iris/tree/iris-3.1
)
.
If you need to work with Coq 8.5, please check out the
[
iris-3.0 branch
](
https://gitlab.mpi-sws.org/iris/iris/tree/iris-3.0
)
.
### Working *with* Iris
To use Iris in your own proofs, we recommend you install Iris via opam (1.2.2 or
...
...
This diff is collapsed.
Click to expand it.
_CoqProject
+
1
−
3
View file @
1f868c7b
...
...
@@ -17,7 +17,6 @@ theories/algebra/monoid.v
theories/algebra/ofe.v
theories/algebra/cmra.v
theories/algebra/updates.v
theories/algebra/local_updates.v
theories/base_logic/base_logic.v
theories/program_logic/language.v
theories/bi/notation.v
...
...
@@ -25,7 +24,6 @@ theories/bi/interface.v
theories/bi/derived_connectives.v
theories/bi/derived_laws_bi.v
theories/bi/derived_laws_sbi.v
theories/bi/weakestpre.v
theories/algebra/big_op.v
...
...
@@ -139,4 +137,4 @@ theories/proofmode/class_instances_sbi.v
theories/proofmode/frame_instances.v
# theories/proofmode/monpred.v
theories/proofmode/modalities.v
theories/proofmode/modality_instances.v
\ No newline at end of file
theories/proofmode/modality_instances.v
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment