Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake jit_preprocess_files function only runs when needed (rapidsai#7872
) This correct a couple of issues with the `jit_preprocess_files` function. 1. It now always makes sure that the output directory that the jit headers are going into will exist before executing. So if a user deletes `<build_dir>/include` everything will work as expected 2. The output of the jitify tool are files that end in `.jit.hpp` not `.jit`. This is required to allow generators to build the minimal incremental compilation graph 3. Mark the input source files as a dependency so when that file is modified, the build-system knows to recompile the jit file. Authors: - Robert Maynard (https://github.com/robertmaynard) Approvers: - Christopher Harris (https://github.com/cwharris) - Nghia Truong (https://github.com/ttnghia) - Jason Lowe (https://github.com/jlowe) - Keith Kraus (https://github.com/kkraus14) URL: rapidsai#7872
- Loading branch information