summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cuda.py
Commit message (Collapse)AuthorAgeFilesLines
* compilers: replace CompilerType with MachineInfoDylan Baker2019-10-071-2/+4
| | | | | | Now that the linkers are split out of the compilers this enum is only used to know what platform we're compiling for. Which is what the MachineInfo class is for
* CUDA support on WindowsAleksey Gurtovoy2019-09-241-18/+101
|
* Create CUDA linker with CUDA compilerKramer Peace2019-09-051-6/+2
| | | | | Since they are laways paired there is no need to "search" for the cuda linker.
* Add a CUDA linker objectKramer Peace2019-09-051-1/+5
| | | | Fixes issue #5870
* compilers: Move the compiler argument to proxy linker flags to the compiler ↵Dylan Baker2019-08-301-11/+5
| | | | | | | | | | | | class Instead of the DynamicLinker returning a hardcoded value like `-Wl,-foo`, it now is passed a value that could be '-Wl,', or could be something '-Xlinker=' This makes a few things cleaner, and will make it possible to fix using clang (not clang-cl) on windows, where it invokes either link.exe or lld-link.exe instead of a gnu-ld compatible linker.
* compilers: Dispatch to dynamic linker classDylan Baker2019-08-141-32/+26
| | | | | Most of the cuda code is from Olexa Bilaniuk. Most of the PGI code is from Michael Hirsc
* compilers/cuda: pass through extra kwargsDylan Baker2019-08-141-2/+2
|
* compilers/cuda: don't use re for replacementDylan Baker2019-08-141-3/+2
| | | | | Even with the check (for extra safety) string.replace is more than twice as fast.
* compilers: split gnu and gnulike compilers out of compilersDylan Baker2019-07-151-1/+2
| | | | | I debated a bit whether both classes really belong in the same module, and decided that they do because the share a number of helpers.
* Purge `is_cross` and friends without changing user interfacesJohn Ericson2019-06-091-3/+3
| | | | | | | | | | | | In most cases instead pass `for_machine`, the name of the relevant machines (what compilers target, what targets run on, etc). This allows us to use the cross code path in the native case, deduplicating the code. As one can see, environment got bigger as more information is kept structured there, while ninjabackend got a smaller. Overall a few amount of lines were added, but the hope is what's added is a lot simpler than what's removed.
* Added some cahced valuesDaniel Mensinger2019-04-281-2/+3
|
* Fix nvcc error with threads dependency (4999)John M. Lindemon2019-02-281-1/+4
|
* Solve NVCC -Werror problem.Olexa Bilaniuk2019-02-241-1/+1
| | | | Partially addresses #4961.
* Rework CUDA sanity check.Olexa Bilaniuk2019-02-241-69/+81
| | | | | | | PArtially addresses #4961. Also make the sanity check do double duty as a GPU architecture detection test.
* Add warning level zerojml17952019-02-191-1/+2
|
* Fixes for CUDA compiler shared library linking.Olexa Bilaniuk2019-02-131-8/+29
| | | | | | | Also adds test case for shared library linking. Closes #4912, at least on Linux. The future 0.50.0 does not yet claim to support CUDA on systems other than Linux and backends other than Ninja.
* Add werror flags to nvcc. Closes #4911.Jussi Pakkanen2019-02-131-0/+3
|
* All the fixes needed to make work against current master.Jussi Pakkanen2019-01-211-1/+10
|
* More tests and pic.Jussi Pakkanen2019-01-211-0/+3
|
* Clean up minor issues.Jussi Pakkanen2019-01-211-4/+6
|
* added cuda compilerBeau Johnston2019-01-211-0/+188