mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-18 05:39:58 +00:00
jrl-cmakemodules: add missing openmp checkInputs (#560467)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
catch2_3,
|
||||
cppad,
|
||||
gmp,
|
||||
llvmPackages,
|
||||
matio,
|
||||
mpfr,
|
||||
python3Packages,
|
||||
@@ -37,6 +38,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "jrl-cmakemodules";
|
||||
version = "2.3.0";
|
||||
|
||||
__structuredAttrs = true;
|
||||
srictDeps = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jrl-umi3218";
|
||||
repo = "jrl-cmakemodules";
|
||||
@@ -65,6 +69,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
python3Packages.pytest
|
||||
simde
|
||||
suitesparse
|
||||
]
|
||||
++ lib.optionals stdenv.cc.isClang [
|
||||
# Otherwise `FindCHOLMOD` fails
|
||||
# Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
|
||||
llvmPackages.openmp
|
||||
];
|
||||
|
||||
passthru = {
|
||||
|
||||
Reference in New Issue
Block a user