Skip to content

Commit

Permalink
oops: fixup win32 variant
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed May 31, 2021
1 parent 2a46359 commit d0d33c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2053,7 +2053,7 @@ def osx_pkgconfig(*pkgs_options, **ekw):
external_includes += ["pycuda"]
nvcc_exe = "nvcc.exe"
CUDA_DIR = os.environ.get("CUDA_DIR", "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA")
path_options += list(reversed(sorted_nicely(glob.glob("%s\\*\\bin"))))
path_options += list(reversed(sorted_nicely(glob.glob("%s\\*\\bin" % CUDA_DIR))))
#pycuda may link against curand, find it and ship it:
for p in path_options:
if os.path.exists(p):
Expand Down

0 comments on commit d0d33c2

Please sign in to comment.