opam-version: "2.0" maintainer: "Markus Mottl " authors: "Markus Mottl " homepage: "http://www.netlib.org/lapack" bug-reports: "https://github.com/ocaml/opam-repository/issues" license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" build: [ ["sh" "-exc" "cc $CFLAGS test.c ${LACAML_LIBS:--llapack}"] {os != "macos" & os != "freebsd" & os != "win32" & os-distribution != "alpine"} ["sh" "-exc" "cc $CFLAGS test.c ${LACAML_LIBS:--llapack -lopenblas}"] {os-distribution = "alpine"} ["sh" "-exc" "${CC:-gcc} $CFLAGS test.c ${LACAML_LIBS:--llapack} $LDFLAGS"] {os = "freebsd"} ["sh" "-exc" "cc -framework Accelerate $CFLAGS test.c ${LACAML_LIBS:--llapack}"] {os = "macos"} ["%{build}%/test-win.sh"] {os = "win32"} ] depexts: [ ["liblapack-dev"] {os-family = "debian"} ["liblapack-dev"] {os-family = "ubuntu"} ["liblapack-devel"] {os-distribution = "mageia"} ["lapack-devel"] {os-distribution = "centos"} ["lapack-devel"] {os-distribution = "fedora"} ["lapack-devel"] {os-distribution = "rhel"} ["lapack-dev"] {os-distribution = "alpine"} ["lapack-devel"] {os-family = "suse" | os-family = "opensuse"} ["lapack" "gcc"] {os = "freebsd"} ["lapack"] {os = "win32" & os-distribution = "cygwinports"} ] depends: [ "conf-openblas" {os-distribution = "alpine"} ] synopsis: "Virtual package for LAPACK configuration" description: """ Virtual package relying on a LAPACK (Linear Algebra) library installation. This package can only install if a compatible LAPACK library is found on the system (e.g. reference LAPACK, vendor-implementations, etc.).""" flags: conf extra-source "test.c" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-lapack/test.c" checksum: [ "sha256=b8c7b007def0a67eb231e18edeeb81f88fde4ebcc255bbb5d062b315f82eecd2" "md5=ac2a49147c4af466c3b3251dbd3960ff" ] } extra-source "test-win.sh" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-lapack/test-win.sh" checksum: [ "sha256=32326267fa420cbe9f85eecaa58707b41181c76e0a5d112480966780ee3f9cc0" "md5=8143befd9947d11f4baecf3dbf0167f5" ] }