Skip to content

Commit

Permalink
never rebuild cuda kernels via setup.py on win32
Browse files Browse the repository at this point in the history
we have to use BUILD_CUDA_KERNEL.BAT for that
  • Loading branch information
totaam committed Nov 12, 2023
1 parent 8e8db88 commit 5a97fac
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 @@ -287,7 +287,7 @@ def has_header_file(name, isdir=False):
nvdec_ENABLED = False
nvfbc_ENABLED = nvidia_ENABLED and not ARM and pkg_config_ok("--exists", "nvfbc")
cuda_kernels_ENABLED = nvidia_ENABLED and not OSX
cuda_rebuild_ENABLED = None if nvidia_ENABLED else False
cuda_rebuild_ENABLED = (not WIN32) if nvidia_ENABLED else False
csc_libyuv_ENABLED = DEFAULT and pkg_config_ok("--exists", "libyuv")
gstreamer_ENABLED = DEFAULT
example_ENABLED = DEFAULT
Expand Down

0 comments on commit 5a97fac

Please sign in to comment.