wilicc / gpu-burn

Multi-GPU CUDA stress test
BSD 2-Clause "Simplified" License
1.37k stars 295 forks source link

Update Makefile to allow for a compiler override via CC #19

Closed hintron closed 3 years ago

hintron commented 4 years ago

This commit allows for a compiler override like make CC=g++-7. Newer distros like Ubuntu 19.10 default to GCC 9 and will fail to build without a compiler override.

I tested it when g++ symlinks to g++-7 and plain make is called, and it still works.

wilicc commented 3 years ago

There was another recent Makefile overhaul that I merged which makes this obsolete. Thanks though!