Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
120
Issues
120
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
e4f105d2
Commit
e4f105d2
authored
Apr 05, 2012
by
Jean-Christophe Filliâtre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed compilation of Coq plug-in with make -j
test-api no longer depends on why3.cma
parent
f1beb06a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
16 deletions
+22
-16
.gitignore
.gitignore
+2
-1
Makefile.in
Makefile.in
+20
-15
No files found.
.gitignore
View file @
e4f105d2
...
...
@@ -128,7 +128,8 @@ why3.conf
# /src/coq-plugin/
/src/coq-plugin/g_why3tac.ml
/src/coq-plugin/why3tac.cma
/src/coq-plugin/.why3-vo-*
/lib/coq-plugin/why3tac.cma
# /src/driver/
/src/driver/driver_lexer.ml
...
...
Makefile.in
View file @
e4f105d2
...
...
@@ -815,14 +815,8 @@ $(COQPCMO) $(COQPCMX): INCLUDES += $(COQPINCLUDES)
$(COQPDEP)
:
$(COQPGENERATED)
byte
:
lib/coq-plugin/why3tac.cma lib/coq-plugin/Why3.vo
opt
:
lib/coq-plugin/why3tac.cmxs lib/coq-plugin/Why3.vo
byte
:
WHY3TAC = lib/coq-plugin/why3tac.cma
opt
:
WHY3TAC = lib/coq-plugin/why3tac.cmxs
byte
:
WHY3COQ = $(COQC) -byte
opt
:
WHY3COQ = $(COQC) -opt
byte
:
src/coq-plugin/.why3-vo-byte
opt
:
src/coq-plugin/.why3-vo-opt
lib/coq-plugin/why3tac.cma
:
BFLAGS+=-rectypes -I +camlp5
lib/coq-plugin/why3tac.cmxs
:
OFLAGS+=-rectypes -I +camlp5
...
...
@@ -836,8 +830,13 @@ lib/coq-plugin/why3tac.cma: src/why3.cma $(COQPCMO)
src/coq-plugin/g_why3tac.ml
:
src/coq-plugin/g_why3tac.ml4
$(CAMLP5O)
pr_o.cmo @COQLIB@/parsing/grammar.cma
-impl
$^
-o
$@
lib/coq-plugin/Why3.vo
:
lib/coq-plugin/Why3.v $(WHY3TAC)
$(WHY3COQ)
-I
lib/coq-plugin/
$<
src/coq-plugin/.why3-vo-byte
:
lib/coq-plugin/Why3.v lib/coq-plugin/why3tac.cma
$(COQC)
-byte
-I
lib/coq-plugin/ lib/coq-plugin/Why3.v
touch
src/coq-plugin/.why3-vo-byte
src/coq-plugin/.why3-vo-opt
:
lib/coq-plugin/Why3.v lib/coq-plugin/why3tac.cmxs
$(COQC)
-opt
-I
lib/coq-plugin/ lib/coq-plugin/Why3.v
touch
src/coq-plugin/.why3-vo-opt
# depend and clean targets
...
...
@@ -850,7 +849,9 @@ depend: $(COQPDEP)
clean
::
rm
-f
src/coq-plugin/
*
.cm[iox] src/coq-plugin/
*
.o
rm
-f
lib/coq-plugin/
*
.cma lib/coq-plugin/
*
.cmxs
rm
-f
lib/coq-plugin/
*
.vo lib/coq-plugin/
*
.glob
rm
-f
src/coq-plugin/
*
.annot src/coq-plugin/
*
.dep src/coq-plugin/
*
~
rm
-f
src/coq-plugin/.why3-vo-
*
rm
-f
$(COQPGENERATED)
install_no_local
::
...
...
@@ -1019,7 +1020,7 @@ install_local: bin/why3doc
.PHONY
:
bench test
bench
::
bin/why3.@OCAMLBEST@ bin/why3ml.@OCAMLBEST@ bin/why3config.@OCAMLBEST@ plugins $(TOOLS)
$(MAKE)
test-api
$(MAKE)
test-api
.@OCAMLBEST@
sh bench/bench
\
"bin/why3.@OCAMLBEST@"
\
"bin/why3ml.@OCAMLBEST@"
...
...
@@ -1063,16 +1064,20 @@ testl-ide: bin/why3ide.opt
testl-type
:
bin/why3ml.byte
ocamlrun
-bt
bin/why3ml.byte
--type-only
tests/test-pgm-jcf.mlw
test-api
:
src/why3.cma
test-api
.byte
:
src/why3.cma
ocaml
-I
src/
$(INCLUDES)
$(EXTCMA)
src/why3.cma examples/use_api.ml
\
||
(
printf
"Test of Why API calls failed. Please fix it"
;
exit
2
)
test-api.opt
:
src/why3.cmxa
$(OCAMLOPT)
-o
$@
-I
src/
$(INCLUDES)
$(EXTCMXA)
src/why3.cmxa
\
examples/use_api.ml
@
./test-api.opt
||
\
(
printf
"Test of Why API calls failed. Please fix it"
;
exit
2
)
@
rm
-f
test-api.opt
test-shape
:
src/why3.cma
ocaml
-I
src/
$(INCLUDES)
$(EXTCMA)
$?
examples/test_shape.ml
bts12244
:
src/why3.cma
ocaml
-I
src/
$(INCLUDES)
$(EXTCMA)
src/why3.cma examples/bts12244.ml
################
# documentation
...
...
Write
Preview
Markdown
is supported
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