forked from verifast/verifast
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Windows build now uses OCaml 4.06.0 and furthermore is now ready to start using Z3 4.5.0.
- Loading branch information
Showing
8 changed files
with
30 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/bin/bash | ||
set -o pipefail # A pipe fails if any component fails | ||
/cygdrive/c/vfdeps-17.12/bin/pkg-config $* | dos2unix | ||
DIRNAME=`dirname "$0"` | ||
"$DIRNAME/pkg-config.exe" $* | conv --dos2unix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
win/Perf.cmxa: win/caml_perf.c win/Perf.mli win/Perf.ml win/Stopwatch.mli win/caml_stopwatch.c | ||
cd win; ocamlopt.opt -a -o Perf.cmxa caml_perf.c Perf.mli Perf.ml Stopwatch.mli caml_stopwatch.c | ||
cd win; ocamlopt.opt -c -opaque Stopwatch.mli Stopwatch.ml | ||
cd win; ocamlopt.opt -a -o Perf.cmxa caml_perf.c Perf.mli Perf.ml caml_stopwatch.c Stopwatch.cmx | ||
|
||
clean:: | ||
rm -f win/*.o win/*.a win/*.cm* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
external getpid: unit -> int32 = "caml_stopwatch_getpid" | ||
|
||
(** Locks this process to processor 1. | ||
* This potentially improves the accuracy of timing results on multicore systems. | ||
* This module uses the RDTSC (read timestamp counter) instruction; these counters might not run in lockstep on the different processors of a system. *) | ||
external lock_process_to_processor_1: unit -> unit = "caml_lock_process_to_processor_1" | ||
|
||
external processor_ticks: unit -> int64 = "caml_stopwatch_processor_ticks" | ||
|
||
(** The type of stopwatches. *) | ||
type t | ||
|
||
external create: unit -> t = "caml_stopwatch_create" | ||
external start: t -> unit = "caml_stopwatch_start" | ||
external stop: t -> unit = "caml_stopwatch_stop" | ||
external ticks: t -> int64 = "caml_stopwatch_ticks" |