cudatoolkit: Don't barf on GCC > 4.9
Blender appears to build/run fine with GCC 5.3.
This commit is contained in:
parent
9fa5c5d461
commit
bd4720a7d6
@ -65,6 +65,9 @@ let
|
|||||||
if [ -d "$out"/cuda-samples ]; then
|
if [ -d "$out"/cuda-samples ]; then
|
||||||
mv "$out"/cuda-samples "$out"/samples
|
mv "$out"/cuda-samples "$out"/samples
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Change the #error on GCC > 4.9 to a #warning.
|
||||||
|
sed -i $out/include/host_config.h -e 's/#error\(.*unsupported GNU version\)/#warning\1/'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user