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,
|
||||
simde,
|
||||
|
||||
# nativeCheckInputs
|
||||
ctestCheckHook,
|
||||
|
||||
# checkInputs
|
||||
matio,
|
||||
|
||||
@ -38,15 +41,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"out"
|
||||
];
|
||||
|
||||
cmakeFlags =
|
||||
[
|
||||
(lib.cmakeBool "BUILD_DOCUMENTATION" true)
|
||||
(lib.cmakeBool "INSTALL_DOCUMENTATION" true)
|
||||
(lib.cmakeBool "BUILD_PYTHON_INTERFACE" pythonSupport)
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [
|
||||
"-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;ProxQP::dense: test primal infeasibility solving"
|
||||
];
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_DOCUMENTATION" true)
|
||||
(lib.cmakeBool "INSTALL_DOCUMENTATION" true)
|
||||
(lib.cmakeBool "BUILD_PYTHON_INTERFACE" pythonSupport)
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@ -68,6 +67,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
simde
|
||||
] ++ lib.optionals pythonSupport [ python3Packages.nanobind ];
|
||||
|
||||
nativeCheckInputs = [ ctestCheckHook ];
|
||||
|
||||
checkInputs =
|
||||
[ matio ]
|
||||
++ lib.optionals pythonSupport [
|
||||
@ -75,6 +76,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
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)
|
||||
env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user