mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python.pkgs.libgpuarray: 0.6.9 -> 0.7.5
This commit is contained in:
parent
409c92d55c
commit
2a23d9123e
1 changed files with 2 additions and 3 deletions
|
@ -15,14 +15,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "libgpuarray";
|
pname = "libgpuarray";
|
||||||
version = "0.6.9";
|
version = "0.7.5";
|
||||||
name = pname + "-" + version;
|
name = pname + "-" + version;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Theano";
|
owner = "Theano";
|
||||||
repo = "libgpuarray";
|
repo = "libgpuarray";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "06z47ls42a37gbv0x7f3l1qvils7q0hvy02s95l530klgibp19s0";
|
sha256 = "0zkdwjq3k6ciiyf8y5w663fbsnmzhgy27yvpxfhkpxazw9vg3l5v";
|
||||||
};
|
};
|
||||||
|
|
||||||
# requires a GPU
|
# requires a GPU
|
||||||
|
@ -40,7 +40,6 @@ buildPythonPackage rec {
|
||||||
make -j$NIX_BUILD_CORES
|
make -j$NIX_BUILD_CORES
|
||||||
make install
|
make install
|
||||||
|
|
||||||
ls $out/lib
|
|
||||||
export NIX_CFLAGS_COMPILE="-L $out/lib -I $out/include $NIX_CFLAGS_COMPILE"
|
export NIX_CFLAGS_COMPILE="-L $out/lib -I $out/include $NIX_CFLAGS_COMPILE"
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue