Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmArchiveWrite: Consolidate multiple ways to set thread count | Nils Gladitz | 2021-04-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | Merge use of SetFilterOption() into more abstract thread count in cmArchiveWrite constructor. libarchive defaulting of threads for threads == 0 seems to be configuration dependent. Preemptively default thread count via std::thread::hardware_concurrency(). Also allow negative values for the thread count in which case the detected hardware concurrency is also used but the given absolute thread count is used as an upper limit. | ||||
* | CPack: add CPACK_THREADS variable to control compression threads | Rodolfo Lima | 2021-01-26 | 2 | -1/+2 |
| | | | | | | | This allows setting how many threads the compressor will use. Currently only implemented for XZ when using system's lzma library. Fixes: #21715 | ||||
* | cmCPackArchiveGenerator: support multithreaded compression | Ben Boeckel | 2020-04-03 | 2 | -0/+9 |