Skip to content

Commit

Permalink
Merge pull request #8355 from obilaniu/cudafixes
Browse files Browse the repository at this point in the history
CUDA Compiler Fixes
  • Loading branch information
dcbaker authored Feb 17, 2021
2 parents f3727c6 + 3410465 commit 7812cee
Show file tree
Hide file tree
Showing 5 changed files with 419 additions and 41 deletions.
1 change: 1 addition & 0 deletions docs/markdown/Builtin-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ or compiler being used:
| cpp_thread_count | 4 | integer value ≥ 0 | Number of threads to use with emcc when using threads |
| cpp_winlibs | see below | free-form comma-separated list | Standard Windows libs to link against |
| fortran_std | none | [none, legacy, f95, f2003, f2008, f2018] | Fortran language standard to use |
| cuda_ccbindir | | filesystem path | CUDA non-default toolchain directory to use (-ccbin) *(Added in 0.57.1)* |

The default values of `c_winlibs` and `cpp_winlibs` are in
compiler-specific argument forms, but the libraries are: kernel32,
Expand Down
4 changes: 2 additions & 2 deletions mesonbuild/compilers/compilers.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ class CompileCheckMode(enum.Enum):


cuda_buildtype_args = {'plain': [],
'debug': [],
'debugoptimized': [],
'debug': ['-g', '-G'],
'debugoptimized': ['-g', '-lineinfo'],
'release': [],
'minsize': [],
'custom': [],
Expand Down
Loading

0 comments on commit 7812cee

Please sign in to comment.