-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
A proper rework of Halide CMake packaging problems mentioned in #7281
Quoting @alexreinking 's comments below:
The package decomposition I want in the end is as follows:
HalideHelpers(interfaces) includes all the platform-independent CMake helpers, header-only/source-injection libraries, etc.HalideBuildToolsincludes all the libraries and executables intended to run on the host system. This is where the (to-be-created) gengen tool and the autoschedulers should go in the end.Halideincludes the libraries meant to be linked into the target applications.
to make
find_package(Halide REQUIRED)do whatfind_package(HalideHelpers REQUIRED)does today and if users know they want JIT mode they can add that as a component as infind_package(Halide REQUIRED JIT)
The medium-term vision is to ship a
gengenutility binary in its own package that can produce runtimes.
Metadata
Metadata
Assignees
Labels
No labels