Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
We need the same gcc of cmake for smpicc.
authorNavarrop <Pierre.Navarro@imag.fr>
Wed, 28 Sep 2011 09:12:49 +0000 (11:12 +0200)
committerNavarrop <Pierre.Navarro@imag.fr>
Wed, 28 Sep 2011 09:12:49 +0000 (11:12 +0200)
src/smpi/smpicc.in

index f0f7128..7a77cba 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/bash
 
 #! /bin/bash
 
-CC="gcc"
+CC=@CMAKE_C_COMPILER@
 CFLAGS="-O2 -Dmain=smpi_simulated_main"
 
 #FIXME: probably only want the last two pairs after 'make install'
 CFLAGS="-O2 -Dmain=smpi_simulated_main"
 
 #FIXME: probably only want the last two pairs after 'make install'