Commit 11374c0
authored
ENH Allow arbitrary CMake config options in build.sh (rapidsai#888)
Adds the feature to build.sh script allowing it to consume any arbitrary CMake args and add them to the CMake configuration step.
New --help output:
```
./build.sh [clean] [librmm] [rmm] [-v] [-g] [-n] [-s] [--ptds] [--cmake-args="<args>"] [-h]
clean - remove all existing build artifacts and configuration (start over)
librmm - build and install the librmm C++ code
rmm - build and install the rmm Python package
-v - verbose build mode
-g - build for debug
-n - no install step
-s - statically link against cudart
--ptds - enable per-thread default stream
--cmake-args=\"<args>\" - pass arbitrary list of CMake configuration options (escape all quotes in argument)
-h - print this text
default action (no args) is to build and install 'librmm' and 'rmm' targets
```
Also updates the conda librmm packaging script to make sure that all rmm CMake components are installed in the `lib` directory no matter the host OS.
Authors:
- Robert Maynard (https://github.com/robertmaynard)
Url: rapidsai#8881 parent 12f82fb commit 11374c0
2 files changed
+37
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
57 | 81 | | |
58 | 82 | | |
59 | 83 | | |
60 | 84 | | |
61 | 85 | | |
62 | 86 | | |
63 | | - | |
| 87 | + | |
| 88 | + | |
64 | 89 | | |
65 | 90 | | |
66 | | - | |
| 91 | + | |
| 92 | + | |
67 | 93 | | |
68 | 94 | | |
69 | 95 | | |
| |||
74 | 100 | | |
75 | 101 | | |
76 | 102 | | |
77 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
78 | 106 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
83 | 111 | | |
84 | 112 | | |
85 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
0 commit comments