mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-25 14:48:25 +03:00
Merge pull request #233958 from natsukium/python3Packages.lightgbm/fix
python3Packages.lightgbm: fix build on darwin
This commit is contained in:
commit
eeaa0964e5
@ -12,7 +12,7 @@
|
||||
, ocl-icd
|
||||
, opencl-headers
|
||||
, boost
|
||||
, gpuSupport ? true
|
||||
, gpuSupport ? stdenv.isLinux
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -48,7 +48,11 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
${python.pythonForBuild.interpreter} setup.py bdist_wheel ${lib.optionalString gpuSupport "--gpu"}
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
|
Loading…
Reference in New Issue
Block a user