Skip to content

Commit

Permalink
Try setting -DCUDAToolkit_ROOT in conda recipe.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Jan 5, 2024
1 parent 8da5db6 commit 68e3e74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions conda/recipes/pynvjitlink/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ source:
build:
noarch: python
script:
- {{ PYTHON }} -m pip install . -vv
script_env:
- CMAKE_ARGS="--debug-find"
- {{ PYTHON }} -m pip install . -vv --config-settings=cmake.args=-DCUDAToolkit_ROOT=/usr/local/cuda

requirements:
build:
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[tool.scikit-build]
cmake.minimum-version = "3.26.4"
cmake.verbose = true
cmake.args = ["--debug-find"]
logging.level = "DEBUG"
ninja.make-fallback = true
build-dir = "build/{wheel_tag}"
wheel.packages = ["pynvjitlink"]
Expand Down

0 comments on commit 68e3e74

Please sign in to comment.