Skip to content

Commit

Permalink
Explicitly state which extension uses cpp files
Browse files Browse the repository at this point in the history
Each cpp file is only used by a single extension
  • Loading branch information
vzhurba01 committed Jan 7, 2025
1 parent 7ffb964 commit 8620a28
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cuda_bindings/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,12 @@ def do_cythonize(extensions):

sources_list = [
# private
["cuda/bindings/_bindings/*.pyx", "cuda/bindings/_bindings/loader.cpp"],
["cuda/bindings/_bindings/cydriver.pyx", "cuda/bindings/_bindings/loader.cpp"],
["cuda/bindings/_bindings/cynvrtc.pyx"],
# utils
["cuda/bindings/_lib/*.pyx", "cuda/bindings/_lib/param_packer.cpp"],
["cuda/bindings/_lib/cyruntime/*.pyx"],
["cuda/bindings/_lib/utils.pyx", "cuda/bindings/_lib/param_packer.cpp"],
["cuda/bindings/_lib/cyruntime/cyruntime.pyx"],
["cuda/bindings/_lib/cyruntime/utils.pyx"],
# public
["cuda/bindings/*.pyx"],
# public (deprecated, to be removed)
Expand Down

0 comments on commit 8620a28

Please sign in to comment.