proxsuite: ctestCheckHook + disable failing one
ref. https://github.com/NixOS/nixpkgs/pull/403612#issuecomment-2979215280
This commit is contained in:
parent
cc565a3e12
commit
30254eb55b
@ -18,6 +18,9 @@
|
|||||||
jrl-cmakemodules,
|
jrl-cmakemodules,
|
||||||
simde,
|
simde,
|
||||||
|
|
||||||
|
# nativeCheckInputs
|
||||||
|
ctestCheckHook,
|
||||||
|
|
||||||
# checkInputs
|
# checkInputs
|
||||||
matio,
|
matio,
|
||||||
|
|
||||||
@ -38,14 +41,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"out"
|
"out"
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags =
|
cmakeFlags = [
|
||||||
[
|
|
||||||
(lib.cmakeBool "BUILD_DOCUMENTATION" true)
|
(lib.cmakeBool "BUILD_DOCUMENTATION" true)
|
||||||
(lib.cmakeBool "INSTALL_DOCUMENTATION" true)
|
(lib.cmakeBool "INSTALL_DOCUMENTATION" true)
|
||||||
(lib.cmakeBool "BUILD_PYTHON_INTERFACE" pythonSupport)
|
(lib.cmakeBool "BUILD_PYTHON_INTERFACE" pythonSupport)
|
||||||
]
|
|
||||||
++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [
|
|
||||||
"-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;ProxQP::dense: test primal infeasibility solving"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
@ -68,6 +67,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
simde
|
simde
|
||||||
] ++ lib.optionals pythonSupport [ python3Packages.nanobind ];
|
] ++ lib.optionals pythonSupport [ python3Packages.nanobind ];
|
||||||
|
|
||||||
|
nativeCheckInputs = [ ctestCheckHook ];
|
||||||
|
|
||||||
checkInputs =
|
checkInputs =
|
||||||
[ matio ]
|
[ matio ]
|
||||||
++ lib.optionals pythonSupport [
|
++ lib.optionals pythonSupport [
|
||||||
@ -75,6 +76,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
python3Packages.scipy
|
python3Packages.scipy
|
||||||
];
|
];
|
||||||
|
|
||||||
|
ctestFlags = lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [
|
||||||
|
"--exclude-regex"
|
||||||
|
"sparse maros meszaros using the API"
|
||||||
|
];
|
||||||
|
|
||||||
# Fontconfig error: Cannot load default config file: No such file: (null)
|
# Fontconfig error: Cannot load default config file: No such file: (null)
|
||||||
env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
|
env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user