You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/pages/build.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,15 +73,18 @@ The helper accepts the following environment variables:
73
73
74
74
| Variable | Default | Purpose |
75
75
| --- | --- | --- |
76
-
|`CUVS_TARBALL_CUDA_VERSION`|`13.3.0`|Selects the CUDA version in the `rapidsai/ci-wheel` base image. |
77
-
|`CUVS_TARBALL_PYTHON_VERSION`|`3.14`|Selects the Python version in the `rapidsai/ci-wheel` base image. |
78
-
|`CUVS_TARBALL_BUILD_OUTPUT_DIR`|`./build`|Selects the host directory where the tarball is written. |
76
+
|`CUVS_TARBALL_CUDA_VERSION`|`13.3.0`| CUDA version for the `rapidsai/ci-wheel` base image. |
77
+
|`CUVS_TARBALL_PYTHON_VERSION`|`3.14`| Python version for the `rapidsai/ci-wheel` base image. |
78
+
|`CUVS_TARBALL_BUILD_OUTPUT_DIR`|`./build`|Host directory where the tarball is written. |
79
79
80
-
To select CUDA and Python versions, set environment variables to exact versions from a valid [`rapidsai/ci-wheel` image tag](https://hub.docker.com/r/rapidsai/ci-wheel/tags). For example:
80
+
CUDA and Python versions should match an existing `rapidsai/ci-wheel` tag.
81
+
See https://hub.docker.com/r/rapidsai/ci-wheel/tags
82
+
83
+
For example:
81
84
82
85
```bash
83
-
CUVS_TARBALL_CUDA_VERSION=12.9.2 \
84
-
CUVS_TARBALL_PYTHON_VERSION=3.11 \
86
+
CUVS_TARBALL_CUDA_VERSION=13.3.0 \
87
+
CUVS_TARBALL_PYTHON_VERSION=3.14 \
85
88
./build.sh tarball
86
89
```
87
90
@@ -108,28 +111,25 @@ The archive contains the headers, libraries, CMake configuration, and license in
108
111
If you do not want to use the helper script, build the image directly from the repository root:
This command builds from the published `rapidsai/ci-wheel` base image and tags the resulting local image as `cuvs-standalone-c`. The following `docker run` examples use that same local tag; Docker does not pull an image named `cuvs-standalone-c` from a registry.
123
+
This command builds a local image and tags it as `cuvs-standalone-c:local`.
115
124
116
-
Run the build and mount the repository plus an output directory:
125
+
Run the build in a container using that image and mount the repository plus an output directory:
117
126
118
127
```bash
119
128
mkdir -p build
120
129
docker run --rm \
121
130
-v "${PWD}:/workspace" \
122
131
-v "${PWD}/build:/build" \
123
-
cuvs-standalone-c
124
-
```
125
-
126
-
To select different CUDA and Python versions, pass build arguments:
127
-
128
-
```bash
129
-
docker build -f Dockerfile.standalone \
130
-
--build-arg CUDA_VERSION=12.9.2 \
131
-
--build-arg PYTHON_VERSION=3.11 \
132
-
-t cuvs-standalone-c .
132
+
cuvs-standalone-c:local
133
133
```
134
134
135
135
Mount another host directory at `/build` to change the output location:
0 commit comments