this repo has no description
1opam-version: "2.0"
2maintainer: "Markus Mottl <markus.mottl@gmail.com>"
3authors: "Markus Mottl <markus.mottl@gmail.com>"
4homepage: "http://www.netlib.org/lapack"
5bug-reports: "https://github.com/ocaml/opam-repository/issues"
6license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
7build: [
8 ["sh" "-exc" "cc $CFLAGS test.c ${LACAML_LIBS:--llapack}"] {os != "macos" & os != "freebsd" & os != "win32" & os-distribution != "alpine"}
9 ["sh" "-exc" "cc $CFLAGS test.c ${LACAML_LIBS:--llapack -lopenblas}"] {os-distribution = "alpine"}
10 ["sh" "-exc" "${CC:-gcc} $CFLAGS test.c ${LACAML_LIBS:--llapack} $LDFLAGS"] {os = "freebsd"}
11 ["sh" "-exc" "cc -framework Accelerate $CFLAGS test.c ${LACAML_LIBS:--llapack}"] {os = "macos"}
12 ["%{build}%/test-win.sh"] {os = "win32"}
13]
14depexts: [
15 ["liblapack-dev"] {os-family = "debian"}
16 ["liblapack-dev"] {os-family = "ubuntu"}
17 ["liblapack-devel"] {os-distribution = "mageia"}
18 ["lapack-devel"] {os-distribution = "centos"}
19 ["lapack-devel"] {os-distribution = "fedora"}
20 ["lapack-devel"] {os-distribution = "rhel"}
21 ["lapack-dev"] {os-distribution = "alpine"}
22 ["lapack-devel"] {os-family = "suse" | os-family = "opensuse"}
23 ["lapack" "gcc"] {os = "freebsd"}
24 ["lapack"] {os = "win32" & os-distribution = "cygwinports"}
25]
26depends: [
27 "conf-openblas" {os-distribution = "alpine"}
28]
29synopsis: "Virtual package for LAPACK configuration"
30description: """
31Virtual package relying on a LAPACK (Linear Algebra) library installation.
32This package can only install if a compatible LAPACK library is found on
33the system (e.g. reference LAPACK, vendor-implementations, etc.)."""
34flags: conf
35extra-source "test.c" {
36 src:
37 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-lapack/test.c"
38 checksum: [
39 "sha256=b8c7b007def0a67eb231e18edeeb81f88fde4ebcc255bbb5d062b315f82eecd2"
40 "md5=ac2a49147c4af466c3b3251dbd3960ff"
41 ]
42}
43extra-source "test-win.sh" {
44 src:
45 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-lapack/test-win.sh"
46 checksum: [
47 "sha256=32326267fa420cbe9f85eecaa58707b41181c76e0a5d112480966780ee3f9cc0"
48 "md5=8143befd9947d11f4baecf3dbf0167f5"
49 ]
50}
51