pythonPackages.pyarrow: enable parallel build

This commit is contained in:
Dmitry Kalinkin 2019-03-26 00:11:02 -04:00
parent 49e9194b24
commit 55223a8a6a
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -25,6 +25,10 @@ buildPythonPackage rec {
"-DCMAKE_POLICY_DEFAULT_CMP0025=NEW" "-DCMAKE_POLICY_DEFAULT_CMP0025=NEW"
]; ];
preBuild = ''
export PYARROW_PARALLEL=$NIX_BUILD_CORES
'';
preCheck = '' preCheck = ''
rm pyarrow/tests/test_jvm.py rm pyarrow/tests/test_jvm.py
rm pyarrow/tests/test_hdfs.py rm pyarrow/tests/test_hdfs.py