| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| | |
26673bf480 Xcode: Explicitly specify default native architecture on macOS
ce624cfbd4 cmGlobalXCodeGenerator: Save CMAKE_SYSTEM_NAME in member
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5023
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When `CMAKE_OSX_ARCHITECTURES` is not specified, we add the Xcode
setting `ONLY_ACTIVE_ARCH = YES` with the intention of targeting the
native architecture of the host. However, the default `ARCHS` value
chosen by "Xcode 12 Universal Apps" includes multiple architectures.
Add an explicit `ARCHS` setting with value `$(NATIVE_ARCH_ACTUAL)`
to tell Xcode to use the host's native architecture only.
Fixes: #20893
|
| |
| |
| |
| | |
Fixes: #20963
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
17e13fb6d0 macOS: Always pick latest SDK if user has not set one explicitly
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5012
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Apple tech note QA1806 recommends always building against the latest
SDK.
Fixes: #20949
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
98fea8205e Compiler/TI: Avoid response file usage for linker
5dec322f33 Compiler/TI: Add compiler flags to linker
763b44e519 Compiler/TI: Avoid usage of ranlib
ef528f10bf Compiler/TI: Sync ASM settings to C/CXX
a548a52230 Compiler/TI: Refactor C/CXX to use a common file
195aa488e3 Compiler/TI: Detect architecture
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5010
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The object and library files have to be listed after the `--run-linker`
flag.
But after this flag the `--cmd_file` flag for response files cannot be
used any more.
Putting the whole command line into a response file would work, but
this is not supported by CMake (yet).
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
By adding the compiler flags via `<FLAGS>` to the linker call,
the linker can decide which default library to use.
CMake replaces `<FLAGS>` by the content of `CMAKE_<LANG>_FLAGS`.
So any relevant flag needs to be defined in this variable, preferably
in a toolchain file.
The compiler flags have to be specified before the `--run_linker`
flag and the linker flags afterwards.
Replaces Merge-request !4890
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If a ranlib executable has been found it is used for finishing
an archive.
In case of the TI compiler the archive file gets corrupted.
Fixes: #14876
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For assembler the same compiler executable is used as for C/CXX.
So the setting shall be kept in sync.
|
| | | | |
|
| |/ / |
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
ff086f066b NVCC: Handle host compiler with spaces in path
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5019
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Need to surround it with quotes otherwise the different bits are passed as
separate arguments.
Fixes #20954.
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
f332ce12d6 IRSL: Fix path to Intel 32-bit redist libraries
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4995
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
656d6ea821 FindOpenMP: Set version variables every time CMake runs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4996
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
e8051b1f20 FindJava: Update check to avoid accepting macOS stub 'java' as Java
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4993
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
8707178c1c FindCUDA/select_compute_arch: generate PTX for the latest architecture
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4991
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
f8b7acaf90 Help: Fix CPack module docs on config file for source package
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4985
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
33192e1b5f FindMPI: Pass -pthread to NVCC through -Xlinker for device linking
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4981
|
| |_|_|_|_|_|_|/
|/| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Explain the purpose of this variable and the conditions under which
it can be set. Point out that it should not be set explicitly without
also setting `CMAKE_CUDA_COMPILER` explicitly.
Issue: #20826
|
|\ \ \ \ \ \ \ \
| | |_|_|_|_|_|/
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
f332ce12d6 IRSL: Fix path to Intel 32-bit redist libraries
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4995
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The path to the 32 bit libraries in the Intel windows/redist folder use
ia32. I don't remember if this has changed at some point, but ia32 has
been used at least since Intel Fortran XE 2018.
|
|\ \ \ \ \ \ \ \
| | |_|_|_|_|_|/
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
656d6ea821 FindOpenMP: Set version variables every time CMake runs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4996
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The version is determined in two steps. First, the "spec date" is
detected and cached. Second, the date is converted to a version.
Move the second step out of the spec date cache guard condition
so that it runs every time even if the spec date is already cached.
Fixes: #19150
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
a3c389cb17 FindMatlab: set MATLAB_DEFAULT_RELEASE for unknown version
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4986
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
An "unknown" version does not always mean an old version. Setting this
macro by mistake does not result in a compilation error, but not setting
it does. I had this error when compiling from a user that does not have
a matlab license.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
ca9bd43f2d Help: Duplicate essential information on install paths in CPack.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4987
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | |_|_|_|_|_|_|/
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
e8051b1f20 FindJava: Update check to avoid accepting macOS stub 'java' as Java
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4993
|
| | |_|/ / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Since commit dd378258f1 (FindJava: Do not accept OS X stub 'java' as
Java, 2014-10-24, v3.1.0-rc3~29^2) we try to avoid using the macOS
`/usr/bin/java` stub if no underlying implementation of Java is actually
installed. However, the message that `/usr/bin/java` prints when there
is no Java available has changed since then. Update our check to also
look for the new message.
While at it, revise the way we suppress `Java_JAVA_EXECUTABLE`.
Previously we set its cache entry to `Java_JAVA_EXECUTABLE-NOTFOUND`,
but that would cause the same find-and-reject sequence to be followed
every time CMake runs in a build tree. Instead, use the approach from
commit 2c0db404d1 (FindSubversion: Do not accept macOS stub without
Xcode implementation, 2020-05-28, v3.18.0-rc1~67^2). Leave the cache
entry alone and just set a normal variable of the same name to hide it.
|
|\ \ \ \ \ \ \ \
| | |_|_|_|_|_|/
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
8707178c1c FindCUDA/select_compute_arch: generate PTX for the latest architecture
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4991
|
| | |_|_|/ / /
| |/| | | | | |
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
295d1b9cb5 FindCUDA/select_compute_arch: Add CUDA 11 and Ampere support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Axel Huebl <axel.huebl@plasma.ninja>
Acked-by: Tobias Ribizel <ribizel@kit.edu>
Acked-by: Henry Schreiner <henryschreineriii@gmail.com>
Merge-request: !4979
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
196f042b58 FindLAPACK: Handle Windows Intel MKLROOT with backslash
96c19ecd55 FindBLAS: Handle Windows Intel MKLROOT with backslash
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4982
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / /
|/| | | | | | | /
| | |_|_|_|_|_|/
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
f8b7acaf90 Help: Fix CPack module docs on config file for source package
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4985
|
| | |_|_|/ / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | |_|_|_|_|/
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
33192e1b5f FindMPI: Pass -pthread to NVCC through -Xlinker for device linking
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4981
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | | |
Fixes: #20924
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
b725a19072 FindMPI: Deny -fexceptions from NVCC
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !4970
|
|\ \ \ \ \ \ \
| | |_|_|_|/ /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
295d1b9cb5 FindCUDA/select_compute_arch: Add CUDA 11 and Ampere support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Axel Huebl <axel.huebl@plasma.ninja>
Acked-by: Tobias Ribizel <ribizel@kit.edu>
Acked-by: Henry Schreiner <henryschreineriii@gmail.com>
Merge-request: !4979
|
| | |_|/ / /
| |/| | | |
| | | | | |
| | | | | | |
Co-Author: Henry Schreiner <henryschreineriii@gmail.com>
|
|\ \ \ \ \ \
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
196f042b58 FindLAPACK: Handle Windows Intel MKLROOT with backslash
96c19ecd55 FindBLAS: Handle Windows Intel MKLROOT with backslash
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4982
|
| | | | | | |
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
496ec6036f Help: Add Sphinx 'versionadded' directives to each top-level document
0c87afceab Help/dev: Add maintainer guide step for 'versionadded' documentation markup
dbd453c2ff Utilities/Sphinx: Add script for inserting ".. versionadded" directive
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex Turbov <i.zaufi@gmail.com>
Merge-request: !4947
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Run the `Utilities/Sphinx/update_versions.py` script to add initial
markup to every top-level document and find module.
Issue: #19715
|
|\ \ \ \ \ \
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
b725a19072 FindMPI: Deny -fexceptions from NVCC
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !4970
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Do not forward -fexceptions (set from MVAPICH2) to NVCC.
Fixes: #18558
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
2af6857562 Darwin: prefix internal osx variables with "_" to hide them from users
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4967
|