]> git.ipfire.org Git - thirdparty/ccache.git/commit
Bug fixes and tests for nvcc
authorClemens Rabe <clemens.rabe@clemensrabe.de>
Wed, 23 Aug 2017 07:33:23 +0000 (09:33 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 27 Jan 2018 20:24:41 +0000 (21:24 +0100)
commit26ca6f7e1e2f0a7dab7f057b55947458ab67d846
tree93aaaabe945a1dee0ee79dfd7ccb28309680a258
parent958c4c26fb2ae3e318a4c850f82ef7035e970fe8
Bug fixes and tests for nvcc

Feature: Added cuda compiler in separate travis job and implemented
         tests for nvcc.

Feature: Added support for nvcc compiler options --compiler-bindir/-ccbin,
         --output-directory/-odir and --libdevice-directory/-ldir.
         Added tests for these options in test.sh.

Bug fix: Original patch had a statement to avoid using the preprocessed
         input files for nvcc when run_second_cpp is false. Otherwise,
         when a build is necessary and the preprocessed output was used,
         nvcc results with a compiler error. The patch simply ensures
         run_second_cpp is always set to true for the cuda compiler.

Bug fix: The -optf and -odir options are only accepted for nvcc. For other
         compilers, they behave like '-o ptf' resp. '-o dir'.
         A test was added to check this behaviour.
.travis.yml
.travis/install_cuda.sh [new file with mode: 0644]
ccache.c
compopt.c
test.sh