Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix install download script and statically link nvrtc #452

Merged
merged 17 commits into from
Feb 7, 2023

Conversation

trxcllnt
Copy link
Collaborator

@trxcllnt trxcllnt commented Feb 6, 2023

This PR fixes some of the issues identified in #451.

  • Updates to CMake 3.26-rc1 so we can statically link nvrtc
  • Updates to my fork of cmake-js so we can remove the custom nvidia-cmake-js wrapper script
  • Updates to the rapidsai-install-native-module download script:
    • Throws an error when the requested CUDA version is lower than we support
    • Sets an upper bound on CUDA major version, ensuring we still install on newer drivers
    • Fixes an issue where require.resolve() fails if npx from npm v9 is run by yarn v1

I tested the package install process works in:

  • node v16.15.1/npm v8.11.0 (+ yarn v1.22.19)
  • node v16.19.0/npm v8.19.3 (+ yarn v1.22.19)
  • node v18.14.0/npm v9.4.1 (+ yarn v1.22.19)
  • node v19.6.0 /npm v9.4.0 (+ yarn v1.22.19)

@trxcllnt trxcllnt merged commit 4343cc7 into rapidsai:main Feb 7, 2023
@trxcllnt trxcllnt deleted the fix/install-script-npx branch February 7, 2023 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant