mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03:00
Merge pull request #33016 from dylex/pycuda
pycuda: fix boost_python3 link
This commit is contained in:
commit
ae15ee42ac
@ -13,8 +13,7 @@
|
|||||||
, python
|
, python
|
||||||
, mkDerivation
|
, mkDerivation
|
||||||
, stdenv
|
, stdenv
|
||||||
, pythonOlder
|
, isPy3k
|
||||||
, isPy35
|
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
compyte = import ./compyte.nix {
|
compyte = import ./compyte.nix {
|
||||||
@ -35,7 +34,7 @@ buildPythonPackage rec {
|
|||||||
${python.interpreter} configure.py --boost-inc-dir=${boost.dev}/include \
|
${python.interpreter} configure.py --boost-inc-dir=${boost.dev}/include \
|
||||||
--boost-lib-dir=${boost}/lib \
|
--boost-lib-dir=${boost}/lib \
|
||||||
--no-use-shipped-boost \
|
--no-use-shipped-boost \
|
||||||
--boost-python-libname=boost_python
|
--boost-python-libname=boost_python${stdenv.lib.optionalString isPy3k "3"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -6524,7 +6524,6 @@ in {
|
|||||||
pycuda = callPackage ../development/python-modules/pycuda rec {
|
pycuda = callPackage ../development/python-modules/pycuda rec {
|
||||||
cudatoolkit = pkgs.cudatoolkit75;
|
cudatoolkit = pkgs.cudatoolkit75;
|
||||||
inherit (pkgs.stdenv) mkDerivation;
|
inherit (pkgs.stdenv) mkDerivation;
|
||||||
inherit pythonOlder;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
pyphen = callPackage ../development/python-modules/pyphen {};
|
pyphen = callPackage ../development/python-modules/pyphen {};
|
||||||
|
Loading…
Reference in New Issue
Block a user