-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ershi/github-cuda-12' into 'main'
Build Warp with CUDA 12 on GitHub See merge request omniverse/warp!963
- Loading branch information
Showing
1 changed file
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,14 +34,19 @@ jobs: | |
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
- name: Install CTK | ||
uses: Jimver/[email protected] | ||
id: cuda-toolkit | ||
with: | ||
sub-packages: '["cudart", "nvcc", "nvrtc_dev", "nvjitlink"]' | ||
method: 'network' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install --no-cache-dir --upgrade numpy | ||
tools/packman/packman install -l _build/target-deps/cuda cuda 11.8.0_522.06-abe3d9d7-windows-x86_64 | ||
- name: Build | ||
run: | | ||
python build_lib.py --cuda_path=_build/target-deps/cuda | ||
python build_lib.py | ||
- name: Upload build artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -61,14 +66,20 @@ jobs: | |
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
- name: Install CTK | ||
uses: Jimver/[email protected] | ||
id: cuda-toolkit | ||
with: | ||
sub-packages: '["cudart-dev", "nvcc", "nvrtc-dev"]' | ||
non-cuda-sub-packages: '["libnvjitlink-dev"]' | ||
method: 'network' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install --no-cache-dir --upgrade numpy | ||
- name: Build Warp | ||
run: | | ||
tools/packman/packman install -l _build/target-deps/cuda cuda 11.8.0_520.61-d8963068-linux-x86_64 | ||
python build_lib.py --cuda_path=_build/target-deps/cuda | ||
python build_lib.py | ||
- name: Upload build artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|