Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! python3Packages.triton.tests.axpy-cuda: init
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneSerge committed Oct 15, 2024
1 parent 102bad2 commit 842b3c0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkgs/development/python-modules/triton/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ buildPythonPackage {
pname = "triton-pytest";
inherit (triton) version src;

requiredSystemFeatures = [ "cuda" ];

nativeBuildInputs = [
(python.withPackages (ps: [
ps.scipy
Expand All @@ -189,15 +191,16 @@ buildPythonPackage {
]))
];

nativeCheckInputs = [ pytestCheckHook ];
dontBuild = true;
nativeCheckInputs = [ pytestCheckHook ];

doCheck = true;
requiredSystemFeatures = [ "cuda" ];

preCheck = ''
cd python/test/unit
export HOME=$TMPDIR
'';
checkPhase = "pytestCheckPhase";

installPhase = "touch $out";
};
Expand Down

0 comments on commit 842b3c0

Please sign in to comment.