Merge pull request #83004 from timokau/pandas-parallel-build

python.pkgs.pandas: parallelize build
This commit is contained in:
Timo Kaufmann 2020-03-20 21:54:02 +00:00 committed by GitHub
commit 4027538dfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,6 +67,12 @@ in buildPythonPackage rec {
"['pandas/src/klib', 'pandas/src', '$cpp_sdk']" "['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) ([ 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 # since dateutil 0.6.0 the following fails: test_fallback_plural, test_ambiguous_flags, test_ambiguous_compat