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: SOURCEBUILD.md
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ conda activate cugraph_dev
75
75
76
76
77
77
### Build and Install Using the `build.sh` Script
78
-
Using the `build.sh` script make compiling and installig cuGraph a breeze. To build and install, simply do:
78
+
Using the `build.sh` script make compiling and installing cuGraph a breeze. To build and install, simply do:
79
79
80
80
```bash
81
81
$ cd$CUGRAPH_HOME
@@ -144,6 +144,30 @@ This project uses cmake for building the C/C++ library. To configure cmake, run:
144
144
```
145
145
The default installation locations are `$CMAKE_INSTALL_PREFIX/lib` and `$CMAKE_INSTALL_PREFIX/include/cugraph` respectively.
146
146
147
+
#### Updating the RAFT branch
148
+
149
+
`libcugraph` uses the [RAFT](https://github.com/rapidsai/raft) library and there are times when it might be desirable to build against a different RAFT branch, such as when working on new features that might span both RAFT and cuGraph.
150
+
151
+
For local development, the `CPM_raft_SOURCE=<path/to/raft/source>` option can be passed to the `cmake`command to enable`libcugraph` to use the local RAFT branch.
152
+
153
+
To have CI test a `cugraph` pull request against a different RAFT branch, modify the bottom of the `cpp/cmake/thirdparty/get_raft.cmake` file as follows:
154
+
155
+
```cmake
156
+
# Change pinned tag and fork here to test a commit in CI
157
+
# To use a different RAFT locally, set the CMake variable
When the above change is pushed to a pull request, the continuous integration servers will use the specified RAFT branch to run the cuGraph tests. After the changes in the RAFT branch are merged to the release branch, remember to revert the `get_raft.cmake` file back to the original cuGraph branch.
0 commit comments