Split/tools bootstrap#21
Open
simonevadi wants to merge 1 commit into
Open
Conversation
Atraxus
requested changes
Jul 2, 2026
Atraxus
left a comment
Collaborator
There was a problem hiding this comment.
I agree with the changes mostly, we definitely need to lower the hurdle to start developing rayx-python. I have some notes:
- The install_nvidia reference is somehting I would either move to the docs or remove entirely to keep the project root clean.
- I noticed HDF5 as a build requirement, which is not yet mentioned in our README
- I've drafted a README that includes the requirements and build steps in one place — install instructions, dependency list (including HDF5, now labeled as a hard requirement with a link to the HDF5 docs rather than a walkthrough), and both build paths (CMake in-place,
uv pip install -e .). Maybe that would work as a middle ground?
Feel free to merge after considering these
a1613fa to
9a98a8d
Compare
Atraxus
approved these changes
Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a bootstrap script to prepare a local development environment for rayx. The script:
uvis available.venvwithPython 3.12by defaultrayxin editable mode withuv pip install -e .By default, the script asks whether the build should use NVIDIA/CUDA support. If you just press Enter, it builds with NVIDIA support enabled.
Available flags:
--with-nvidiaor--nvidia: build with NVIDIA/CUDA support--without-nvidiaor--no-nvidia: build without NVIDIA/CUDA support--help: show the bootstrap usage messageWhen NVIDIA mode is enabled, the script checks for
nvidia-smiandnvccbefore starting the build. When NVIDIA mode is disabled, it passes-DRAYX_ENABLE_CUDA=OFFso the build proceeds without CUDA.After completion, the development environment is ready to use. Activate it with:
source .venv/bin/activateAt the same time, the rayx makefile makes cuda optional so that the rayx-python project can be developed also on machines without nvidia.