or-tools: disable parallel-building

protobuf generation is not thread safe

```
       > ./ortools/scheduling/rcpsp_parser.h:24:10: fatal error: ortools/scheduling/rcpsp.pb.h: No such file or directory
       >    24 | #include "ortools/scheduling/rcpsp.pb.h"
```
This commit is contained in:
Jonathan Ringer 2022-02-11 10:06:55 -08:00 committed by Jonathan Ringer
parent 71b7694016
commit c9fa03136a

View file

@ -77,7 +77,8 @@ stdenv.mkDerivation rec {
(cd temp_python/ortools; PYTHONPATH="$python/${python.sitePackages}:$PYTHONPATH" python setup.py install '--prefix=$python')
'';
enableParallelBuilding = true;
# protobuf generation is not thread safe
enableParallelBuilding = false;
nativeBuildInputs = [
cmake