Skip to content

Commit

Permalink
Merge pull request #25664 from nlaykh/csdp
Browse files Browse the repository at this point in the history
Fixes for Alpine
  • Loading branch information
mseri committed Apr 12, 2024
2 parents 03178cf + ead0284 commit 6c3f73f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/conf-lapack/conf-lapack.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ 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"}
["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"}
Expand All @@ -22,6 +23,9 @@ depexts: [
["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.
Expand All @@ -32,3 +36,4 @@ extra-files: [
["test-win.sh" "md5=8143befd9947d11f4baecf3dbf0167f5"]
]
flags: conf

0 comments on commit 6c3f73f

Please sign in to comment.