diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-09-21 11:56:20 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2023-09-30 05:59:22 (GMT) |
commit | 872daff159d8c7b3bfdabe3918c2832539168c91 (patch) | |
tree | 7bffd2d153cdaa449e395b2d6a0dacfae5f568dc /Help/release | |
parent | 4ac624debc11e3b87d53a34ccfe3e25ff9c5a426 (diff) | |
download | CMake-872daff159d8c7b3bfdabe3918c2832539168c91.zip CMake-872daff159d8c7b3bfdabe3918c2832539168c91.tar.gz CMake-872daff159d8c7b3bfdabe3918c2832539168c91.tar.bz2 |
ExternalProject: declare byproducts for the download step
This can surface a conflict where two projects download the same file
and get scheduled against each other.
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/ExternalProject-declare-download-byproducts.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/release/dev/ExternalProject-declare-download-byproducts.rst b/Help/release/dev/ExternalProject-declare-download-byproducts.rst new file mode 100644 index 0000000..e5f33e7 --- /dev/null +++ b/Help/release/dev/ExternalProject-declare-download-byproducts.rst @@ -0,0 +1,8 @@ +ExternalProject-declare-download-byproducts +------------------------------------------- + +* The :module:`ExternalProject` module now declares ``BYPRODUCTS`` for the + downloaded file for generated ``download`` steps. Previously, if multiple + external projects downloaded to the same file, hash verification could fail. + Now, when using the :ref:`Ninja Generators`, this scenario is detected and + Ninja will raise an error stating that multiple rules generate the same file. |