this repo has no description
1opam-version: "2.0"
2maintainer: "Liang Wang <ryanrhymes@gmail.com>"
3authors: [ "Liang Wang" ]
4homepage: "https://github.com/xianyi/OpenBLAS"
5bug-reports: "https://github.com/ocaml/opam-repository/issues"
6license: "BSD-3-Clause"
7build: [
8 ["sh" "-exc" "cc $CFLAGS -I/usr/include/openblas test.c -lopenblas"]
9 {os-distribution = "fedora" | os-distribution = "centos" | os-family = "suse" | os-family = "opensuse"}
10 [
11 "sh"
12 "-exc"
13 "cc $CFLAGS -I/usr/local/opt/openblas/include test.c -L/usr/local/opt/openblas/lib -lopenblas"
14 ] {os = "macos" & os-distribution = "homebrew"}
15 ["sh" "-exc" "cc $CFLAGS test.c -lcblas"]
16 {os-distribution = "arch"}
17 ["sh" "-exc" "cc $CFLAGS -I/usr/local/include -L/usr/local/lib test.c -lopenblas"]
18 {os = "freebsd"}
19 ["sh" "-exc" "cc $CFLAGS test.c -lopenblas"]
20 {os-distribution != "fedora" & os-distribution != "centos" & os-family != "suse" & os-family != "opensuse" & os != "macos" & os-distribution != "arch" & os != "freebsd"}
21]
22depexts: [
23 ["libc-dev" "openblas-dev"] {os-distribution = "alpine"}
24 ["epel-release" "openblas-devel"] {os-distribution = "centos"}
25 ["libopenblas-dev" "liblapacke-dev"] {os-family = "debian"}
26 ["openblas-devel"] {os-distribution = "fedora"}
27 ["openblas-devel"] {os-family = "suse" | os-family = "opensuse"}
28 ["openblas" "lapacke" "cblas"] {os-distribution = "arch"}
29 ["openblas"] {os = "macos" & os-distribution = "homebrew"}
30 ["openblas"] {os = "freebsd"}
31]
32synopsis: "Virtual package to install OpenBLAS and LAPACKE"
33description:
34 "The package prepares OpenBLAS (CBLAS) and LAPACKE backend for Owl (OCaml numerical library). It can only be installed if OpenBLAS and LAPACKE are installed on the system."
35flags: conf
36extra-source "test.c" {
37 src:
38 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-openblas/test.c.0.2.0"
39 checksum: [
40 "sha256=8c7ffa7f3835567060cc7a8eaae257b8b9ab278a0fa5d2e5677e0e0a8b40232b"
41 "md5=dcf8ee02542457dde43e1e4917897416"
42 ]
43}