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 $(PKG_CONFIG_PATH=\"$(brew --prefix openblas)/lib/pkgconfig:$PKG_CONFIG_PATH\" pkg-config --cflags openblas) test.c $(PKG_CONFIG_PATH=\"$(brew --prefix openblas)/lib/pkgconfig:$PKG_CONFIG_PATH\" pkg-config --libs openblas)" 14 ] {os = "macos" & os-distribution = "homebrew"} 15 ["sh" "-exc" "cc $CFLAGS test.c -lcblas"] 16 {os-family = "arch"} 17 ["sh" "-exc" "cc $CFLAGS -I/usr/local/include -L/usr/local/lib test.c -lopenblas"] 18 {os = "freebsd"} 19 ["sh" "-exc" "x86_64-w64-mingw32-gcc $CFLAGS test.c -lopenblas"] 20 {os = "win32" & os-distribution = "cygwinports"} 21 ["sh" "-exc" "cc $CFLAGS test.c -lopenblas"] 22 {os-distribution != "fedora" & os-distribution != "centos" & os-family != "suse" & os-family != "opensuse" & os != "macos" & os-family != "arch" & os != "freebsd" & os != "win32"} 23] 24depends: [ 25 "conf-pkg-config" {os = "macos" & os-distribution = "homebrew"} 26 "conf-openblas-macOS-env" {post & os = "macos" & os-distribution = "homebrew"} 27] 28depexts: [ 29 ["libc-dev" "openblas-dev" "lapack-dev"] {os-distribution = "alpine"} 30 ["epel-release" "openblas-devel"] {os-distribution = "centos"} 31 ["libopenblas-dev" "liblapacke-dev"] {os-family = "debian"} 32 ["libopenblas-dev" "liblapacke-dev"] {os-family = "ubuntu"} 33 ["openblas-devel"] {os-distribution = "fedora"} 34 ["libopenblas_openmp-devel"] {os-family = "suse" | os-family = "opensuse"} 35 ["openblas" "lapacke" "cblas"] {os-distribution = "arch"} 36 ["openblas"] {os = "macos" & os-distribution = "homebrew"} 37 ["openblas" "lapacke"] {os = "freebsd"} 38] 39x-ci-accept-failures: [ 40 "oraclelinux-7" 41 "oraclelinux-8" 42 "oraclelinux-9" 43] 44synopsis: "Virtual package to install OpenBLAS and LAPACKE" 45description: 46 "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." 47flags: conf 48extra-source "test.c" { 49 src: 50 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-openblas/test.c.0.2.2" 51 checksum: [ 52 "sha256=a3d92ea8a0b82fb107cae6c197a332b17c5741847664e1a40073b3b8f599bfc9" 53 "md5=8eb3463bce56366f0506721ca5c4e29c" 54 ] 55}