python.pkgs.pandas: parallelize build

This commit is contained in:
Timo Kaufmann 2020-03-20 16:50:40 +01:00
parent ddf87fb1ba
commit 81212e6955

View file

@ -67,6 +67,12 @@ in buildPythonPackage rec {
"['pandas/src/klib', 'pandas/src', '$cpp_sdk']"
'';
setupPyBuildFlags = [
# As suggested by
# https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#creating-a-python-environment
"--parallel=$NIX_BUILD_CORES"
];
disabledTests = stdenv.lib.concatMapStringsSep " and " (s: "not " + s) ([
# since dateutil 0.6.0 the following fails: test_fallback_plural, test_ambiguous_flags, test_ambiguous_compat