Skip to content

[v6.40][CMake] Produce an error when cuda=On and no CUDA compiler can be found. - #23097

Merged
hageboeck merged 1 commit into
root-project:v6-40-00-patchesfrom
hageboeck:v6.40_cudaError
Aug 19, 2026
Merged

[v6.40][CMake] Produce an error when cuda=On and no CUDA compiler can be found.#23097
hageboeck merged 1 commit into
root-project:v6-40-00-patchesfrom
hageboeck:v6.40_cudaError

Conversation

@hageboeck

Copy link
Copy Markdown
Member

When cuda=On, but no viable compiler can be found, CMake produces the hard-to-understand error:
Cannot determine link language of RooBatchCompute_CUDA.

(cherry picked from commit 6fc1698)

When cuda=On, but no viable compiler can be found, CMake produces the
hard-to-understand error:
  Cannot determine link language of RooBatchCompute_CUDA.

(cherry picked from commit 6fc1698)
@hageboeck hageboeck self-assigned this Aug 18, 2026
@hageboeck
hageboeck requested a review from bellenot as a code owner August 18, 2026 16:33
@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 11h 19m 12s ⏱️
 3 865 tests  3 833 ✅ 0 💤 32 ❌
76 323 runs  76 290 ✅ 0 💤 33 ❌

For more details on these failures, see this check.

Results for commit ab2cd8a.

♻️ This comment has been updated with latest results.

@hageboeck

Copy link
Copy Markdown
Member Author

The failure with chrome on fedora43 is unrelated to a warning about a missing CUDA compiler, merging.

@hageboeck
hageboeck merged commit 9b65259 into root-project:v6-40-00-patches Aug 19, 2026
57 of 62 checks passed
@hageboeck
hageboeck deleted the v6.40_cudaError branch August 19, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant