- May 21, 2016
-
-
Kitware Robot authored
-
- May 20, 2016
-
-
cc95001b FindCUDA: Detect and report FP16 support
-
89113e12 ExternalProject: Re-implement download logic as a dedicated script e7d5e4b4 ExternalProject: Re-implement download verification as a dedicated script ebcc7027 ExternalProject: Avoid repeating download verification 33218f6a ExternalProject: Remove unused verify script logic e5409d1e ExternalProject: Remove unused 'retries' argument from verify script d610407c ExternalProject: Use uppercase placeholders for script generation
-
40bee43a cmCPackDragNDropGenerator: Replace std::{ostringstream => string}
-
Kitware Robot authored
-
- May 19, 2016
-
-
Move the content to a `ExternalProject-download.cmake.in` file and use `configure_file` to generate the final script. Retry logic was not working before because similar script trigger FATAL_ERROR if 'file(DOWNLOAD ...)' exits with nonzero 'status_code'. FATAL_ERROR makes the whole chain of commands stop and '_ep_write_verifyfile_script' retry logic was not used in fact. Default retry number set to 5 with pauses 0, 5, 5, 15, 60 seconds. Some space left for future improvements if needed (90, 300, 1200=20min). Can be controlled by user.
-
Move the content to a `ExternalProject-verify.cmake.in` file and use `configure_file` to generate the final script.
-
Verify step for downloaded files will be performed in separate script.
-
The logic to re-run the download script will be moved elsewhere.
-
There is no retries for local files and retry logic is broken for downloads. Will be implemented in '*-download.cmake' script.
-
Use uppercase variables for future 'configure_file' command.
-
Reviewed-by:
James Bigler <jamesbigler@gmail.com>
-
eb076692 Tests: Select RunCMake.Ninja test cases based on ninja version 8a862a4d Ninja: Support embedding of CMake as subninja project 038e7716 Ninja: Pass all build paths through a central method 7c26a6a2 Ninja: Fix path to soname-d target file ac3cdd9a Ninja: Convert object file names to ninja paths earlier d4381cb1 Ninja: Convert link library file names like all other output paths 0397c92a Ninja: Pre-compute "CMakeCache.txt" build target name 3b3ecdfa Ninja: Pre-compute "all" build target name 5ca72750 Ninja: Simplify generation of custom target logical path
-
bdca6838 ExternalProject: Always run update step with non-empty UPDATE_COMMAND
-
Kitware Robot authored
-
- May 18, 2016
-
-
Brad King authored
The purpose of the `update` step is to run an update on each build (subject to `UPDATE_DISCONNECTED`). This is done for version-controlled source directories. We should do it for a custom `UPDATE_COMMAND` too. In particular, when `UPDATE_DISCONNECTED` is used we expect the `skip-update` step to exist.
-
Add support for this feature added by QtIFW 2.0.3: http://doc.qt.io/qtinstallerframework/ifw-updates.html Add a `cpack_ifw_update_repository` command as porcelain.
-
-
edcccde7 file: Sort GLOB results to make it deterministic (#14491)
-
d7233a04 GHS: Use shorter object file names on collision
-
5a21557b AIX,HP: Allow user to override the default runtime path (libpath)
-
-
Brad King authored
Some test cases need features not available in Ninja < 1.6, so check the version before running them.
-
Kitware Robot authored
-
- May 17, 2016
-
-
Brad King authored
-
The `CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH` is used by CMake to always append `-Wl,-blibpath:/usr/lib:/lib` to the link line. This is needed by default on these platforms but needs to be overridden in some use cases (e.g. an environment in which one maintains versioned shared libraries). Change our logic to set this value only if it not already set by the user, project, or toolchain file.
-
Brad King authored
Manually extract the C++ portion of `cmListFileLexer.in.l` into a temporary file, format it, and then move it back into the original file. Manually format C++ code inside the lexer actions to match our style. Then re-generate the lexer.
-
Brad King authored
Revise the documented modifications we need to make to the flex-generated source file according to the needs of the new version. Update our own implementation to avoid warnings with flex types.
-
Even though the `file(GLOB)` documentation specifically warns against using it to collect a list of source files, projects often do it anyway. Since it uses `readdir()`, the list of files will be unsorted. This list is often passed directly to add_executable / add_library. Linking binaries with an unsorted list will make it unreproducible, which means that the produced binary will differ depending on the unpredictable `readdir()` order. To solve those reproducibility issues in a lot of programs (which don't explicitly `list(SORT)` the list manually), sort the resulting list of the `file(GLOB)` command. A more detailed rationale about reproducible builds is available [here](https://reproducible-builds.org/).
-
Add a `CMAKE_NINJA_OUTPUT_PATH_PREFIX` variable. When it is set, CMake generates a `build.ninja` file suitable for embedding into another ninja project potentially generated by an alien generator.
-
This gives us a central location to revise paths.
-
In WriteLinkStatement we convert all target output paths to ninja-style paths. Add a missing conversion for the `soname` file name.
-
In WriteObjectBuildStatement we pass object file names and directories to several places that expect paths as Ninja sees them. Convert them to Ninja paths before all such uses.
-
All paths generated on Ninja-invoked command lines should be passed through ConvertToNinjaPath. Fix ConvertToLinkReference to call this instead of partially duplicating its implementation.
-
-
-
Brad King authored
In `AppendTargetOutputs` we generate a logical build target name for each UTILITY command. Simplify the logic to avoid testing the result of `ConvertToNinjaPath`.
-
d9fd2f54 Revise C++ coding style using clang-format 82df6dea Empty commit at end of history preceding clang-format style transition 6a13f43f CONTRIBUTING: Add a section on coding style bf451d9f Add a script to run clang-format on the entire source tree 1e90d78f Configure clang-format for CMake source tree da60adc3 Tell Git to use a distinct conflict marker size in `.rst` files
-