File tree Expand file tree Collapse file tree 4 files changed +18
-16
lines changed
Expand file tree Collapse file tree 4 files changed +18
-16
lines changed Original file line number Diff line number Diff line change 77 - UPDATE_GCC_BINUTILS=1
88 matrix :
99 - OCAML_VERSION=4.02
10- - OCAML_VERSION=4.02 DEPOPTS="lwt cstruct-lwt"
1110 - OCAML_VERSION=4.03
12- - OCAML_VERSION=4.03 DEPOPTS="lwt cstruct-lwt"
13- - OCAML_VERSION=4.03 DEPOPTS="mirage-entropy"
1411 - OCAML_VERSION=4.04
15- - OCAML_VERSION=4.04 DEPOPTS="lwt cstruct-lwt"
16- - OCAML_VERSION=4.04 DEPOPTS="mirage-xen"
1712 - OCAML_VERSION=4.05
1813 - OCAML_VERSION=4.05 DEPOPTS="lwt cstruct-lwt"
19- - OCAML_VERSION=4.05 DEPOPTS="mirage-solo5 mirage-entropy"
20- - OCAML_VERSION=4.06
14+ - OCAML_VERSION=4.06 TESTS=true
15+ - OCAML_VERSION=4.06 TESTS=true NOCRYPTO_ACCELERATE="false"
2116 - OCAML_VERSION=4.06 DEPOPTS="lwt cstruct-lwt"
17+ - OCAML_VERSION=4.04 DEPOPTS="mirage-xen"
2218 - OCAML_VERSION=4.06 DEPOPTS="mirage-solo5 mirage-entropy"
2319notifications :
2420 email : false
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ true: package(bytes cstruct)
1717<mirage>: include
1818<mirage/*.ml{,i}>: package(lwt mirage-entropy)
1919
20- <**/*.c>: ccopt(--std=c99 -Wall -Wextra -O3)
20+ <**/*.c>: ccopt(-D_DEFAULT_SOURCE - -std=c99 -Wall -Wextra -O3)
2121<**/aes_aesni.c>: ccopt(-Wno-implicit-fallthrough)
2222
23- <bench/*>: use_nocrypto, package(zarith cstruct.unix )
23+ <bench/*>: use_nocrypto, package(zarith)
2424<tests/*>: use_nocrypto, package(zarith oUnit)
2525
2626<rondom>: -traverse
Original file line number Diff line number Diff line change @@ -9,11 +9,18 @@ license: "ISC"
99tags: [ "org:mirage" ]
1010available: [ ocaml-version >= "4.02.0" ]
1111
12- build: ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false"
13- "--with-lwt" "%{lwt+cstruct-lwt:installed}%"
14- "--xen" "%{mirage-xen:installed}%"
15- "--mirage" "%{mirage-entropy+lwt:installed}%"
16- "--freestanding" "%{mirage-solo5:installed}%"]
12+ build: [
13+ [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"
14+ "--tests" "false"
15+ "--with-lwt" "%{lwt+cstruct-lwt:installed}%"
16+ "--xen" "%{mirage-xen:installed}%"
17+ "--mirage" "%{mirage-entropy+lwt:installed}%"
18+ "--freestanding" "%{mirage-solo5:installed}%" ]
19+ [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"
20+ "--tests" "true" ] {test}
21+ ]
22+ run-test: ["ocaml" "pkg/pkg.ml" "test" ]
23+
1724
1825depends: [
1926 "ocamlfind" {build}
Original file line number Diff line number Diff line change 22#define H__NOCRYPTO
33
44#include <stdint.h>
5- #define __USE_MISC
6-
75#if defined(__FreeBSD__ ) || defined(__DragonFly__ ) || defined(__NetBSD__ ) || defined(__OpenBSD__ )
86#include <sys/endian.h>
97#elif defined(__APPLE__ )
108#include <machine/endian.h>
119#else
10+ // Needs _DEFAULT_SOURCE on Linux.
1211#include <endian.h>
1312#endif
1413
You can’t perform that action at this time.
0 commit comments