| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
In every other compilers level 0 maps to no argument at all.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The linker that comes with MSVC does not understand the /openmp flag.
This results in a string of
LINK : warning LNK4044: unrecognized option '/openmp'; ignored
warnings, one for each static_library linked with an executable.
Avoid this by only setting the linker openmp flag when the compiler is
not MSVC.
|
| | |
|
| |
|
|
|
|
|
| |
This is the argument to name the implib when using the Visual Studio
Linker. This is needed by LDC and DMD when using link.exe or
lld-link.exe on windows, and is really a linker argument not a compiler
argument.
|
| |
|
|
|
|
|
| |
Clang-cl doesn't support /ZI, so we need to use either /Zi or /Z7, which
both do the same thing for clang-cl (though not for msvc)
Fixes #6414
|
| |
|
|
|
|
| |
Instead of checking the compiler id inside the VisualStudioLikeCompiler
class, this creates two subclasses that each represent the divergent
behavior of the two compilers
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
If a user passes -fuse-ld=gold to gcc or clang, they expect that they'll
get ld.gold, not whatever the default is. Meson currently doesn't do
that, because it doesn't pass these arguments to the linker detection
logic. This patch fixes that. Another case that this is needed is with
clang's --target option
This is a bad solution, honestly, and it would be better to use $LD or a
cross/native file but this is needed for backwards compatability.
Fixes #6057
|
| |
|
|
|
|
|
| |
This uses the normal meson mechanisms, an LD environment variable or via
cross/native files.
Fixes: #6057
|
| |
|
|
| |
- Typos were found by codespell v1.16.0
|
| |
|
|
| |
Fixes #6101 (with a test), following up #5881
|
| | |
|
| | |
|
| |
|
|
|
| |
Most of the cuda code is from Olexa Bilaniuk.
Most of the PGI code is from Michael Hirsc
|
| | |
|
| |
|