CUDA, HIP: Revert false support for LINKER_LAUNCHER

The implementation in commits 77312cc6 (CUDA: Add support for
[CMAKE_]CUDA_LINKER_LAUNCHER, 2025-05-30, v4.1.0-rc1~80^2~1) and
cdf2a36f (HIP: Add support for [CMAKE_]HIP_LINKER_LAUNCHER, 2025-05-30,
v4.1.0-rc1~80^2) is broken, and the tests are wrongly configured
so as to never actually run. Revert the entire feature to avoid future
confusion, including documented support.

Enable the test for Fortran, which was added but untested by commit
d176a8c5ce (Fortran: Add support for [CMAKE_]Fortran_LINKER_LAUNCHER,
2025-05-26, v4.1.0-rc1~96^2), and whose implementation works.

Issue: #26967
This commit is contained in:
Tyler Yankee
2026-09-17 18:07:42 -04:00
parent 03779318b8
commit b63bcda722
27 changed files with 18 additions and 94 deletions
@@ -11,10 +11,6 @@ This is done only when ``<LANG>`` is one of:
* ``CXX``
* ``CUDA``
.. versionadded:: 4.1
* ``OBJC``
* ``OBJCXX``
@@ -23,9 +19,5 @@ This is done only when ``<LANG>`` is one of:
.. versionadded:: 4.1
* ``HIP``
.. versionadded:: 4.1
This variable is initialized to the :envvar:`CMAKE_<LANG>_LINKER_LAUNCHER`
environment variable if it is set.