https://github.com/halide/Halide
Revision 2f0957b5bac0d2210d117797be0d4beb018cfd5b authored by Alex Reinking on 23 August 2022, 19:38:51 UTC, committed by GitHub on 23 August 2022, 19:38:51 UTC
* Add Halide_ASAN_ENABLED to package.
* Fix handling of optional components. Make PNG/JPEG optional.
* Make it easier to find HalideHelpers

Before this change, users would either need to set Halide_ROOT to a
Halide installation path or add said path to CMAKE_PREFIX_PATH. If they
tried to use a different mechanism, like setting Halide_DIR or directly
annotating their find_package call with HINTS or PATHS, then it would
fail to find HalideHelpers.cmake.

Adding this hint inside HalideConfig.cmake makes the package more
robust, while still respecting the more powerful Halide_ROOT and
CMAKE_PREFIX_PATH variables.

* Delete undocumented variables in HalideConfig

Some of our package's internal variables and macros leak out into user
builds. We don't want users to use any of these. We might hit Hyrum's
Law here, but I hope not. Users of these variables and macros should
seek other means.
1 parent ca6319b
History
Tip revision: 2f0957b5bac0d2210d117797be0d4beb018cfd5b authored by Alex Reinking on 23 August 2022, 19:38:51 UTC
CMake packaging fixes (#6966)
Tip revision: 2f0957b
File Mode Size
.github
apps
cmake
dependencies
doc
packaging
python_bindings
src
test
tools
tutorial
util
.clang-format -rw-r--r-- 1.4 KB
.clang-format-ignore -rw-r--r-- 286 bytes
.clang-tidy -rw-r--r-- 2.2 KB
.gitattributes -rw-r--r-- 342 bytes
.gitignore -rw-r--r-- 5.0 KB
.gitmodules -rw-r--r-- 0 bytes
CMakeLists.txt -rw-r--r-- 4.8 KB
CMakePresets.json -rw-r--r-- 5.6 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.5 KB
LICENSE.txt -rw-r--r-- 13.8 KB
Makefile -rw-r--r-- 102.6 KB
README.md -rw-r--r-- 16.4 KB
README_cmake.md -rw-r--r-- 73.4 KB
README_python.md -rw-r--r-- 10.0 KB
README_rungen.md -rw-r--r-- 12.1 KB
README_webassembly.md -rw-r--r-- 10.5 KB
run-clang-format.sh -rwxr-xr-x 1.4 KB
run-clang-tidy.sh -rwxr-xr-x 3.1 KB

README.md

back to top