diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-04-29 12:31:13 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-05-05 22:38:15 +0200 |
commit | c4eccd20664a0f9d9134d98a5b430f67e84176c7 (patch) | |
tree | 6cf24582723480cb6c0d93c74e64957bca5575d4 /gnu/packages/patches/python-clarabel-blas.patch | |
parent | 94ea83d9effe9ded5097f15feebc91fe72e7b4e0 (diff) |
gnu: Add python-clarabel.
* gnu/packages/python-science.scm (python-clarabel): New variable.
Change-Id: I28459162460ca9bf9e9557122f611c677afadc27
Diffstat (limited to 'gnu/packages/patches/python-clarabel-blas.patch')
-rw-r--r-- | gnu/packages/patches/python-clarabel-blas.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/patches/python-clarabel-blas.patch b/gnu/packages/patches/python-clarabel-blas.patch new file mode 100644 index 00000000000..bd88a2171b5 --- /dev/null +++ b/gnu/packages/patches/python-clarabel-blas.patch @@ -0,0 +1,38 @@ +Ensure that no feature set refers to blas-src or lapack-src, because we want +to just use the existing openblas library. + +--- a/Cargo.toml 2024-04-24 14:13:23.519997967 +0200 ++++ b/Cargo.toml 2024-04-24 14:13:09.983966101 +0200 +@@ -34,11 +34,11 @@ + sdp = ["blas","lapack"] + + # explicit configuration options for different blas flavours +-sdp-accelerate = ["sdp", "blas-src/accelerate", "lapack-src/accelerate"] +-sdp-netlib = ["sdp", "blas-src/netlib", "lapack-src/netlib"] +-sdp-openblas = ["sdp", "blas-src/openblas", "lapack-src/openblas"] +-sdp-mkl = ["sdp", "blas-src/intel-mkl", "lapack-src/intel-mkl"] +-sdp-r = ["sdp", "blas-src/r", "lapack-src/r"] ++sdp-accelerate = ["sdp"] ++sdp-netlib = ["sdp"] ++sdp-openblas = ["sdp"] ++sdp-mkl = ["sdp"] ++sdp-r = ["sdp"] + + # build as the julia interface + julia = ["sdp", "dep:libc", "dep:num-derive", "dep:serde", "dep:serde_json"] +@@ -62,15 +62,6 @@ + version = "0.19.0" + optional = true + +-[dependencies.blas-src] +-version = "0.9" +-optional = true +- +-[dependencies.lapack-src] +-version = "0.9" +-optional = true +- +- + # ------------------------------- + # examples + # ------------------------------- |