| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
In applicable areas only, of course.
|
|
|
|
| |
Convert runtime error messages into compile-time errors.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
7e4e192ce2 Source: fix clang-tidy modernize-redundant-void-arg warning
8d671dd94c Source: fix more -Wmissing-prototypes warnings
1cf14f8c03 Source: fix many -Wmissing-prototypes warnings by marking functions static
319944b3d2 Source: fix some -Wunused-macros warnings
5257d9e71a Source: fix only -Wshorten-64-to-32 warning with explicit cast
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !6648
|
| | |
|
|/ |
|
|
|
|
|
| |
Helpers functions related to cmValue semantic are now part of
cmValue.h header.
|
| |
|
| |
|
|
|
|
|
|
| |
Also update call sites to report the error.
Issue: #19666
|
|
|
|
|
| |
Now that the ELF definitions are provided on all platforms there is no
need to keep the CMake_USE_ELF_PARSER option.
|
|
|
|
|
|
|
| |
DT_MIPS_RLD_MAP_REL is a machine-speicific dynamic tag, so other
architectures could re-use the value of 0x70000035 to mean something
else. Before using DT_MIPS_RLD_MAP_REL, we have to check that the ELF
file is actually has a e_machine of EM_MIPS.
|
|
|
|
|
| |
This prepares the code to handle both the ELF and XCOFF being enabled by
trying to parse an ELF file first and if that fails falling back to XCOFF.
|
| |
|
| |
|
| |
|
|
|
|
| |
This returns a relative path if it does not start in `../`.
|
|
|
|
|
|
|
|
|
|
|
| |
In commit 7f89053953 (cmSystemTools: Return KWSys Status from CreateLink
and CreateSymlink, 2021-04-15) we just took the `-err` from libuv and
treated it as a POSIX error. This is accurate on POSIX, but on Windows
does not match the POSIX error codes.
Use `uv_fs_get_system_error` to get the actual system error code.
This requires libuv 1.38 or higher. Require that for Windows, but
fall back to the previous approach on POSIX.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
f881b4e4cc cmCPackDebGenerator: Remove unused local variable
5ad8862318 Source: Convince NVHPC that RAII variables are used
1898f9dd82 cmFileCommand: Remove unused local variable
6a003c6f35 cmSystemTools: Avoid unreachable code warning on NVHPC
16275c7f82 LexerParser: Suppress NVHPC warnings in generated code
cefda16d35 LexerParser: Regenerate parsers with bison 3.7.5
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6049
|
| | |
|
|/
|
|
| |
Detect MSYS as CYGWIN, with the required adaptations.
|
| |
|
| |
|
|
|
|
|
|
| |
KWSys as of 2021-04-14 changed the return type of `SystemTools`
operations from `bool` to `Status`. Update our call sites.
This may improve error reporting accuracy in a few places.
|
|\
| |
| |
| |
| |
| |
| | |
317a477283 OpenBSD: Fix system feature definitions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6000
|
| |
| |
| |
| |
| |
| |
| |
| | |
Since commit f034b0f663 (CMake compilation: do not use compiler
extensions, 2020-03-14, v3.18.0-rc1~494^2), some sources explicitly
enable needed system APIs on some platforms using definitions like
`_POSIX_C_SOURCE` and `_XOPEN_SOURCE`. Drop the definitions for
OpenBSD, which provides the POSIX APIs by default.
|
| |
| |
| |
| | |
And use it for CMAKE_HOST_SYSTEM_NAME and CMAKE_SYSTEM_NAME.
|
| | |
|
| | |
|
|/ |
|
|
|
|
| |
Avoid relinking before installation.
|
|
|
|
| |
We use the `CMake_` prefix for options affecting CMake itself.
|
|
|
|
| |
We use the `CMake_` prefix for options affecting CMake itself.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Revert commit d78c22aa64 (cmSystemTools: Improve RenameFile on Windows
with MOVEFILE_WRITE_THROUGH, 2020-08-25, v3.19.0-rc1~243^2~3). Using
this flag causes the operation to fail frequently in some environments.
Drop it for now pending further investigation.
Fixes: #21571
|
|
|
|
| |
And switch the ordering of "Help" and "About".
|
|
|
|
| |
Use cmStrCat(), cmStrLen(), and cmHasLiteralSuffix().
|
| |
|
|
|
|
| |
Fixes: #21125
|
|
|
|
|
|
|
| |
Create RAII class SaveRestoreFileAttributes to manage Windows Search
Indexing. Turn it off temporarily while renaming a directory.
Issue: #19580
|
|
|
|
| |
Issue: #19580
|
|
|
|
| |
Issue: #19580
|
|
|
|
|
|
|
| |
Add this flag to tell `MoveFileExW` to flush the rename to disk before
returning.
Issue: #19580
|
| |
|
| |
|
|
|
|
| |
Inspired-by: Ron W Moore <webbtrail@gmail.com>
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
85a945a607 Restore handling of build directory inside a symlinked path
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4963
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In commit dd8365b3f1 (Merge branch 'upstream-KWSys' into update-kwsys,
2020-04-06, v3.18.0-rc1~397^2) we imported KWSys commit `019afb6ea`
(SystemTools: Drop GetCurrentWorkingDirectory 'collapse' argument,
2020-04-03). That caused `GetCurrentWorkingDirectory` to no longer send
paths through the KWSys translation map and broke CMake's detection of
the absolute path to a build directory containing a symbolic link.
Add our own `cmSystemTools::GetCurrentWorkingDirectory` wrapper around
the KWSys method in order to restore that mapping.
Test-case-by: Ben Boeckel <ben.boeckel@kitware.com>
Issue: #16228
Fixes: #20900
|
|/
|
|
|
|
|
| |
`uv_default_loop()` can return `nullptr` when running on a Linux kernel
configured without `CONFIG_EVENTFD`.
Fixes: #20899
|