Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
examples
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
Iris
examples
Commits
097589c8
Commit
097589c8
authored
8 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
update build system; update Iris to latest master
parent
fd6e6f17
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+7
-12
7 additions, 12 deletions
Makefile
opam.pins
+1
-1
1 addition, 1 deletion
opam.pins
with
8 additions
and
13 deletions
Makefile
+
7
−
12
View file @
097589c8
...
@@ -8,7 +8,7 @@ COQ_VERSION=$(shell coqc --version | egrep -o 'version 8.[0-9]' | egrep -o '8.[0
...
@@ -8,7 +8,7 @@ COQ_VERSION=$(shell coqc --version | egrep -o 'version 8.[0-9]' | egrep -o '8.[0
COQ_MAKEFILE_FLAGS
?=
COQ_MAKEFILE_FLAGS
?=
ifeq
($(COQ_VERSION), 8.6)
ifeq
($(COQ_VERSION), 8.6)
COQ_MAKEFILE_FLAGS
+=
-arg
-w
-arg
-notation-overridden
,-redundant-canonical-projection
COQ_MAKEFILE_FLAGS
+=
-arg
-w
-arg
-notation-overridden
,-redundant-canonical-projection
,-several-object-files
endif
endif
# Forward most targets to Coq makefile (with some trick to make this phony)
# Forward most targets to Coq makefile (with some trick to make this phony)
...
@@ -20,19 +20,13 @@ all: Makefile.coq
...
@@ -20,19 +20,13 @@ all: Makefile.coq
clean
:
Makefile.coq
clean
:
Makefile.coq
+@make
-f
Makefile.coq clean
+@make
-f
Makefile.coq clean
find
\(
-name
"*.v.d"
-o
-name
"*.vo"
-o
-name
"*.aux"
-o
-name
"*.cache"
-o
-name
"*.glob"
-o
-name
"*.vio"
\)
-print
-delete
find
theories
\(
-name
"*.v.d"
-o
-name
"*.vo"
-o
-name
"*.aux"
-o
-name
"*.cache"
-o
-name
"*.glob"
-o
-name
"*.vio"
\)
-print
-delete
rm
-f
Makefile.coq
rm
-f
Makefile.coq
# Create Coq Makefile
# Create Coq Makefile. POSIX awk can't do in-place editing, but coq_makefile wants the real filename, so we do some file gymnastics.
Makefile.coq
:
_CoqProject Makefile
Makefile.coq
:
_CoqProject Makefile awk.Makefile
@
# we want to pass the correct name to coq_makefile or it will be confused.
coq_makefile
$(
COQ_MAKEFILE_FLAGS
)
-f
_CoqProject
-o
Makefile.coq
coq_makefile
$(
COQ_MAKEFILE_FLAGS
)
-f
_CoqProject
-o
Makefile.coq
mv
Makefile.coq Makefile.coq.tmp
mv
Makefile.coq Makefile.coq.tmp
&&
awk
-f
awk.Makefile Makefile.coq.tmp
>
Makefile.coq
&&
rm
Makefile.coq.tmp
@
# The sed script is for Coq 8.5 only, it fixes 'make verify'.
@
# The awk script fixes 'make uninstall'.
sed
's/
$$(
COQCHK
)
$$(
COQCHKFLAGS
)
$$(
COQLIBS
)
/
$$(
COQCHK
)
$$(
COQCHKFLAGS
)
$$(
subst -Q,-R,
$$(
COQLIBS
))
/'
< Makefile.coq.tmp
\
|
awk
'/^uninstall:/{print "uninstall:";print "\tif [ -d \"
$$(
DSTROOT
)
\"
$$(
COQLIBINSTALL
)
/iris/ ]; then find \"
$$(
DSTROOT
)
\"
$$(
COQLIBINSTALL
)
/iris/ -name \"*.vo\" -print -delete; fi";getline;next}1'
>
Makefile.coq
rm
Makefile.coq.tmp
# Install build-dependencies
# Install build-dependencies
build-dep
:
build-dep
:
...
@@ -42,9 +36,10 @@ build-dep:
...
@@ -42,9 +36,10 @@ build-dep:
opam
install
coq-iris-atomic
--deps-only
$(
YFLAG
)
opam
install
coq-iris-atomic
--deps-only
$(
YFLAG
)
opam pin remove coq-iris-atomic
opam pin remove coq-iris-atomic
#
s
ome fi
e
ls that do *not* need to be forwarded to Makefile.coq
#
S
ome fil
e
s that do *not* need to be forwarded to Makefile.coq
Makefile
:
;
Makefile
:
;
_CoqProject
:
;
_CoqProject
:
;
awk.Makefile
:
;
# Phony targets (i.e. targets that should be run no matter the timestamps of the involved files)
# Phony targets (i.e. targets that should be run no matter the timestamps of the involved files)
phony
:
;
phony
:
;
...
...
This diff is collapsed.
Click to expand it.
opam.pins
+
1
−
1
View file @
097589c8
coq-iris https://gitlab.mpi-sws.org/FP/iris-coq
e0789039ed0dcb01b6249fec2d5a36f66e5de21c
coq-iris https://gitlab.mpi-sws.org/FP/iris-coq
01d12014855abe6adaea20bbb35b1e9beadff14e
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