Commit 8288715
committed
require cmake on all platforms; tbb is always enabled
DESCRIPTION has always declared 'SystemRequirements: CMake (>= 3.5)', and
a missing cmake was already fatal everywhere except Windows, where it
instead produced a package with no TBB backend at all. That was easy to
end up with and hard to notice: the install succeeded, and the only
symptom was RcppParallel quietly running everything on tinythread.
Treat it as the unmet system requirement it is and fail the install.
TBB_ENABLED is then always TRUE, which makes several branches
unreachable, so drop them:
- the Windows 'building without a tbb backend' notice in configure.R and
its counterpart in install.libs.R
- the NULL pkgLibs branch for 'no TBB to link at all'
- the TBB_ENABLED = FALSE / -DRCPP_PARALLEL_USE_TBB=0 configuration
The tinythread backend is unaffected as a runtime choice: it is still
selectable via RCPP_PARALLEL_BACKEND=tinythread. It simply is no longer
something a build can silently land on.1 parent fdd181e commit 8288715
3 files changed
Lines changed: 31 additions & 41 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
22 | 29 | | |
23 | 30 | | |
24 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | 484 | | |
488 | 485 | | |
489 | 486 | | |
490 | 487 | | |
491 | 488 | | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
496 | 493 | | |
497 | 494 | | |
498 | 495 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
149 | | - | |
150 | | - | |
| 150 | + | |
| 151 | + | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| |||
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 162 | + | |
166 | 163 | | |
167 | 164 | | |
168 | 165 | | |
| |||
172 | 169 | | |
173 | 170 | | |
174 | 171 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 172 | + | |
182 | 173 | | |
183 | 174 | | |
184 | 175 | | |
| 176 | + | |
| 177 | + | |
185 | 178 | | |
186 | 179 | | |
187 | 180 | | |
| |||
205 | 198 | | |
206 | 199 | | |
207 | 200 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | 201 | | |
214 | 202 | | |
215 | 203 | | |
| |||
245 | 233 | | |
246 | 234 | | |
247 | 235 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
255 | 241 | | |
256 | 242 | | |
257 | 243 | | |
| |||
0 commit comments