diff options
| author | David Seifert <soap@gentoo.org> | 2024-05-29 22:19:03 +0200 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-05-29 19:13:49 -0400 |
| commit | aeb0a41360b7ecdbe7faa17b74a481875901925f (patch) | |
| tree | ff1417dfbfbc0ebf87149e8a0f186470d62a0048 | |
| parent | 9064d0189e01b17da539827da2397d6c5040ace7 (diff) | |
cuda: add test for late `add_languages('cuda')`
(cherry picked from commit 6f3841e98636b8460b8dc4e57a14a36fb7ddb815)
| -rw-r--r-- | test cases/cuda/17 separate compilation linking/meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test cases/cuda/17 separate compilation linking/meson.build b/test cases/cuda/17 separate compilation linking/meson.build index ee86123eb..8e90ddd7f 100644 --- a/test cases/cuda/17 separate compilation linking/meson.build +++ b/test cases/cuda/17 separate compilation linking/meson.build @@ -3,7 +3,10 @@ # code: # https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#examples -project('device linking', ['cpp', 'cuda'], version : '1.0.0') +project('device linking', ['cpp'], version : '1.0.0') + +# test that optional initialization of cuda works to disable thin archives +add_languages('cuda') nvcc = meson.get_compiler('cuda') cuda = import('unstable-cuda') |
