-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
56 lines (54 loc) · 1.91 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
opam-version: "2.0"
maintainer: "martin@lucina.net"
authors: [
"Dan Williams <djwillia@us.ibm.com>"
"Martin Lucina <martin@lucina.net>"
"Ricardo Koller <kollerr@us.ibm.com>"
]
homepage: "https://github.com/solo5/solo5"
bug-reports: "https://github.com/solo5/solo5/issues"
license: "ISC"
dev-repo: "git+https://github.com/solo5/solo5.git"
build: [
["./configure.sh"]
[make "V=1" "CONFIG_HVT=" "CONFIG_VIRTIO=" "CONFIG_MUEN=" "CONFIG_GENODE="]
]
install: [make "V=1" "CONFIG_HVT=" "CONFIG_VIRTIO=" "CONFIG_MUEN=" "CONFIG_GENODE=" "install-opam-spt" "PREFIX=%{prefix}%"]
remove: [
["touch" "./Makeconf"]
[make "V=1" "uninstall-opam-spt" "PREFIX=%{prefix}%"]
]
x-ci-accept-failures: ["debian-unstable"]
depends: [
"conf-pkg-config"
"conf-libseccomp" {os = "linux"}
]
flags: avoid-version # ./configure.sh is broken for gcc>=10
depexts: [
["linux-headers"] {os-distribution = "alpine"}
["linux-libc-dev"] {os-family = "debian"}
["kernel-headers"] {os-distribution = "fedora"}
["kernel-headers"] {os-distribution = "rhel"}
]
conflicts: [
"solo5-bindings-hvt"
"solo5-bindings-virtio"
"solo5-bindings-muen"
"solo5-bindings-genode"
]
available: [
(arch = "x86_64" | arch = "arm64") & os = "linux"
]
synopsis: "Solo5 sandboxed execution environment (spt target)"
description: """
Solo5 is a sandboxed execution environment primarily intended
for, but not limited to, running applications built using various
unikernels (a.k.a. library operating systems).
This package provides the Solo5 components needed to build
MirageOS unikernels on the "spt" target and the "solo5-spt" tender
binary used to run such unikernels.
The "spt" target is supported on 64-bit Linux systems only."""
url {
src: "https://github.com/Solo5/solo5/releases/download/v0.6.3/solo5-v0.6.3.tar.gz"
checksum: "sha512=c3a9d9891ab538ebf9eaf4c98bb228ee91a58bae9ee1ef0071f3dca8dfdf921ea34375d603323bda0652de47dfbe59585c21f100dc2ed4e41ebd7e3437eb13fd"
}