Skip to content

Commit

Permalink
Use opam-repository syntax for license
Browse files Browse the repository at this point in the history
Uses a template file as a work-around for this dune bug:
ocaml/dune#6103

Also, ignore CI failures on some old distros.

Co-authored-by: Kate <kit.ty.kate@disroot.org>
  • Loading branch information
talex5 and kit-ty-kate committed Aug 25, 2022
1 parent c302549 commit 2508cb5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion uring.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ description:
"Bindings to the Linux io_uring kernel IO interfaces. See https://github.com/ocaml-multicore/eio for a higher-level API using this."
maintainer: ["anil@recoil.org"]
authors: ["Anil Madhavapeddy" "Sadiq Jaffer" "Thomas Leonard"]
license: "(ISC AND MIT)"
homepage: "https://github.com/ocaml-multicore/ocaml-uring"
doc: "https://ocaml-multicore.github.io/ocaml-uring/"
bug-reports: "https://github.com/ocaml-multicore/ocaml-uring/issues"
Expand Down Expand Up @@ -42,3 +41,8 @@ depexts: [
["linux-headers"] {os-distribution = "alpine"}
]
available: [os = "linux"]
license: ["ISC" "MIT"]
x-ci-accept-failures: [
"centos-7" # default C compiler does not support stdatomic.h
"oraclelinux-7" # default C compiler does not support stdatomic.h
]
5 changes: 5 additions & 0 deletions uring.opam.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ depexts: [
["linux-headers"] {os-distribution = "alpine"}
]
available: [os = "linux"]
license: ["ISC" "MIT"]
x-ci-accept-failures: [
"centos-7" # default C compiler does not support stdatomic.h
"oraclelinux-7" # default C compiler does not support stdatomic.h
]

0 comments on commit 2508cb5

Please sign in to comment.