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
|`Halide_CCACHE_BUILD`|`OFF`| Use ccache with Halide-recommended settings to accelerate rebuilds. |
450
-
|`Halide_CCACHE_PARAMS`|`CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines`| Options to pass to `ccache` when using `Halide_CCACHE_BUILD`. |
451
-
|`Halide_VERSION_OVERRIDE`|`${Halide_VERSION}`| Override the VERSION for libHalide. |
452
-
|`Halide_SOVERSION_OVERRIDE`|`${Halide_VERSION_MAJOR}`| Override the SOVERSION for libHalide. Expects a positive integer (i.e. not a version). |
|`Halide_CCACHE_BUILD`|`OFF`| Use ccache with Halide-recommended settings to accelerate rebuilds. |
450
+
|`Halide_CCACHE_PARAMS`|`CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines`| Options to pass to `ccache` when using `Halide_CCACHE_BUILD`. |
451
+
|`Halide_VERSION_OVERRIDE`|`${Halide_VERSION}`| Override the VERSION for libHalide. |
452
+
|`Halide_SOVERSION_OVERRIDE`|`${Halide_VERSION_MAJOR}`| Override the SOVERSION for libHalide. Expects a positive integer (i.e. not a version). |
453
453
454
454
The following options control whether to build certain test subsets. They only
455
455
apply when `WITH_TESTS=ON`:
@@ -501,10 +501,9 @@ install it into the currently active Python environment.
501
501
502
502
However, this comes with a few caveats:
503
503
504
-
1.`Halide_USE_FETCHCONTENT` is disabled, so the environment must be prepared
505
-
for CMake to find its dependencies. This is easiest to do by setting either
506
-
`CMAKE_PREFIX_PATH` to pre-built dependencies or by setting
507
-
`CMAKE_TOOLCHAIN_FILE` to vcpkg.
504
+
1. The environment must be prepared for CMake to find its dependencies. This is
505
+
easiest to do by setting either `CMAKE_PREFIX_PATH` to pre-built dependencies
506
+
or by setting `CMAKE_TOOLCHAIN_FILE` to vcpkg.
508
507
2. The build settings are fixed, meaning that `wabt` is required on non-Windows
509
508
systems, `flatbuffers` is always required, and the Python bindings must be
510
509
built.
@@ -577,8 +576,8 @@ Local storage:
577
576
Misses: 0 / 1079 ( 0.00%)
578
577
```
579
578
580
-
On this test system (an M3 MacBook Pro), the build is three times faster,
581
-
with a 100% cache hit rate!
579
+
On this test system (an M3 MacBook Pro), the build is three times faster, with a
|`load_cache`| Superseded by [`FetchContent`][FetchContent]/[`ExternalProject`][ExternalProject]|Use aforementioned modules |
140
+
|`load_cache`| Superseded by [`FetchContent`][FetchContent]/[`ExternalProject`][ExternalProject]|Write a vcpkg port or present a case for an exception.|
141
141
|`macro`| CMake macros are not hygienic and are therefore error-prone | Use functions instead. |
142
142
|`site_name`| Privacy: do not want leak host name information | Provide a cache variable, generate a unique name. |
143
143
|`variable_watch`| Debugging helper | None. Not needed in production. |
144
144
145
145
Do not introduce any dependencies via [`find_package`][find_package]
146
-
without broader approval. Importantly, never introduce a new use of
147
-
`FetchContent`; prefer to add dependencies to `vcpkg.json`.
146
+
without broader approval. Importantly, never introduce a use of`FetchContent`.
147
+
Add dependencies to `vcpkg.json` or create a custom port.
0 commit comments