Skip to content

Commit

Permalink
Use stubs on linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
eliphatfs committed Sep 14, 2024
1 parent e4035c2 commit 56671c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_tag(self):
cuda_home = _find_cuda_home()
cc_args = []
cl_args = []
libraries = ["cuda"]
libraries = ['cuda']
library_paths = []
if platform.system() == 'Windows':
cc_args += ['/DEBUG', '/Z7', '/std:c++17']
Expand All @@ -74,7 +74,7 @@ def get_tag(self):
# Note that it's also possible both don't exist (see
# _find_cuda_home) - in that case we stay with 'lib64'.
lib_dir = 'lib'
library_paths += [os.path.join(cuda_home, lib_dir)]
library_paths += [os.path.join(cuda_home, lib_dir, "stubs")]


class build_ext_subclass(build_ext):
Expand Down

0 comments on commit 56671c4

Please sign in to comment.