Merge pull request #33016 from dylex/pycuda

pycuda: fix boost_python3 link
This commit is contained in:
Frederik Rietdijk 2017-12-23 21:32:45 +00:00 committed by GitHub
commit ae15ee42ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -13,8 +13,7 @@
, python
, mkDerivation
, stdenv
, pythonOlder
, isPy35
, isPy3k
}:
let
compyte = import ./compyte.nix {
@ -35,7 +34,7 @@ buildPythonPackage rec {
${python.interpreter} configure.py --boost-inc-dir=${boost.dev}/include \
--boost-lib-dir=${boost}/lib \
--no-use-shipped-boost \
--boost-python-libname=boost_python
--boost-python-libname=boost_python${stdenv.lib.optionalString isPy3k "3"}
'';
postInstall = ''

View file

@ -6524,7 +6524,6 @@ in {
pycuda = callPackage ../development/python-modules/pycuda rec {
cudatoolkit = pkgs.cudatoolkit75;
inherit (pkgs.stdenv) mkDerivation;
inherit pythonOlder;
};
pyphen = callPackage ../development/python-modules/pyphen {};