X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0f9d2241fa2749f5362f6c41dd932f6bb4a9de16..refs/heads/master:/tools/jenkins/gfortran-simgrid.rc diff --git a/tools/jenkins/gfortran-simgrid.rc b/tools/jenkins/gfortran-simgrid.rc index 70c55d8c63..e8ec004ced 100644 --- a/tools/jenkins/gfortran-simgrid.rc +++ b/tools/jenkins/gfortran-simgrid.rc @@ -6,12 +6,12 @@ def getcwd(): prefix=getcwd()+"/install" #Add the condition testing to run tests and includes PyYaml conditions.add("testing") -conditions.add("simulation") #to include simgrid compilation +conditions.add("simulation") #to include SimGrid compilation #List the module the this rcfile will build modules = ['spred',] #example of the potentialities of the python syntax in this file def env_configuration(): - return """--host=x86_64-linux-gnu 'FCFLAGS=-O2 -std=legacy -fopenmp -g -fbounds-check -fbacktrace -ffpe-trap=invalid,zero,overflow,denormal -Wall -fPIC' 'CFLAGS=-O2 -fopenmp -fPIC' 'LDFLAGS=-fopenmp -fPIC' --with-mpi3=false""" + return """--host=x86_64-linux-gnu 'FCFLAGS=-O2 -std=legacy -fopenmp -g -fbounds-check -fbacktrace -ffpe-trap=invalid,zero,overflow,denormal -Wall -fPIC' 'CFLAGS=-O2 -fopenmp -fPIC' 'LDFLAGS=-fopenmp -fPIC' 'CXXFLAGS=-Wall -O2 -g -fPIC' LIBS='-lstdc++' --with-mpi3=false""" #the following command sets the environment variable to give these settings #to all the modules @@ -26,3 +26,6 @@ module_autogenargs.update({ 'bigdft': env_configuration()+ " --enable-simgrid-shared --with-mpi-libs='-lsimgrid' --with-mpi-include=-I"+getcwd()+"/install/include/smpi FC="+getcwd()+"/install/bin/smpif90 CC=gcc SIMGRID_FC="+getcwd()+"/install/bin/smpif90", }) +module_cmakeargs.update({ +'ntpoly': "-DFORTRAN_ONLY=Yes -DCMAKE_Fortran_COMPILER="+getcwd()+"/install/bin/smpif90 -DCMAKE_Fortran_LINK_EXECUTABLE="+getcwd()+"/install/bin/smpif90 -DCMAKE_Fortran_FLAGS_RELEASE='-O3 -fPIC -g -fopenmp -std=legacy'" +})