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:14 -0400 |
| commit | 6f3841e98636b8460b8dc4e57a14a36fb7ddb815 (patch) | |
| tree | 910ede06f3ccf69f43bb4f87a9b68b669bfbfb56 /test cases/cuda | |
| parent | 7f2c6f644b83f27d1f46aacf8ac59722498529ff (diff) | |
| download | meson-6f3841e98636b8460b8dc4e57a14a36fb7ddb815.tar.gz | |
cuda: add test for late `add_languages('cuda')`
Diffstat (limited to 'test cases/cuda')
| -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') |
